k4SimGeant4
|
Data structure to hold the geant4 output in the Tracker. More...
#include <SimG4Common/include/SimG4Common/Geant4PreDigiTrackHit.h>
Public Member Functions | |
Geant4PreDigiTrackHit () | |
Default constructor. | |
Geant4PreDigiTrackHit (unsigned int aTrackId, int aPdgId, double aEnergyDeposit, double aTime) | |
Constructor setting some members. | |
virtual | ~Geant4PreDigiTrackHit () |
G4int | operator== (const Geant4PreDigiTrackHit &) const |
comparison operator | |
void * | operator new (size_t) |
new operator needed for g4 memory allocation | |
void | operator delete (void *) |
delete operator needed for g4 memory allocation | |
virtual void | Draw () |
method from base class, unused | |
virtual void | Print () |
method from base class, unused | |
Public Attributes | |
CLHEP::Hep3Vector | prePos |
the pre-step position of the step in which energy was deposited | |
CLHEP::Hep3Vector | postPos |
the post-step position of the step in which energy was deposited | |
unsigned long | cellID |
the DD4hep cellID of the volume in which the energy was deposited | |
unsigned int | trackId |
the g4 trackId of the particle that deposited the energy | |
int | pdgId |
the particle data group identification code for the particle | |
double | energyDeposit |
the energy deposited in the material during the step | |
double | time |
the time coordinate of the energy deposit | |
Data structure to hold the geant4 output in the Tracker.
It provides members to hold both the post- and pre-step position of the step in the sensitive volume. Note that this often, but not necessarily corresponds to the entry - and exit point in the sensitive volume. It is possible that Geant will take several steps even in a thin volume such as the tracker module silicon.
k4::Geant4PreDigiTrackHit::Geant4PreDigiTrackHit | ( | ) |
Default constructor.
k4::Geant4PreDigiTrackHit::Geant4PreDigiTrackHit | ( | unsigned int | aTrackId, |
int | aPdgId, | ||
double | aEnergyDeposit, | ||
double | aTime ) |
Constructor setting some members.
|
virtual |
|
inlinevirtual |
method from base class, unused
|
inline |
delete operator needed for g4 memory allocation
|
inline |
new operator needed for g4 memory allocation
G4int k4::Geant4PreDigiTrackHit::operator== | ( | const Geant4PreDigiTrackHit & | right | ) | const |
comparison operator
|
inlinevirtual |
method from base class, unused
unsigned long k4::Geant4PreDigiTrackHit::cellID |
the DD4hep cellID of the volume in which the energy was deposited
double k4::Geant4PreDigiTrackHit::energyDeposit |
the energy deposited in the material during the step
int k4::Geant4PreDigiTrackHit::pdgId |
the particle data group identification code for the particle
CLHEP::Hep3Vector k4::Geant4PreDigiTrackHit::postPos |
the post-step position of the step in which energy was deposited
CLHEP::Hep3Vector k4::Geant4PreDigiTrackHit::prePos |
the pre-step position of the step in which energy was deposited
double k4::Geant4PreDigiTrackHit::time |
the time coordinate of the energy deposit
unsigned int k4::Geant4PreDigiTrackHit::trackId |
the g4 trackId of the particle that deposited the energy