BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
Options Class Reference

Options loader. More...

#include <Options.hh>

Collaboration diagram for Options:
Collaboration graph

Public Member Functions

 Options (bool debugIn)
 
void SetBranchAddress (TTree *t, bool allBranchesOn=true, const RBDS::VectorString *branchesToTurnOn=nullptr)
 Set the branch addresses to address the contents of the file. More...
 

Data Fields

BDSOutputROOTEventOptionsoptions
 Member that ROOT can map file data to locally. More...
 

Private Member Functions

 ClassDef (Options, 1)
 

Private Attributes

bool debug
 

Detailed Description

Options loader.

Author
Stuart Walker.

Definition at line 35 of file Options.hh.

Constructor & Destructor Documentation

◆ Options()

Options::Options ( bool  debugIn)

Definition at line 32 of file Options.cc.

◆ ~Options()

Options::~Options ( )
virtual

Definition at line 38 of file Options.cc.

Member Function Documentation

◆ SetBranchAddress()

void Options::SetBranchAddress ( TTree *  t,
bool  allBranchesOn = true,
const RBDS::VectorString *  branchesToTurnOn = nullptr 
)

Set the branch addresses to address the contents of the file.

Definition at line 43 of file Options.cc.

References options.

Referenced by Compare::Directories(), and DataLoader::SetBranchAddress().

Here is the caller graph for this function:

Field Documentation

◆ debug

bool Options::debug
private

Definition at line 51 of file Options.hh.

◆ options

BDSOutputROOTEventOptions* Options::options

Member that ROOT can map file data to locally.

Definition at line 48 of file Options.hh.

Referenced by Compare::Directories(), EventDisplay::DrawModel(), and SetBranchAddress().


The documentation for this class was generated from the following files: