BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Information pertaining to an individual event. More...
#include <BDSOutputROOTEventInfo.hh>
Public Member Functions | |
void | Flush () |
void | Fill (const BDSOutputROOTEventInfo *other) |
Fill from another instance. | |
ClassDef (BDSOutputROOTEventInfo, 7) | |
Data Fields | |
time_t | startTime |
Time stamp at start of event. | |
time_t | stopTime |
Time stamp at end of event. | |
float | durationWall |
Number of seconds event took (wall time) to complete simulation (not writing out). | |
float | durationCPU |
Number of seconds event took (CPU time). | |
std::string | seedStateAtStart |
Seed state at the start of the event. | |
int | index |
Number of this event or run. | |
bool | aborted |
Whether the event was aborted or not. | |
bool | primaryHitMachine |
Whether the primary particle hit the accelerator or not. | |
bool | primaryAbsorbedInCollimator |
Whether the primary stopped in a collimator. | |
double | memoryUsageMb |
Memory usage (rusage.ru_maxrss). | |
double | energyDeposited |
Total energy deposited in machine (not world or tunnel). | |
double | energyDepositedVacuum |
Total energy deposited in vacuum volumes. | |
double | energyDepositedWorld |
Total energy deposited in the world for this event. | |
double | energyDepositedWorldContents |
Total energy deposited in the world contents for this event. | |
double | energyDepositedTunnel |
Total energy deposited in the tunnel for this event. | |
double | energyWorldExit |
Total energy leaving the world. | |
double | energyWorldExitKinetic |
Total kinetic energy leaving the world. | |
double | energyImpactingAperture |
Total energy impacting the aperture. | |
double | energyImpactingApertureKinetic |
Total kinetic energy impacting the aperture. | |
double | energyKilled |
Total energy of killed particles that weren't in a sensitive volume. | |
double | energyTotal |
Sum of above 5 variables that totals all energy. | |
int | nCollimatorsInteracted |
Number of collimators primary interacted with. | |
long long int | nTracks |
Number of tracks in the event. | |
int | bunchIndex |
Bunch index for this event. | |
Information pertaining to an individual event.
Definition at line 34 of file BDSOutputROOTEventInfo.hh.
|
virtual |
Definition at line 51 of file BDSOutputROOTEventInfo.cc.
void BDSOutputROOTEventInfo::Fill | ( | const BDSOutputROOTEventInfo * | other | ) |
Fill from another instance.
Definition at line 82 of file BDSOutputROOTEventInfo.cc.
References aborted, bunchIndex, durationCPU, durationWall, energyDeposited, energyDepositedTunnel, energyDepositedVacuum, energyDepositedWorld, energyDepositedWorldContents, energyImpactingAperture, energyImpactingApertureKinetic, energyKilled, energyTotal, energyWorldExit, energyWorldExitKinetic, index, memoryUsageMb, nCollimatorsInteracted, nTracks, primaryAbsorbedInCollimator, primaryHitMachine, seedStateAtStart, startTime, and stopTime.
Referenced by Event::Fill().
void BDSOutputROOTEventInfo::Flush | ( | ) |
Definition at line 54 of file BDSOutputROOTEventInfo.cc.
bool BDSOutputROOTEventInfo::aborted |
Whether the event was aborted or not.
Definition at line 43 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetAborted().
int BDSOutputROOTEventInfo::bunchIndex |
Bunch index for this event.
Definition at line 60 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetBunchIndex().
float BDSOutputROOTEventInfo::durationCPU |
Number of seconds event took (CPU time).
Definition at line 40 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetDurationCPU().
float BDSOutputROOTEventInfo::durationWall |
Number of seconds event took (wall time) to complete simulation (not writing out).
Definition at line 39 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetDurationWall().
double BDSOutputROOTEventInfo::energyDeposited |
Total energy deposited in machine (not world or tunnel).
Definition at line 47 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyDepositedTunnel |
Total energy deposited in the tunnel for this event.
Definition at line 51 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyDepositedVacuum |
Total energy deposited in vacuum volumes.
Definition at line 48 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyDepositedWorld |
Total energy deposited in the world for this event.
Definition at line 49 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyDepositedWorldContents |
Total energy deposited in the world contents for this event.
Definition at line 50 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyImpactingAperture |
Total energy impacting the aperture.
Definition at line 54 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyImpactingApertureKinetic |
Total kinetic energy impacting the aperture.
Definition at line 55 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyKilled |
Total energy of killed particles that weren't in a sensitive volume.
Definition at line 56 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyTotal |
Sum of above 5 variables that totals all energy.
Definition at line 57 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyWorldExit |
Total energy leaving the world.
Definition at line 52 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
double BDSOutputROOTEventInfo::energyWorldExitKinetic |
Total kinetic energy leaving the world.
Definition at line 53 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
int BDSOutputROOTEventInfo::index |
Number of this event or run.
Definition at line 42 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetIndex().
double BDSOutputROOTEventInfo::memoryUsageMb |
Memory usage (rusage.ru_maxrss).
Definition at line 46 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetMemoryUsage().
int BDSOutputROOTEventInfo::nCollimatorsInteracted |
Number of collimators primary interacted with.
Definition at line 58 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSOutput::FillEventInfo().
long long int BDSOutputROOTEventInfo::nTracks |
Number of tracks in the event.
Definition at line 59 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetNTracks().
bool BDSOutputROOTEventInfo::primaryAbsorbedInCollimator |
Whether the primary stopped in a collimator.
Definition at line 45 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetPrimaryAbsorbedInCollimator().
bool BDSOutputROOTEventInfo::primaryHitMachine |
Whether the primary particle hit the accelerator or not.
Definition at line 44 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetPrimaryHitMachine().
std::string BDSOutputROOTEventInfo::seedStateAtStart |
Seed state at the start of the event.
Definition at line 41 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), BDSOutputLoader::SeedState(), and BDSEventInfo::SetSeedStateAtStart().
time_t BDSOutputROOTEventInfo::startTime |
Time stamp at start of event.
Definition at line 37 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetStartTime().
time_t BDSOutputROOTEventInfo::stopTime |
Time stamp at end of event.
Definition at line 38 of file BDSOutputROOTEventInfo.hh.
Referenced by Fill(), and BDSEventInfo::SetStopTime().