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
HFRecalibration::~HFRecalibration
~HFRecalibration()
Definition: HFRecalibration.cc:23
HFRecalibration::loweriEtaBin
static const unsigned int loweriEtaBin
Definition: HFRecalibration.h:26
edm
HLT enums.
Definition: AlignableModifier.h:19
HFRecalibration::reCalFactor
double reCalFactor
Definition: HFRecalibration.h:32
HFRecalibration::HFParsAB
std::vector< double > HFParsAB[2][2]
Definition: HFRecalibration.h:31
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
edm::ParameterSet
Definition: ParameterSet.h:47
HFRecalibration::upperiEtaBin
static const unsigned int upperiEtaBin
Definition: HFRecalibration.h:27
ParameterSet
Definition: Functions.h:16
HFRecalibration::HFRecalibration
HFRecalibration(const edm::ParameterSet &pset)
Definition: HFRecalibration.cc:15
HFRecalibration
Definition: HFRecalibration.h:19
lumi
Definition: LumiSectionData.h:20
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HFRecalibration::getCorr
double getCorr(int ieta, int idepth, double lumi)
Definition: HFRecalibration.cc:25
vecOfDoubles
std::vector< double > vecOfDoubles
Definition: HFRecalibration.h:13