CMS 3D CMS Logo

HFDarkening.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HFDarkening_h
2 #define SimG4CMS_HFDarkening_h
3 
4 #include <cmath>
5 #include <iostream>
6 #include <vector>
7 
8 typedef std::vector<double> vecOfDoubles;
9 
10 namespace edm {
11  class ParameterSet;
12 }
13 
14 class HFDarkening {
15 public:
17  ~HFDarkening();
18 
19  double dose(unsigned int layer, double radius);
20  double int_lumi(double intlumi);
21  double degradation(double mrad);
22 
23  //These constants are used in HcalSD.cc
24  static const unsigned int numberOfZLayers = 33;
25  static const unsigned int numberOfRLayers = 13;
26 
27  static const unsigned int lowZLimit = 1115;
28  static const unsigned int upperZLimit = 1280;
29 
30 private:
32  static const unsigned int _numberOfZLayers = numberOfZLayers;
33  static const unsigned int _numberOfRLayers = numberOfRLayers;
34 };
35 
36 #endif // HFDarkening_h
double dose(unsigned int layer, double radius)
Definition: HFDarkening.cc:32
static const unsigned int numberOfRLayers
Definition: HFDarkening.h:25
static const unsigned int numberOfZLayers
Definition: HFDarkening.h:24
double degradation(double mrad)
Definition: HFDarkening.cc:73
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
double int_lumi(double intlumi)
Definition: HFDarkening.cc:75
HFDarkening(const edm::ParameterSet &pset)
Definition: HFDarkening.cc:15
static const unsigned int _numberOfZLayers
Definition: HFDarkening.h:32
std::vector< double > vecOfDoubles
Definition: HFDarkening.h:8
static const unsigned int lowZLimit
Definition: HFDarkening.h:27
static const unsigned int upperZLimit
Definition: HFDarkening.h:28
double HFDoseLayerDarkeningPars[numberOfZLayers][numberOfRLayers]
Definition: HFDarkening.h:31
HLT enums.
static const unsigned int _numberOfRLayers
Definition: HFDarkening.h:33