File indexing completed on 2024-04-06 11:58:05
0001 #ifndef CalibCalorimetry_HcalSiPMRadiationDamage_h
0002 #define CalibCalorimetry_HcalSiPMRadiationDamage_h
0003
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "CondFormats/HcalObjects/interface/HBHEDarkening.h"
0006
0007 #include <vector>
0008
0009
0010
0011
0012
0013
0014 class HcalSiPMRadiationDamage {
0015 public:
0016 HcalSiPMRadiationDamage();
0017 HcalSiPMRadiationDamage(std::vector<double> darkCurrentBase, const edm::ParameterSet& p);
0018 ~HcalSiPMRadiationDamage() {}
0019
0020
0021 double getDarkCurrent(double intlumi, unsigned index) const;
0022
0023 private:
0024
0025 std::vector<double> darkCurrentBase_;
0026 double temperatureBase_;
0027 double temperatureNew_;
0028 double intlumiOffset_;
0029 double depVsTemp_;
0030 double intlumiToNeutrons_;
0031 std::vector<double> depVsNeutrons_;
0032 };
0033
0034 #endif