CMS 3D CMS Logo

HFRecalibration.h
Go to the documentation of this file.
1 #ifndef DataFormats_HFRecalibration_h
2 #define DataFormats_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 {
17  class ParameterSet;
18 }
19 
21 {
22 
23  public:
25  ~HFRecalibration();
26  double getCorr(int ieta, int idepth, double lumi);
27 
28  //Calibration factors only calculated for iEta between and including 30 and 41
29  static const unsigned int loweriEtaBin = 30;
30  static const unsigned int upperiEtaBin = 41;
31 
32 
33  private:
34  //Container for holding parameters from cff file
35  std::vector<double> HFParsAB[2][2];
36  double reCalFactor = 1.0;
37 
38 };
39 
40 #endif // HFRecalibration_h
41 
42 
std::vector< double > vecOfDoubles
HLT enums.