CMS 3D CMS Logo

HFRecalibration.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_HcalAlgos_HFRecalibration_h
2 #define CalibCalorimetry_HcalAlgos_HFRecalibration_h
3 //
4 // Simple class with parameterized function provided by James Wetzel
5 // to compansate for darkening of HF QP fibers
6 // in Upgrade conditions
7 // correction = f (integrated lumi, depth, ieta)
8 //
9 #include <cmath>
10 #include <iostream>
11 #include <vector>
12 
13 typedef std::vector<double> vecOfDoubles;
14 
15 namespace edm {
16  class ParameterSet;
17 }
18 
20 public:
23  double getCorr(int ieta, int idepth, double lumi);
24 
25  //Calibration factors only calculated for iEta between and including 30 and 41
26  static const unsigned int loweriEtaBin = 30;
27  static const unsigned int upperiEtaBin = 41;
28 
29 private:
30  //Container for holding parameters from cff file
31  std::vector<double> HFParsAB[2][2];
32  double reCalFactor = 1.0;
33 };
34 
35 #endif // HFRecalibration_h
std::vector< double > vecOfDoubles
std::vector< double > HFParsAB[2][2]
HFRecalibration(const edm::ParameterSet &pset)
double getCorr(int ieta, int idepth, double lumi)
static const unsigned int loweriEtaBin
HLT enums.
static const unsigned int upperiEtaBin