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) { hcalTimeSlew_delay_ = timeSlew; }
20 
21 private:
24  float fixedphase_ns,
25  const HcalPulseShape* shape,
26  const HcalPulseContainmentCorrection& correction)
27  : toAdd_(toAdd), fixedphase_ns_(fixedphase_ns), shape_(shape), correction_(correction) {}
28  int toAdd_;
32  };
33 
34  std::vector<HcalPulseContainmentEntry> entries_;
38 
40 };
41 
42 #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)