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; }
Wrapper to avoid constant divisions when using units.
Header file for AthHistogramAlgorithm.
double m_time
time (in ns)
void Add(LArHit *const &h)
Add another hit ot this hit.
bool Equals(LArHit *const &h) const
Operator Equals this.
LArHit(Identifier l_cell, double l_energy, double l_time)
LArHit Constructor.
Identifier m_ID
identifier of the cell in which this hit occured.
bool Less(LArHit *const &h) const
Operator Less than this for hit ordering.
LArHit()
Default constructor for persistency.
Identifier cellID() const
void finalize()
The method to be called at the end of event by SD.
double m_energy
energy (in MeV) deposited in this hit