6 max_fracerror_(max_fracerror)
25 int toAdd,
float fixedphase_ns,
double fc_ampl)
43 return get(detId,
toAdd, fixedphase_ns)->getCorrection(fc_ampl);
52 for(std::vector<HcalPulseContainmentEntry>::const_iterator entryItr =
entries_.begin();
53 entryItr !=
entries_.end(); ++entryItr)
55 if (entryItr->shape_ == shape && entryItr->toAdd_ == toAdd && entryItr->fixedphase_ns_ == fixedphase_ns)
57 return &entryItr->correction_;
78 return &(
entries_.back().correction_);
const HcalPulseContainmentCorrection * get(const HcalDetId &detId, int toAdd, float fixedphase_ns)
void beginRun(edm::EventSetup const &es)
const Shape & shapeForReco(const HcalDetId &detId) const
double correction(const HcalDetId &detId, int toAdd, float fixedphase_ns, double fc_ampl)
std::vector< HcalPulseContainmentEntry > entries_
std::pair< std::string, MonitorElement * > entry
void beginRun(edm::EventSetup const &es)
HcalPulseContainmentManager(float max_fracerror)