Class to store hit energy and time in LAr cell from G4 simulation.
More...
#include <LArHitFloat.h>
Class to store hit energy and time in LAr cell from G4 simulation.
Definition at line 14 of file LArHitFloat.h.
◆ LArHitFloat() [1/2]
LArHitFloat::LArHitFloat |
( |
Identifier |
l_cell, |
|
|
float |
l_energy, |
|
|
float |
l_time |
|
) |
| |
|
inline |
LArHitFloat Constructor.
inlines
- Parameters
-
[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 |
Definition at line 64 of file LArHitFloat.h.
◆ LArHitFloat() [2/2]
LArHitFloat::LArHitFloat |
( |
| ) |
|
|
inline |
◆ ~LArHitFloat()
LArHitFloat::~LArHitFloat |
( |
| ) |
|
|
inline |
◆ cellID()
- Returns
- cell identifier of this hit
Definition at line 86 of file LArHitFloat.h.
◆ energy()
float LArHitFloat::energy |
( |
| ) |
const |
|
inline |
- Returns
- energy in MeV of this hit
Definition at line 91 of file LArHitFloat.h.
◆ time()
float LArHitFloat::time |
( |
| ) |
const |
|
inline |
- Returns
- time in ns of this hit
Time is defined as the g4 time minus the time of flight at speed of light from the center of Atlas
Definition at line 96 of file LArHitFloat.h.
◆ m_energy
float LArHitFloat::m_energy |
|
private |
energy (in MeV) deposited in this hit
Definition at line 54 of file LArHitFloat.h.
◆ m_ID
identifier of the cell in which this hit occured.
Definition at line 51 of file LArHitFloat.h.
◆ m_time
float LArHitFloat::m_time |
|
private |
The documentation for this class was generated from the following file: