11 #ifndef HcalSimAlgos_HPDIonFeedbackSim_h
12 #define HcalSimAlgos_HPDIonFeedbackSim_h
24 class HepRandomEngine;
37 double correctPE(
const DetId& detId,
double npe, CLHEP::HepRandomEngine*)
const override;
39 DetId detId,
double signal,
double pedWidth,
bool doThermal,
bool isInGeV, CLHEP::HepRandomEngine*);
HPDIonFeedbackSim(const edm::ParameterSet &, const CaloShapes *shapes)
need a shaper in order to set thermal noise
~HPDIonFeedbackSim() override
double getIonFeedback(DetId detId, double signal, double pedWidth, bool doThermal, bool isInGeV, CLHEP::HepRandomEngine *)
double fCtoGeV(const DetId &detId) const
const HcalDbService * theDbService
void addThermalNoise(CaloSamples &samples, CLHEP::HepRandomEngine *)
double correctPE(const DetId &detId, double npe, CLHEP::HepRandomEngine *) const override
const CaloShapes * theShapes
void setDbService(const HcalDbService *service)