Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:03:54

0001 #ifndef SimG4CMS_HFDarkening_h
0002 #define SimG4CMS_HFDarkening_h
0003 
0004 #include <cmath>
0005 #include <iostream>
0006 #include <vector>
0007 
0008 typedef std::vector<double> vecOfDoubles;
0009 
0010 namespace edm {
0011   class ParameterSet;
0012 }
0013 
0014 class HFDarkening {
0015 public:
0016   HFDarkening(const edm::ParameterSet& pset);
0017   ~HFDarkening();
0018 
0019   double dose(unsigned int layer, double radius);
0020   double int_lumi(double intlumi);
0021   double degradation(double mrad);
0022 
0023   //These constants are used in HcalSD.cc
0024   static const unsigned int numberOfZLayers = 33;
0025   static const unsigned int numberOfRLayers = 13;
0026 
0027   static const unsigned int lowZLimit = 1115;
0028   static const unsigned int upperZLimit = 1280;
0029 
0030 private:
0031   double HFDoseLayerDarkeningPars[numberOfZLayers][numberOfRLayers];
0032   static const unsigned int _numberOfZLayers = numberOfZLayers;
0033   static const unsigned int _numberOfRLayers = numberOfRLayers;
0034 };
0035 
0036 #endif  // HFDarkening_h