CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalPulseContainmentManager.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_HcalAlgos_HcalPulseContainmentManager_h
2 #define CalibCalorimetry_HcalAlgos_HcalPulseContainmentManager_h
3 
7 
9 public:
10  HcalPulseContainmentManager(float max_fracerror);
11  double correction(const HcalDetId & detId, int toAdd, float fixedphase_ns, double fc_ampl);
12  const HcalPulseContainmentCorrection * get(const HcalDetId & detId, int toAdd, float fixedphase_ns);
13 
14  void beginRun(edm::EventSetup const & es);
15  void endRun();
16 
17 private:
18 
20  HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape * shape, const HcalPulseContainmentCorrection & correction)
21  : toAdd_(toAdd), fixedphase_ns_(fixedphase_ns),shape_(shape), correction_(correction) {}
22  int toAdd_;
26  };
27 
28  std::vector<HcalPulseContainmentEntry> entries_;
32 };
33 
34 #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 beginRun(edm::EventSetup const &es)
HcalPulseContainmentManager(float max_fracerror)