1 #ifndef CastorSim_CastorHitCorrection_h
2 #define CastorSim_CastorHitCorrection_h
double timeOfFlight(const DetId &id) const
simple average approximation
virtual void correct(PCaloHit &hit) const
applies the delay to the hit
int timeBin(const PCaloHit &hit) const
which time bin the peak of the signal will fall in
void fillChargeSums(MixCollection< PCaloHit > &hits)
double delay(const PCaloHit &hit) const
how much delay this hit will get
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]