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

Loader of ROOT Event output for recreating events. More...

#include <BDSOutputLoader.hh>

Inheritance diagram for BDSOutputLoader:
Inheritance graph
Collaboration diagram for BDSOutputLoader:
Collaboration graph

Public Member Functions

 BDSOutputLoader (const G4String &filePath)
 
G4int DataVersion () const
 
GMAD::OptionsBase OptionsBaseClass ()
 
GMAD::Options Options ()
 
GMAD::BeamBase BeamBaseClass ()
 
GMAD::Beam Beam ()
 
G4String SeedState (G4int eventNumber=0)
 

Protected Attributes

TFile * file
 
G4int dataVersion
 
G4bool badFilePath
 
G4bool rootEventFile
 
BDSOutputROOTEventBeamlocalBeam
 
BDSOutputROOTEventOptionslocalOptions
 
BDSOutputROOTEventInfolocalEventSummary
 
TTree * beamTree
 
TTree * optionsTree
 
TTree * eventTree
 

Private Member Functions

 BDSOutputLoader (const BDSOutputLoader &)=delete
 
BDSOutputLoaderoperator= (const BDSOutputLoader &)=delete
 

Detailed Description

Loader of ROOT Event output for recreating events.

Author
Laurie Nevay

Definition at line 43 of file BDSOutputLoader.hh.

Constructor & Destructor Documentation

◆ BDSOutputLoader()

BDSOutputLoader::BDSOutputLoader ( const G4String &  filePath)
explicit

Definition at line 39 of file BDSOutputLoader.cc.

◆ ~BDSOutputLoader()

BDSOutputLoader::~BDSOutputLoader ( )
virtual

Definition at line 97 of file BDSOutputLoader.cc.

Member Function Documentation

◆ Beam()

GMAD::Beam BDSOutputLoader::Beam ( )

Definition at line 113 of file BDSOutputLoader.cc.

◆ BeamBaseClass()

GMAD::BeamBase BDSOutputLoader::BeamBaseClass ( )

Definition at line 105 of file BDSOutputLoader.cc.

◆ DataVersion()

G4int BDSOutputLoader::DataVersion ( ) const
inline

Definition at line 49 of file BDSOutputLoader.hh.

◆ Options()

GMAD::Options BDSOutputLoader::Options ( )

Definition at line 126 of file BDSOutputLoader.cc.

◆ OptionsBaseClass()

GMAD::OptionsBase BDSOutputLoader::OptionsBaseClass ( )

Definition at line 118 of file BDSOutputLoader.cc.

◆ SeedState()

G4String BDSOutputLoader::SeedState ( G4int  eventNumber = 0)

Definition at line 131 of file BDSOutputLoader.cc.

Field Documentation

◆ badFilePath

G4bool BDSOutputLoader::badFilePath
protected

Definition at line 61 of file BDSOutputLoader.hh.

◆ beamTree

TTree* BDSOutputLoader::beamTree
protected

Definition at line 68 of file BDSOutputLoader.hh.

◆ dataVersion

G4int BDSOutputLoader::dataVersion
protected

Definition at line 60 of file BDSOutputLoader.hh.

◆ eventTree

TTree* BDSOutputLoader::eventTree
protected

Definition at line 70 of file BDSOutputLoader.hh.

◆ file

TFile* BDSOutputLoader::file
protected

Definition at line 59 of file BDSOutputLoader.hh.

◆ localBeam

BDSOutputROOTEventBeam* BDSOutputLoader::localBeam
protected

Definition at line 64 of file BDSOutputLoader.hh.

◆ localEventSummary

BDSOutputROOTEventInfo* BDSOutputLoader::localEventSummary
protected

Definition at line 66 of file BDSOutputLoader.hh.

◆ localOptions

BDSOutputROOTEventOptions* BDSOutputLoader::localOptions
protected

Definition at line 65 of file BDSOutputLoader.hh.

◆ optionsTree

TTree* BDSOutputLoader::optionsTree
protected

Definition at line 69 of file BDSOutputLoader.hh.

◆ rootEventFile

G4bool BDSOutputLoader::rootEventFile
protected

Definition at line 62 of file BDSOutputLoader.hh.


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