1 #ifndef CastorSim_CastorHitCorrection_h 2 #define CastorSim_CastorHitCorrection_h 18 class HepRandomEngine;
30 void fillChargeSums(
const std::vector<PCaloHit> &hits);
38 double delay(
const PCaloHit &hit, CLHEP::HepRandomEngine *)
const override;
41 int timeBin(
const PCaloHit &hit)
const;
49 ChargeSumsByChannel theChargeSumsForTimeBin[10];
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
std::map< DetId, double > ChargeSumsByChannel
const CaloVSimParameterMap * theParameterMap
double timeOfFlight(DetId id, const CaloGeometry *geo, bool debug=false)
~CastorHitCorrection() override