![]() |
ATLAS Offline Software
|
Class to store hit energy and time in LAr cell from G4 simulation. More...
#include <LArHit.h>
Public Member Functions | |
LArHit (Identifier l_cell, double l_energy, double l_time) | |
LArHit Constructor. More... | |
LArHit () | |
Default constructor for persistency. More... | |
~LArHit () | |
Destructor. More... | |
Identifier | cellID () const |
double | energy () const |
double | time () const |
bool | Less (LArHit *const &h) const |
Operator Less than this for hit ordering. More... | |
bool | Equals (LArHit *const &h) const |
Operator Equals this. More... | |
void | Add (LArHit *const &h) |
Add another hit ot this hit. More... | |
void | finalize () |
The method to be called at the end of event by SD. More... | |
Private Attributes | |
Identifier | m_ID |
identifier of the cell in which this hit occured. More... | |
double | m_energy |
energy (in MeV) deposited in this hit More... | |
double | m_time |
time (in ns) More... | |
Class to store hit energy and time in LAr cell from G4 simulation.
|
inline |
LArHit Constructor.
inlines
[in] | l_cell | Identifier of the cell in which the hit occured. |
[in] | l_energy | Energy (in MeV) deposited in the cell. |
[in] | l_time | Time (in ns) of the hit. energy and time should be double in transient memory to have proper rounding accuracy in accumulating sum(E) and sum(E.t) from G4 steps |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |