#include <HPDIonFeedbackSim.h>
Public Member Functions | |
void | addThermalNoise (CaloSamples &samples, CLHEP::HepRandomEngine *) |
virtual double | correctPE (const DetId &detId, double npe, CLHEP::HepRandomEngine *) const |
double | getIonFeedback (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 More... | |
void | setDbService (const HcalDbService *service) |
~HPDIonFeedbackSim () | |
Public Member Functions inherited from CaloVPECorrection | |
virtual | ~CaloVPECorrection () |
Private Member Functions | |
double | fCtoGeV (const DetId &detId) const |
Private Attributes | |
const HcalDbService * | theDbService |
const CaloShapes * | theShapes |
Definition at line 27 of file HPDIonFeedbackSim.h.
HPDIonFeedbackSim::HPDIonFeedbackSim | ( | const edm::ParameterSet & | iConfig, |
const CaloShapes * | shapes | ||
) |
HPDIonFeedbackSim::~HPDIonFeedbackSim | ( | ) |
Definition at line 37 of file HPDIonFeedbackSim.cc.
void HPDIonFeedbackSim::addThermalNoise | ( | CaloSamples & | samples, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 104 of file HPDIonFeedbackSim.cc.
References correctPE(), mps_fire::i, CaloSamples::id(), hgc_digi::nSamples, CaloShapes::shape(), CaloSamples::size(), and theShapes.
Referenced by HcalAmplifier::amplify().
|
virtual |
Implements CaloVPECorrection.
Definition at line 67 of file HPDIonFeedbackSim.cc.
References createfilelist::int, hpstanc_transforms::max, p4, and pe2Charge.
Referenced by addThermalNoise(), and getIonFeedback().
|
private |
Definition at line 131 of file HPDIonFeedbackSim.cc.
References HcalDbService::getGain(), HcalDbService::getGainWidth(), HcalGain::getValue(), mps_fire::result, and theDbService.
Referenced by getIonFeedback().
double HPDIonFeedbackSim::getIonFeedback | ( | DetId | detId, |
double | signal, | ||
double | pedWidth, | ||
bool | doThermal, | ||
bool | isInGeV, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 41 of file HPDIonFeedbackSim.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, correctPE(), fCtoGeV(), createfilelist::int, and pe2Charge.
|
inline |
Definition at line 35 of file HPDIonFeedbackSim.h.
References hcalTTPDigis_cfi::samples.
Referenced by HcalAmplifier::setDbService().
|
private |
Definition at line 45 of file HPDIonFeedbackSim.h.
Referenced by fCtoGeV().
|
private |
Definition at line 46 of file HPDIonFeedbackSim.h.
Referenced by addThermalNoise().