CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HERecalibration.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_HERecalibration_h
2 #define CalibCalorimetry_HERecalibration_h
3 //
4 // Simple class with tabulated/parameterized function
5 // to compansate for darkening attenuation of HE scintillators
6 // in Upgrade conditions
7 // Evaluated on the basis of SimG4CMS/Calo/ HEDarkening by K.Pedro (Maryland)
8 // correction = f (integrated lumi, depth, ieta)
9 //
10 
11 #include <cmath>
12 #include <vector>
13 #include <iostream>
15 
17 
18 public:
19  HERecalibration(double integrated_lumi, double cutoff);
21 
22  double getCorr(int ieta, int idepth);
23  void setDsegm(const std::vector<std::vector<int> >& m_segmentation);
24 
25 private:
26  // max number of HE relaibration depths
27  static const unsigned int nDepths = 7;
28 
29  void initialize();
30  double iLumi;
31  double cutoff_;
33 
34  // Tabulated mean energy values per layer and per depth
37 
38 };
39 
40 
41 #endif // HERecalibration_h
void setDsegm(const std::vector< std::vector< int > > &m_segmentation)
double getCorr(int ieta, int idepth)
static const unsigned int nDepths
static const unsigned int nScintLayers
Definition: HEDarkening.h:24
double corr[HEDarkening::nEtaBins][nDepths]
static const unsigned int nEtaBins
Definition: HEDarkening.h:22
HERecalibration(double integrated_lumi, double cutoff)
double dsegm[HEDarkening::nEtaBins][HEDarkening::nScintLayers]
HEDarkening darkening