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);
HPDIonFeedbackSim(const edm::ParameterSet &, const CaloShapes *shapes)
need a shaper in order to set thermal noise
void addThermalNoise(CaloSamples &samples)
CLHEP::RandGaussQ * theRandGauss
double fCtoGeV(const DetId &detId) const
CLHEP::RandFlat * theRandFlat
const HcalDbService * theDbService
virtual double correctPE(const DetId &detId, double npe) const
void setRandomEngine(CLHEP::HepRandomEngine &engine)
need a shaper in order to set thermal noise
CLHEP::RandBinomial * theRandBinomial
CLHEP::RandPoissonQ * theRandPoissonQ
const CaloShapes * theShapes
void setDbService(const HcalDbService *service)
double getIonFeedback(DetId detId, double signal, double pedWidth, bool doThermal, bool isInGeV)