|
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 <BDSOutputROOTEventLoss.hh>


Public Member Functions | |
| void | Fill (const BDSOutputROOTEventLoss *other) |
| Fill from another instance. | |
| virtual void | Flush () |
| void | FlushLocal () |
| Non-virtual function for initialising / clearing variables. | |
| BDSOutputROOTEventLoss (bool storeTurnIn, bool storeLinksIn, bool storeModleIDIn, bool storeLocalIn, bool storeGobalIn, bool storeTimeIn, bool storeStepLengthIn, bool storePreStepKineticEnergyIn, bool storePhysicsProcessesIn) | |
| void | Fill (const BDSTrajectoryPointHit *hit) |
| void | Fill (const BDSHitEnergyDeposition *hit) |
| ClassDef (BDSOutputROOTEventLoss, 5) | |
Data Fields | |
| int | n |
| Number of entries. | |
| std::vector< float > | energy |
| Energy deposited in step. | |
| std::vector< float > | S |
| Global curvilinear S coordinate. | |
| std::vector< float > | weight |
| Weight associated with loss. | |
| 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< int > | modelID |
| Geometry model index. | |
| std::vector< int > | turn |
| Turn number. | |
| 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< float > | stepLength |
| Step length taken for hit. | |
| std::vector< float > | preStepKineticEnergy |
| Kinetic energy in GeV at pre step point. | |
| std::vector< int > | postStepProcessType |
| std::vector< int > | postStepProcessSubType |
| bool | storeTurn = false |
| Store turn number. | |
| bool | storeLinks = false |
| Whether to store links between Eloss and model and trajectors. | |
| bool | storeModelID = false |
| Whether to store the beam line index. | |
| bool | storeLocal = false |
| Whether to store local coordinates. | |
| bool | storeGlobal = false |
| Whether to store global coordinates. | |
| bool | storeTime = false |
| Whether to store global time. | |
| bool | storeStepLength = false |
| Whether to store step length. | |
| bool | storePreStepKineticEnergy = false |
| Whether to store pre step kinetic energy. | |
| bool | storePhysicsProcesses = false |
| std::vector< float > | x |
| Local coordinate. | |
| std::vector< float > | y |
| Local coordinate. | |
| std::vector< float > | z |
| Local coordinate. | |
Data stored for energy deposition hits per event.
Definition at line 38 of file BDSOutputROOTEventLoss.hh.
|
virtual |
Definition at line 72 of file BDSOutputROOTEventLoss.cc.
| void BDSOutputROOTEventLoss::Fill | ( | const BDSHitEnergyDeposition * | hit | ) |
Definition at line 123 of file BDSOutputROOTEventLoss.cc.
| void BDSOutputROOTEventLoss::Fill | ( | const BDSOutputROOTEventLoss * | other | ) |
Fill from another instance.
Definition at line 174 of file BDSOutputROOTEventLoss.cc.
References energy, modelID, n, parentID, partID, preStepKineticEnergy, S, stepLength, T, trackID, turn, weight, x, y, and z.
Referenced by Event::Fill(), BDSOutput::FillEnergyLoss(), BDSOutput::FillPrimaryHit(), and BDSOutput::FillPrimaryLoss().

| void BDSOutputROOTEventLoss::Fill | ( | const BDSTrajectoryPointHit * | hit | ) |
Definition at line 77 of file BDSOutputROOTEventLoss.cc.
|
virtual |
Definition at line 200 of file BDSOutputROOTEventLoss.cc.
| void BDSOutputROOTEventLoss::FlushLocal | ( | ) |
| std::vector<float> BDSOutputROOTEventLoss::energy |
Energy deposited in step.
Definition at line 45 of file BDSOutputROOTEventLoss.hh.
Referenced by EventDisplay::DrawTunnelHits(), Fill(), and FlushLocal().
| std::vector<int> BDSOutputROOTEventLoss::modelID |
Geometry model index.
Definition at line 53 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| int BDSOutputROOTEventLoss::n |
Number of entries.
Definition at line 44 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<int> BDSOutputROOTEventLoss::parentID |
ParentID that created the deposit.
Definition at line 51 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<int> BDSOutputROOTEventLoss::partID |
ParticleID that create the deposit.
Definition at line 49 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<int> BDSOutputROOTEventLoss::postStepProcessSubType |
Definition at line 74 of file BDSOutputROOTEventLoss.hh.
| std::vector<int> BDSOutputROOTEventLoss::postStepProcessType |
Definition at line 73 of file BDSOutputROOTEventLoss.hh.
| std::vector<float> BDSOutputROOTEventLoss::preStepKineticEnergy |
Kinetic energy in GeV at pre step point.
Definition at line 71 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::S |
Global curvilinear S coordinate.
Definition at line 46 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::stepLength |
Step length taken for hit.
Definition at line 70 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| bool BDSOutputROOTEventLoss::storeGlobal = false |
Whether to store global coordinates.
Definition at line 99 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storeLinks = false |
Whether to store links between Eloss and model and trajectors.
Definition at line 96 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storeLocal = false |
Whether to store local coordinates.
Definition at line 98 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storeModelID = false |
Whether to store the beam line index.
Definition at line 97 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storePhysicsProcesses = false |
Definition at line 103 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storePreStepKineticEnergy = false |
Whether to store pre step kinetic energy.
Definition at line 102 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storeStepLength = false |
Whether to store step length.
Definition at line 101 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storeTime = false |
Whether to store global time.
Definition at line 100 of file BDSOutputROOTEventLoss.hh.
| bool BDSOutputROOTEventLoss::storeTurn = false |
Store turn number.
Definition at line 95 of file BDSOutputROOTEventLoss.hh.
| std::vector<float> BDSOutputROOTEventLoss::T |
Global time (time since beginning of event).
Definition at line 68 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<int> BDSOutputROOTEventLoss::trackID |
TrackID that created the deposit.
Definition at line 50 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<int> BDSOutputROOTEventLoss::turn |
Turn number.
Definition at line 54 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::weight |
Weight associated with loss.
Definition at line 47 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::x |
Local coordinate.
Definition at line 57 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::X |
Definition at line 63 of file BDSOutputROOTEventLoss.hh.
| std::vector<float> BDSOutputROOTEventLoss::y |
Local coordinate.
Definition at line 58 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::Y |
Definition at line 64 of file BDSOutputROOTEventLoss.hh.
| std::vector<float> BDSOutputROOTEventLoss::z |
Local coordinate.
Definition at line 59 of file BDSOutputROOTEventLoss.hh.
Referenced by Fill(), and FlushLocal().
| std::vector<float> BDSOutputROOTEventLoss::Z |
Definition at line 65 of file BDSOutputROOTEventLoss.hh.