1 #ifndef CastorSim_CastorHitCorrection_h
2 #define CastorSim_CastorHitCorrection_h
18 class HepRandomEngine;
double timeOfFlight(const DetId &id) const
simple average approximation
virtual double delay(const PCaloHit &hit, CLHEP::HepRandomEngine *) const
how much delay this hit will get
int timeBin(const PCaloHit &hit) const
which time bin the peak of the signal will fall in
void fillChargeSums(MixCollection< PCaloHit > &hits)
std::map< DetId, double > ChargeSumsByChannel
CastorHitCorrection(const CaloVSimParameterMap *parameterMap)
virtual ~CastorHitCorrection()
const CaloVSimParameterMap * theParameterMap
double charge(const PCaloHit &hit) const
how much charge we expect from this hit
ChargeSumsByChannel theChargeSumsForTimeBin[10]