BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
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.
 

Data Fields

BDSOutputROOTEventRunInfo * Info
 For backwards compatibiliy.
 
BDSOutputROOTEventRunInfo * Summary
 Member that ROOT can map file data to locally.
 
BDSOutputROOTEventHistograms * Histos
 Member that ROOT can map file data to locally.
 

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 34 of file Run.hh.

Constructor & Destructor Documentation

◆ Run() [1/2]

Run::Run ( bool  debugIn)
explicit

Definition at line 34 of file Run.cc.

◆ Run() [2/2]

Run::Run ( bool  debugIn,
int  dataVersionIn 
)

Definition at line 46 of file Run.cc.

◆ ~Run()

Run::~Run ( )
virtual

Definition at line 59 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 66 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 58 of file Run.hh.

◆ debug

bool Run::debug
private

Definition at line 57 of file Run.hh.

◆ Histos

Member that ROOT can map file data to locally.

Definition at line 51 of file Run.hh.

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

◆ Info

For backwards compatibiliy.

Definition at line 54 of file Run.hh.

Referenced by SetBranchAddress().

◆ Summary

Member that ROOT can map file data to locally.

Definition at line 50 of file Run.hh.

Referenced by SetBranchAddress().


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