7 : entries_(), shapes_(), max_fracerror_(max_fracerror), phaseAsInSim_(phaseAsInSim) {
16 max_fracerror_(max_fracerror),
17 phaseAsInSim_(phaseAsInSim),
48 return get(detId,
toAdd, fixedphase_ns)->getCorrection(fc_ampl);
53 float fixedphase_ns) {
56 for (std::vector<HcalPulseContainmentEntry>::const_iterator entryItr =
entries_.begin(); entryItr !=
entries_.end();
58 if (entryItr->shape_ == shape && entryItr->toAdd_ ==
toAdd && entryItr->fixedphase_ns_ == fixedphase_ns) {
59 return &entryItr->correction_;
83 return &(
entries_.back().correction_);
const HcalPulseContainmentCorrection * get(const HcalDetId &detId, int toAdd, float fixedphase_ns)
const HcalTimeSlew * hcalTimeSlew_delay_
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_
const edm::ESGetToken< HcalTimeSlew, HcalTimeSlewRecord > delayToken_
HcalPulseContainmentManager(float max_fracerror, bool phaseAsInSim)
bool getData(T &iHolder) const
void beginRun(edm::EventSetup const &es)