1 #ifndef HcalSimAlgos_HcalHitCorrection_h
2 #define HcalSimAlgos_HcalHitCorrection_h
15 #include "CLHEP/Random/RandGaussQ.h"
HcalHitCorrection(const CaloVSimParameterMap *parameterMap)
virtual void correct(PCaloHit &hit) const
applies the delay to the hit
CLHEP::RandGaussQ * theRandGaussQ
virtual ~HcalHitCorrection()
void setRandomEngine(CLHEP::HepRandomEngine &engine)
int timeBin(const PCaloHit &hit) const
which time bin the peak of the signal will fall in
std::map< DetId, double > ChargeSumsByChannel
double delay(const PCaloHit &hit) const
how much delay this hit will get
void fillChargeSums(MixCollection< PCaloHit > &hits)
ChargeSumsByChannel theChargeSumsForTimeBin[10]
double timeOfFlight(const DetId &id) const
simple average approximation
double charge(const PCaloHit &hit) const
how much charge we expect from this hit
const CaloVSimParameterMap * theParameterMap