CMS 3D CMS Logo

HBHERecalibration.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_HBHERecalibration_h
2 #define CalibCalorimetry_HBHERecalibration_h
3 
5 
6 #include <vector>
7 #include <string>
8 
9 // Simple recalibration algorithm for radiation damage to HB and HE
10 // produces response correction for a depth based on average of darkening per layer, weighted by mean energy per layer
11 // (a depth can contain several layers)
12 // (mean energy per layer derived from 50 GeV single pion scan in MC)
13 
15 public:
16  HBHERecalibration(float intlumi, float cutoff, std::string meanenergies);
18 
19  //accessors
20  float getCorr(int ieta, int depth) const;
21  void setup(const std::vector<std::vector<int>>& m_segmentation, const HBHEDarkening* darkening);
22  int maxDepth() const { return max_depth_; }
23 
24 private:
25  //helper
26  void initialize();
27 
28  //members
29  float intlumi_;
30  float cutoff_;
33  std::vector<std::vector<float>> meanenergies_;
35  std::vector<std::vector<int>> dsegm_;
36  std::vector<std::vector<float>> corr_;
37 };
38 
39 #endif // HBHERecalibration_h
HBHERecalibration::dsegm_
std::vector< std::vector< int > > dsegm_
Definition: HBHERecalibration.h:35
HBHERecalibration::darkening_
const HBHEDarkening * darkening_
Definition: HBHERecalibration.h:34
HBHERecalibration::~HBHERecalibration
~HBHERecalibration()
Definition: HBHERecalibration.cc:15
HBHEDarkening.h
qjetsadder_cfi.cutoff
cutoff
Definition: qjetsadder_cfi.py:11
HBHERecalibration
Definition: HBHERecalibration.h:14
HBHERecalibration::corr_
std::vector< std::vector< float > > corr_
Definition: HBHERecalibration.h:36
HBHERecalibration::intlumi_
float intlumi_
Definition: HBHERecalibration.h:29
HBHERecalibration::setup
void setup(const std::vector< std::vector< int >> &m_segmentation, const HBHEDarkening *darkening)
Definition: HBHERecalibration.cc:17
HBHERecalibration::max_depth_
int max_depth_
Definition: HBHERecalibration.h:32
HBHERecalibration::ieta_shift_
int ieta_shift_
Definition: HBHERecalibration.h:31
HBHERecalibration::meanenergies_
std::vector< std::vector< float > > meanenergies_
Definition: HBHERecalibration.h:33
HBHERecalibration::getCorr
float getCorr(int ieta, int depth) const
Definition: HBHERecalibration.cc:40
HBHERecalibration::cutoff_
float cutoff_
Definition: HBHERecalibration.h:30
HBHERecalibration::initialize
void initialize()
Definition: HBHERecalibration.cc:60
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
HBHEDarkening
Definition: HBHEDarkening.h:17
HBHERecalibration::HBHERecalibration
HBHERecalibration(float intlumi, float cutoff, std::string meanenergies)
Definition: HBHERecalibration.cc:7
HBHERecalibration::maxDepth
int maxDepth() const
Definition: HBHERecalibration.h:22