BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Data stored for world hits per event. More...
#include <BDSOutputROOTEventLossWorld.hh>
Public Member Functions | |
void | Fill (const BDSHitEnergyDepositionGlobal *hit) |
void | Fill (const BDSOutputROOTEventLossWorld *other) |
Fill from another instance. | |
virtual void | Flush () |
ClassDef (BDSOutputROOTEventLossWorld, 1) | |
Data Fields | |
int | n = 0 |
Number of entries. | |
std::vector< float > | totalEnergy |
Energy deposited in step. | |
std::vector< float > | preStepKineticEnergy |
Kinetic energy in GeV at pre step point. | |
std::vector< float > | postStepKineticEnergy |
Kinetic energy in GeV at post step point. | |
std::vector< float > | stepLength |
Step length. | |
std::vector< float > | X |
std::vector< float > | Y |
std::vector< float > | Z |
std::vector< float > | T |
Global time (time since beginning of event). | |
std::vector< int > | partID |
ParticleID that create the deposit. | |
std::vector< int > | trackID |
TrackID that created the deposit. | |
std::vector< int > | parentID |
ParentID that created the deposit. | |
std::vector< float > | weight |
Weight. | |
std::vector< int > | turn |
Turn number. | |
Data stored for world hits per event.
These are for loss hits that have no concept of S or curvilinear coordinates.
Definition at line 39 of file BDSOutputROOTEventLossWorld.hh.
|
virtual |
Definition at line 33 of file BDSOutputROOTEventLossWorld.cc.
void BDSOutputROOTEventLossWorld::Fill | ( | const BDSHitEnergyDepositionGlobal * | hit | ) |
Definition at line 37 of file BDSOutputROOTEventLossWorld.cc.
void BDSOutputROOTEventLossWorld::Fill | ( | const BDSOutputROOTEventLossWorld * | other | ) |
Fill from another instance.
Definition at line 56 of file BDSOutputROOTEventLossWorld.cc.
References n, parentID, partID, postStepKineticEnergy, preStepKineticEnergy, stepLength, T, totalEnergy, trackID, turn, and weight.
|
virtual |
Definition at line 77 of file BDSOutputROOTEventLossWorld.cc.
int BDSOutputROOTEventLossWorld::n = 0 |
Number of entries.
Definition at line 42 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<int> BDSOutputROOTEventLossWorld::parentID |
ParentID that created the deposit.
Definition at line 57 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<int> BDSOutputROOTEventLossWorld::partID |
ParticleID that create the deposit.
Definition at line 55 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<float> BDSOutputROOTEventLossWorld::postStepKineticEnergy |
Kinetic energy in GeV at post step point.
Definition at line 45 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<float> BDSOutputROOTEventLossWorld::preStepKineticEnergy |
Kinetic energy in GeV at pre step point.
Definition at line 44 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<float> BDSOutputROOTEventLossWorld::stepLength |
std::vector<float> BDSOutputROOTEventLossWorld::T |
Global time (time since beginning of event).
Definition at line 54 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<float> BDSOutputROOTEventLossWorld::totalEnergy |
Energy deposited in step.
Definition at line 43 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<int> BDSOutputROOTEventLossWorld::trackID |
TrackID that created the deposit.
Definition at line 56 of file BDSOutputROOTEventLossWorld.hh.
Referenced by Fill().
std::vector<int> BDSOutputROOTEventLossWorld::turn |
std::vector<float> BDSOutputROOTEventLossWorld::weight |
std::vector<float> BDSOutputROOTEventLossWorld::X |
Definition at line 49 of file BDSOutputROOTEventLossWorld.hh.
std::vector<float> BDSOutputROOTEventLossWorld::Y |
Definition at line 50 of file BDSOutputROOTEventLossWorld.hh.
std::vector<float> BDSOutputROOTEventLossWorld::Z |
Definition at line 51 of file BDSOutputROOTEventLossWorld.hh.