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
Run Class Reference

Class to overlay a run from a ROOT file with. More...

#include <Run.hh>

Collaboration diagram for Run:
Collaboration graph

Public Member Functions

 Run (bool debugIn)
 
 Run (bool debugIn, int dataVersionIn)
 
void SetBranchAddress (TTree *t, bool allBranchesOn=true, const RBDS::VectorString *branchesToTurnOn=nullptr)
 Map the ROOT file to members in this class. More...
 

Data Fields

BDSOutputROOTEventRunInfoInfo
 For backwards compatibiliy. More...
 
BDSOutputROOTEventRunInfoSummary
 Member that ROOT can map file data to locally. More...
 
BDSOutputROOTEventHistogramsHistos
 Member that ROOT can map file data to locally. More...
 

Private Member Functions

 ClassDef (Run, 2)
 

Private Attributes

bool debug
 
int dataVersion
 

Detailed Description

Class to overlay a run from a ROOT file with.

Author
Stewart Boogert

Definition at line 35 of file Run.hh.

Constructor & Destructor Documentation

◆ Run() [1/2]

Run::Run ( bool  debugIn)
explicit

Definition at line 35 of file Run.cc.

◆ Run() [2/2]

Run::Run ( bool  debugIn,
int  dataVersionIn 
)

Definition at line 47 of file Run.cc.

◆ ~Run()

Run::~Run ( )
virtual

Definition at line 60 of file Run.cc.

Member Function Documentation

◆ SetBranchAddress()

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

Map the ROOT file to members in this class.

Definition at line 67 of file Run.cc.

References Histos, Info, and Summary.

Referenced by DataLoader::SetBranchAddress().

Here is the caller graph for this function:

Field Documentation

◆ dataVersion

int Run::dataVersion
private

Definition at line 59 of file Run.hh.

◆ debug

bool Run::debug
private

Definition at line 58 of file Run.hh.

◆ Histos

Member that ROOT can map file data to locally.

Definition at line 52 of file Run.hh.

Referenced by RunAnalysis::Process(), and SetBranchAddress().

◆ Info

For backwards compatibiliy.

Definition at line 55 of file Run.hh.

Referenced by SetBranchAddress().

◆ Summary

Member that ROOT can map file data to locally.

Definition at line 51 of file Run.hh.

Referenced by SetBranchAddress().


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