File indexing completed on 2023-03-17 11:00:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef CALORESPONSE_H
0016 #define CALORESPONSE_H
0017
0018 #include "FWCore/Utilities/interface/Exception.h"
0019 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0020
0021 #include <TH3F.h>
0022 #include <TFile.h>
0023 #include <TROOT.h>
0024
0025 class KKCorrectionFactors {
0026 public:
0027
0028
0029
0030 KKCorrectionFactors(const edm::ParameterSet& pset);
0031 ~KKCorrectionFactors() { delete h3_; };
0032
0033 float getScale(float genEnergy, float genEta, float simEnergy) const;
0034
0035 private:
0036
0037 TH3F* h3_;
0038 bool interpolate3D_;
0039 };
0040
0041 #endif