10 std::cout <<
"SimTrackerHit { "
11 <<
"id: " <<
id_ <<
", "
14 <<
"position: ( " <<
x_ <<
", " <<
y_ <<
", " <<
z_ <<
" ), "
15 <<
"edep: " <<
edep_ <<
", "
16 <<
"time: " <<
time_ <<
", "
17 <<
"momentum: ( " <<
px_ <<
", " <<
py_ <<
", " <<
pz_ <<
" )"
Class which encapsulates information from a hit in a simulated tracking detector.
Represents a simulated tracker hit in the simulation.
float pathLength_
The path length of the hit.
int trackID_
The Sim Track ID.
float time_
The global time of the hit.
float edep_
The energy deposited on the hit.
int layerID_
The layer ID.
void Clear()
Reset the SimTrackerHit object.
void setPosition(const float x, const float y, const float z)
Set the position of the hit [mm].
int pdgID_
The Sim PDG ID.
virtual ~SimTrackerHit()
Class destructor.
void Print() const
Print a description of this object.
float energy_
The total energy.
int moduleID_
The module ID.
void setMomentum(const float px, const float py, const float pz)
Set the momentum of the particle at the position at which the hit took place [GeV].