CMS 3D CMS Logo

HcalPulseContainmentManager.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_HcalAlgos_HcalPulseContainmentManager_h
2 #define CalibCalorimetry_HcalAlgos_HcalPulseContainmentManager_h
3 
9 
11 public:
12  HcalPulseContainmentManager(float max_fracerror);
13  double correction(const HcalDetId & detId, int toAdd, float fixedphase_ns, double fc_ampl);
14  const HcalPulseContainmentCorrection * get(const HcalDetId & detId, int toAdd, float fixedphase_ns);
15 
16  void beginRun(edm::EventSetup const & es);
17  void beginRun(const HcalDbService* conditions, const HcalTimeSlew* delay);
18 
19  void setTimeSlew(const HcalTimeSlew* timeSlew) {
20  hcalTimeSlew_delay_ = timeSlew;
21  }
22 private:
23 
25  HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape * shape, const HcalPulseContainmentCorrection & correction)
26  : toAdd_(toAdd), fixedphase_ns_(fixedphase_ns),shape_(shape), correction_(correction) {}
27  int toAdd_;
31  };
32 
33  std::vector<HcalPulseContainmentEntry> entries_;
37 
39 };
40 
41 #endif
double correction(const HcalDetId &detId, int toAdd, float fixedphase_ns, double fc_ampl)
std::vector< HcalPulseContainmentEntry > entries_
HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape *shape, const HcalPulseContainmentCorrection &correction)
void setTimeSlew(const HcalTimeSlew *timeSlew)
void beginRun(edm::EventSetup const &es)
HcalPulseContainmentManager(float max_fracerror)