12 #ifndef HcalSimAlgos_HPDIonFeedbackSim_h
13 #define HcalSimAlgos_HPDIonFeedbackSim_h
22 #include "CLHEP/Random/RandBinomial.h"
23 #include "CLHEP/Random/RandFlat.h"
24 #include "CLHEP/Random/RandGaussQ.h"
25 #include "CLHEP/Random/RandPoissonQ.h"
42 double getIonFeedback(
DetId detId,
double signal,
double pedWidth,
bool doThermal,
bool isInGeV);
void addThermalNoise(CaloSamples &samples)
void setShape(const CaloVShape *shape)
need a shaper in order to set thermal noise
CLHEP::RandGaussQ * theRandGauss
double fCtoGeV(const DetId &detId) const
CLHEP::RandFlat * theRandFlat
HPDIonFeedbackSim(const edm::ParameterSet &)
Electronic response of the preamp.
const HcalDbService * theDbService
virtual double correctPE(const DetId &detId, double npe) const
void setRandomEngine(CLHEP::HepRandomEngine &engine)
CLHEP::RandBinomial * theRandBinomial
CLHEP::RandPoissonQ * theRandPoissonQ
const CaloVShape * theShape
void setDbService(const HcalDbService *service)
double getIonFeedback(DetId detId, double signal, double pedWidth, bool doThermal, bool isInGeV)