|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #ifndef TILESIMEVENT_TILESIMHIT_H
23 #define TILESIMEVENT_TILESIMHIT_H
25 #include "Identifier/Identifier.h"
67 #endif //TILESIMEVENT_TILESIMHIT_H
~TileSimHit()
Default destructor.
Identifier m_pmt_id
Logical ID of the pmt
std::vector< double > m_energy
Energy deposited in scint, as seen by pmt in sepatate time bins
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.
std::vector< double > m_time
Time of the energy deposition relative to BC
double time(int ind=0) const
Return time of ind-th sub-hit
Identifier identify(void) const
Return logical ID of the pmt.
double energy(int ind=0) const
Return energy of ind-th sub-hit
int size(void) const
Return length of energy/time vectors
TileSimHit()
Default constructor needed for POOL.