File indexing completed on 2024-04-06 11:58:05
0001 #ifndef CalibCalorimetry_HcalAlgos_HFRecalibration_h
0002 #define CalibCalorimetry_HcalAlgos_HFRecalibration_h
0003
0004
0005
0006
0007
0008
0009 #include <cmath>
0010 #include <iostream>
0011 #include <vector>
0012
0013 typedef std::vector<double> vecOfDoubles;
0014
0015 namespace edm {
0016 class ParameterSet;
0017 }
0018
0019 class HFRecalibration {
0020 public:
0021 HFRecalibration(const edm::ParameterSet& pset);
0022 ~HFRecalibration();
0023 double getCorr(int ieta, int idepth, double lumi);
0024
0025
0026 static const unsigned int loweriEtaBin = 30;
0027 static const unsigned int upperiEtaBin = 41;
0028
0029 private:
0030
0031 std::vector<double> HFParsAB[2][2];
0032 double reCalFactor = 1.0;
0033 };
0034
0035 #endif