|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef LArSimEvent_LArHit_h
16 #define LArSimEvent_LArHit_h
18 #include "Identifier/Identifier.h"
90 m_time( (l_time*l_energy) )
124 {
return m_ID <
h->m_ID; }
129 {
return m_ID ==
h->m_ID; }
149 #endif // LArSimEvent_LArHit_h
LArHit()
Default constructor for persistency.
void finalize()
The method to be called at the end of event by SD.
double m_time
time (in ns)
Identifier cellID() const
void Add(LArHit *const &h)
Add another hit ot this hit.
Class to store hit energy and time in LAr cell from G4 simulation.
Wrapper to avoid constant divisions when using units.
bool Equals(LArHit *const &h) const
Operator Equals this.
Identifier m_ID
identifier of the cell in which this hit occured.
double m_energy
energy (in MeV) deposited in this hit
bool Less(LArHit *const &h) const
Operator Less than this for hit ordering.