![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Utility class describing the monte carlo contribution of a given particle to a hit. More...
#include <Geant4Data.h>
Public Member Functions | |
| MonteCarloContrib ()=default | |
| Default constructor. More... | |
| MonteCarloContrib (const MonteCarloContrib &c)=default | |
| Copy constructor. More... | |
| MonteCarloContrib (MonteCarloContrib &&c)=default | |
| Move constructor. More... | |
| MonteCarloContrib (int track_id, int pdg, double dep, double time_stamp, double len, float *pos, float *mom) | |
| Initializing constructor. More... | |
| MonteCarloContrib (int track_id, int pdg, double dep, double time_stamp, double len, double *pos, double *mom) | |
| Initializing constructor. More... | |
| MonteCarloContrib (int track_id, int pdg, double dep, double time_stamp, double len, const Position &pos, const Direction &mom) | |
| Initializing constructor. More... | |
| MonteCarloContrib & | operator= (MonteCarloContrib &&c)=default |
| Assignment operator (move) More... | |
| MonteCarloContrib & | operator= (const MonteCarloContrib &c)=default |
| Assignment operator (copy) More... | |
| void | clear () |
| Clear data content. More... | |
| Position | position () const |
| Access position. More... | |
| void | setPosition (const Position &pos) |
| Set position of the contribution. More... | |
| void | setPosition (double pos_x, double pos_y, double pos_z) |
| Set position of the contribution. More... | |
| Direction | momentum () const |
| Access momentum. More... | |
| void | setMomentum (const Direction &dir) |
| Set memonetum of the contribution. More... | |
| void | setMomentum (double mom_x, double mom_y, double mom_z) |
| Set memonetum of the contribution. More... | |
Public Attributes | |
| int | trackID = -1 |
| Geant 4 Track identifier. More... | |
| int | pdgID = -1 |
| Particle ID from the PDG table. More... | |
| double | deposit = 0.0 |
| Total energy deposit in this hit. More... | |
| double | time |
| Timestamp when this energy was deposited. More... | |
| double | length = 0.0 |
| Length of this step. More... | |
| float | x = 0.0 |
| Proper position of the hit contribution. More... | |
| float | y = 0.0 |
| float | z = 0.0 |
| float | px = 0.0 |
| Proper particle momentum when generating the hit of the contributing particle. More... | |
| float | py = 0.0 |
| float | pz = 0.0 |
Utility class describing the monte carlo contribution of a given particle to a hit.
Definition at line 138 of file Geant4Data.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
Initializing constructor.
Definition at line 168 of file Geant4Data.h.
|
inline |
Initializing constructor.
Definition at line 174 of file Geant4Data.h.
|
inline |
Initializing constructor.
Definition at line 181 of file Geant4Data.h.
|
inline |
Clear data content.
Definition at line 192 of file Geant4Data.h.
|
inline |
Access momentum.
Definition at line 215 of file Geant4Data.h.
|
default |
Assignment operator (copy)
|
default |
Assignment operator (move)
|
inline |
Access position.
Definition at line 199 of file Geant4Data.h.
|
inline |
Set memonetum of the contribution.
Definition at line 219 of file Geant4Data.h.
|
inline |
Set memonetum of the contribution.
Definition at line 225 of file Geant4Data.h.
|
inline |
Set position of the contribution.
Definition at line 203 of file Geant4Data.h.
|
inline |
Set position of the contribution.
Definition at line 209 of file Geant4Data.h.
| double dd4hep::sim::Geant4HitData::MonteCarloContrib::deposit = 0.0 |
Total energy deposit in this hit.
Definition at line 145 of file Geant4Data.h.
| double dd4hep::sim::Geant4HitData::MonteCarloContrib::length = 0.0 |
Length of this step.
Definition at line 149 of file Geant4Data.h.
| int dd4hep::sim::Geant4HitData::MonteCarloContrib::pdgID = -1 |
Particle ID from the PDG table.
Definition at line 143 of file Geant4Data.h.
| float dd4hep::sim::Geant4HitData::MonteCarloContrib::px = 0.0 |
Proper particle momentum when generating the hit of the contributing particle.
Definition at line 153 of file Geant4Data.h.
| float dd4hep::sim::Geant4HitData::MonteCarloContrib::py = 0.0 |
Definition at line 153 of file Geant4Data.h.
| float dd4hep::sim::Geant4HitData::MonteCarloContrib::pz = 0.0 |
Definition at line 153 of file Geant4Data.h.
| double dd4hep::sim::Geant4HitData::MonteCarloContrib::time |
Timestamp when this energy was deposited.
Definition at line 147 of file Geant4Data.h.
| int dd4hep::sim::Geant4HitData::MonteCarloContrib::trackID = -1 |
Geant 4 Track identifier.
Definition at line 141 of file Geant4Data.h.
| float dd4hep::sim::Geant4HitData::MonteCarloContrib::x = 0.0 |
Proper position of the hit contribution.
Definition at line 151 of file Geant4Data.h.
| float dd4hep::sim::Geant4HitData::MonteCarloContrib::y = 0.0 |
Definition at line 151 of file Geant4Data.h.
| float dd4hep::sim::Geant4HitData::MonteCarloContrib::z = 0.0 |
Definition at line 151 of file Geant4Data.h.
1.8.18