BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Data stored for energy deposition hits per event. More...
#include <BDSOutputROOTEventAperture.hh>
Public Member Functions | |
void | Fill (const BDSHitApertureImpact *hit, G4bool isPrimaryFirstImpact) |
void | Fill (const BDSOutputROOTEventAperture *other) |
virtual void | Flush () |
void | FlushLocal () |
ClassDef (BDSOutputROOTEventAperture, 1) | |
Data Fields | |
int | n = 0 |
Number of entries. | |
std::vector< float > | energy |
Total energy of particle. | |
std::vector< double > | S |
Global curvilinear S coordinate. | |
std::vector< float > | weight |
Weight associated with loss. | |
std::vector< bool > | isPrimary |
std::vector< bool > | firstPrimaryImpact |
Whether the first time the primary is passing through. | |
std::vector< int > | partID |
ParticleID that create the deposit. | |
std::vector< int > | turn |
Turn number. | |
std::vector< float > | x |
std::vector< float > | y |
std::vector< float > | xp |
std::vector< float > | yp |
std::vector< float > | T |
Global time (time since beginning of event). | |
std::vector< float > | kineticEnergy |
Kinetic energy in GeV at pre step point. | |
std::vector< bool > | isIon |
std::vector< int > | ionA |
std::vector< int > | ionZ |
std::vector< int > | nElectrons |
std::vector< int > | trackID |
TrackID that created the deposit. | |
std::vector< int > | parentID |
ParentID that created the deposit. | |
std::vector< int > | modelID |
Geometry model index. | |
Static Public Attributes | |
static BDSOutputROOTParticleData * | particleTable |
Data stored for energy deposition hits per event.
Definition at line 39 of file BDSOutputROOTEventAperture.hh.
|
virtual |
Definition at line 36 of file BDSOutputROOTEventAperture.cc.
void BDSOutputROOTEventAperture::Fill | ( | const BDSHitApertureImpact * | hit, |
G4bool | isPrimaryFirstImpact | ||
) |
Definition at line 40 of file BDSOutputROOTEventAperture.cc.
void BDSOutputROOTEventAperture::Fill | ( | const BDSOutputROOTEventAperture * | other | ) |
Definition at line 86 of file BDSOutputROOTEventAperture.cc.
|
inlinevirtual |
Definition at line 73 of file BDSOutputROOTEventAperture.hh.
void BDSOutputROOTEventAperture::FlushLocal | ( | ) |
Shouldn't call a virtual function in the constructor so we have a simple version here that doesn't override the one from TObject.
Definition at line 113 of file BDSOutputROOTEventAperture.cc.
References energy, firstPrimaryImpact, kineticEnergy, modelID, n, parentID, partID, S, T, trackID, turn, and weight.
std::vector<float> BDSOutputROOTEventAperture::energy |
Total energy of particle.
Definition at line 43 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<bool> BDSOutputROOTEventAperture::firstPrimaryImpact |
Whether the first time the primary is passing through.
Definition at line 47 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<int> BDSOutputROOTEventAperture::ionA |
Definition at line 57 of file BDSOutputROOTEventAperture.hh.
std::vector<int> BDSOutputROOTEventAperture::ionZ |
Definition at line 58 of file BDSOutputROOTEventAperture.hh.
std::vector<bool> BDSOutputROOTEventAperture::isIon |
Definition at line 56 of file BDSOutputROOTEventAperture.hh.
std::vector<bool> BDSOutputROOTEventAperture::isPrimary |
Definition at line 46 of file BDSOutputROOTEventAperture.hh.
std::vector<float> BDSOutputROOTEventAperture::kineticEnergy |
Kinetic energy in GeV at pre step point.
Definition at line 55 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<int> BDSOutputROOTEventAperture::modelID |
Geometry model index.
Definition at line 63 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
int BDSOutputROOTEventAperture::n = 0 |
Number of entries.
Definition at line 42 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<int> BDSOutputROOTEventAperture::nElectrons |
Definition at line 59 of file BDSOutputROOTEventAperture.hh.
std::vector<int> BDSOutputROOTEventAperture::parentID |
ParentID that created the deposit.
Definition at line 62 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
|
static |
Definition at line 79 of file BDSOutputROOTEventAperture.hh.
std::vector<int> BDSOutputROOTEventAperture::partID |
ParticleID that create the deposit.
Definition at line 48 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<double> BDSOutputROOTEventAperture::S |
Global curvilinear S coordinate.
Definition at line 44 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<float> BDSOutputROOTEventAperture::T |
Global time (time since beginning of event).
Definition at line 54 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<int> BDSOutputROOTEventAperture::trackID |
TrackID that created the deposit.
Definition at line 61 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<int> BDSOutputROOTEventAperture::turn |
Turn number.
Definition at line 49 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<float> BDSOutputROOTEventAperture::weight |
Weight associated with loss.
Definition at line 45 of file BDSOutputROOTEventAperture.hh.
Referenced by FlushLocal().
std::vector<float> BDSOutputROOTEventAperture::x |
Definition at line 50 of file BDSOutputROOTEventAperture.hh.
std::vector<float> BDSOutputROOTEventAperture::xp |
Definition at line 52 of file BDSOutputROOTEventAperture.hh.
std::vector<float> BDSOutputROOTEventAperture::y |
Definition at line 51 of file BDSOutputROOTEventAperture.hh.
std::vector<float> BDSOutputROOTEventAperture::yp |
Definition at line 53 of file BDSOutputROOTEventAperture.hh.