ATLAS Offline Software
|
#include <TileSimHit.h>
Public Member Functions | |
TileSimHit () | |
Default constructor needed for POOL. More... | |
TileSimHit (Identifier &id, double energy, double time, double deltaT) | |
Constructor with time rounding to the center of nearest deltaT bin. More... | |
~TileSimHit () | |
Default destructor. More... | |
int | add (double energy, double time, double deltaT) |
Add sub-hit to a given hit with time rounding to the center of nearest deltaT bin. More... | |
Identifier | identify (void) const |
Return logical ID of the pmt. More... | |
double | energy (int ind=0) const |
Return energy of ind-th sub-hit More... | |
double | time (int ind=0) const |
Return time of ind-th sub-hit More... | |
int | size (void) const |
Return length of energy/time vectors More... | |
Private Attributes | |
Identifier | m_pmt_id |
Logical ID of the pmt More... | |
std::vector< double > | m_energy |
Energy deposited in scint, as seen by pmt in sepatate time bins More... | |
std::vector< double > | m_time |
Time of the energy deposition relative to BC More... | |
Definition at line 30 of file TileSimHit.h.
|
inline |
TileSimHit::TileSimHit | ( | Identifier & | id, |
double | energy, | ||
double | time, | ||
double | deltaT | ||
) |
Constructor with time rounding to the center of nearest deltaT bin.
Definition at line 26 of file TileSimHit.cxx.
|
inline |
int TileSimHit::add | ( | double | energy, |
double | time, | ||
double | deltaT | ||
) |
Add sub-hit to a given hit with time rounding to the center of nearest deltaT bin.
Definition at line 41 of file TileSimHit.cxx.
|
inline |
Return energy of ind-th sub-hit
Definition at line 51 of file TileSimHit.h.
|
inline |
|
inline |
|
inline |
Return time of ind-th sub-hit
Definition at line 53 of file TileSimHit.h.
|
private |
Energy deposited in scint, as seen by pmt in sepatate time bins
Definition at line 62 of file TileSimHit.h.
|
private |
Logical ID of the pmt
Definition at line 60 of file TileSimHit.h.
|
private |
Time of the energy deposition relative to BC
Definition at line 64 of file TileSimHit.h.