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,
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
HcalPulseContainmentManager::shapes_
HcalPulseShapes shapes_
Definition: HcalPulseContainmentManager.h:35
HcalPulseContainmentManager::HcalPulseContainmentEntry::toAdd_
int toAdd_
Definition: HcalPulseContainmentManager.h:28
HcalPulseContainmentManager::entries_
std::vector< HcalPulseContainmentEntry > entries_
Definition: HcalPulseContainmentManager.h:34
ESHandle.h
HcalPulseContainmentManager::max_fracerror_
float max_fracerror_
Definition: HcalPulseContainmentManager.h:37
HcalPulseContainmentManager::setTimeSlew
void setTimeSlew(const HcalTimeSlew *timeSlew)
Definition: HcalPulseContainmentManager.h:19
HcalPulseShapes
Definition: HcalPulseShapes.h:21
HcalPulseShapes.h
HcalTimeSlew.h
HcalPulseContainmentManager::HcalPulseContainmentEntry::fixedphase_ns_
float fixedphase_ns_
Definition: HcalPulseContainmentManager.h:29
HcalPulseContainmentCorrection
Definition: HcalPulseContainmentCorrection.h:15
HcalPulseContainmentManager::HcalPulseContainmentEntry::shape_
const HcalPulseShape * shape_
Definition: HcalPulseContainmentManager.h:30
HcalPulseContainmentManager::get
const HcalPulseContainmentCorrection * get(const HcalDetId &detId, int toAdd, float fixedphase_ns)
Definition: HcalPulseContainmentManager.cc:45
HcalTimeSlew
Definition: HcalTimeSlew.h:19
HcalPulseContainmentManager::fixedphase_ns_
float fixedphase_ns_
Definition: HcalPulseContainmentManager.h:36
HcalPulseContainmentManager::HcalPulseContainmentEntry
Definition: HcalPulseContainmentManager.h:22
HcalPulseContainmentManager::HcalPulseContainmentManager
HcalPulseContainmentManager(float max_fracerror)
Definition: HcalPulseContainmentManager.cc:7
HcalDetId.h
HcalDetId
Definition: HcalDetId.h:12
HcalPulseContainmentCorrection.h
HcalPulseContainmentManager::HcalPulseContainmentEntry::correction_
HcalPulseContainmentCorrection correction_
Definition: HcalPulseContainmentManager.h:31
HcalPulseContainmentManager::hcalTimeSlew_delay_
const HcalTimeSlew * hcalTimeSlew_delay_
Definition: HcalPulseContainmentManager.h:39
edm::EventSetup
Definition: EventSetup.h:57
HcalPulseContainmentManager::HcalPulseContainmentEntry::HcalPulseContainmentEntry
HcalPulseContainmentEntry(int toAdd, float fixedphase_ns, const HcalPulseShape *shape, const HcalPulseContainmentCorrection &correction)
Definition: HcalPulseContainmentManager.h:23
HcalPulseShape
Definition: HcalPulseShape.h:6
HcalDbService
Definition: HcalDbService.h:26
HcalPulseContainmentManager
Definition: HcalPulseContainmentManager.h:10
phase2TrackerDigitizer_cfi.delay
delay
Definition: phase2TrackerDigitizer_cfi.py:67
HLT_2018_cff.toAdd
toAdd
Definition: HLT_2018_cff.py:50595
HcalPulseContainmentManager::correction
double correction(const HcalDetId &detId, int toAdd, float fixedphase_ns, double fc_ampl)
Definition: HcalPulseContainmentManager.cc:26
HcalPulseContainmentManager::beginRun
void beginRun(edm::EventSetup const &es)
Definition: HcalPulseContainmentManager.cc:12