BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Loader of ROOT Event output for receating events. More...
#include <BDSOutputLoaderSampler.hh>
Public Member Functions | |
BDSOutputLoaderSampler (const G4String &filePath, const G4String &samplerName) | |
const BDSOutputROOTEventSampler< float > * | SamplerDataFloat (G4long eventNumber=0) |
const BDSOutputROOTEventSampler< double > * | SamplerDataDouble (G4long eventNumber=0) |
G4bool | DoublePrecision () const |
G4long | NEventsInFile () const |
BDSOutputLoaderSampler (const BDSOutputLoaderSampler &)=delete | |
BDSOutputLoaderSampler & | operator= (const BDSOutputLoaderSampler &)=delete |
![]() | |
BDSOutputLoader (const G4String &filePath) | |
G4int | DataVersion () const |
unsigned long long int | NOriginalEvents () const |
GMAD::OptionsBase | OptionsBaseClass () |
GMAD::Options | Options () |
GMAD::BeamBase | BeamBaseClass () |
GMAD::Beam | Beam () |
G4String | SeedState (G4int eventNumber=0) |
Access the seed state for a given event index in the file (0 counting). | |
Private Member Functions | |
void | Common (G4long eventNumber) |
Private Attributes | |
G4bool | doublePrecision |
G4long | nEvents |
BDSOutputROOTEventSampler< float > * | localSamplerFloat |
BDSOutputROOTEventSampler< double > * | localSamplerDouble |
Additional Inherited Members | |
![]() | |
TFile * | file |
G4int | dataVersion |
unsigned long long int | nOriginalEvents |
Cache of variable from header. | |
G4bool | badFilePath |
G4bool | rootEventFile |
BDSOutputROOTEventBeam * | localBeam |
BDSOutputROOTEventOptions * | localOptions |
BDSOutputROOTEventInfo * | localEventSummary |
TTree * | beamTree |
TTree * | optionsTree |
TTree * | eventTree |
Loader of ROOT Event output for receating events.
Definition at line 33 of file BDSOutputLoaderSampler.hh.
BDSOutputLoaderSampler::BDSOutputLoaderSampler | ( | const G4String & | filePath, |
const G4String & | samplerName | ||
) |
Definition at line 34 of file BDSOutputLoaderSampler.cc.
|
virtual |
Definition at line 60 of file BDSOutputLoaderSampler.cc.
|
private |
Definition at line 80 of file BDSOutputLoaderSampler.cc.
|
inline |
Definition at line 43 of file BDSOutputLoaderSampler.hh.
|
inline |
Definition at line 44 of file BDSOutputLoaderSampler.hh.
const BDSOutputROOTEventSampler< double > * BDSOutputLoaderSampler::SamplerDataDouble | ( | G4long | eventNumber = 0 | ) |
Definition at line 73 of file BDSOutputLoaderSampler.cc.
const BDSOutputROOTEventSampler< float > * BDSOutputLoaderSampler::SamplerDataFloat | ( | G4long | eventNumber = 0 | ) |
Definition at line 66 of file BDSOutputLoaderSampler.cc.
|
private |
Definition at line 53 of file BDSOutputLoaderSampler.hh.
|
private |
Definition at line 56 of file BDSOutputLoaderSampler.hh.
|
private |
Definition at line 55 of file BDSOutputLoaderSampler.hh.
|
private |
Definition at line 54 of file BDSOutputLoaderSampler.hh.