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
edm
HLT enums.
Definition: AlignableModifier.h:19
HFDarkening::dose
double dose(unsigned int layer, double radius)
Definition: HFDarkening.cc:34
HFDarkening::degradation
double degradation(double mrad)
Definition: HFDarkening.cc:75
vecOfDoubles
std::vector< double > vecOfDoubles
Definition: HFDarkening.h:8
HFDarkening::int_lumi
double int_lumi(double intlumi)
Definition: HFDarkening.cc:77
HFDarkening::numberOfRLayers
static const unsigned int numberOfRLayers
Definition: HFDarkening.h:25
HFDarkening::numberOfZLayers
static const unsigned int numberOfZLayers
Definition: HFDarkening.h:24
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
HFDarkening::_numberOfZLayers
static const unsigned int _numberOfZLayers
Definition: HFDarkening.h:32
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
HFDarkening::HFDoseLayerDarkeningPars
double HFDoseLayerDarkeningPars[numberOfZLayers][numberOfRLayers]
Definition: HFDarkening.h:31
HFDarkening::HFDarkening
HFDarkening(const edm::ParameterSet &pset)
Definition: HFDarkening.cc:17
HFDarkening::lowZLimit
static const unsigned int lowZLimit
Definition: HFDarkening.h:27
HFDarkening
Definition: HFDarkening.h:14
HFDarkening::~HFDarkening
~HFDarkening()
Definition: HFDarkening.cc:32
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
HFDarkening::upperZLimit
static const unsigned int upperZLimit
Definition: HFDarkening.h:28
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HFDarkening::_numberOfRLayers
static const unsigned int _numberOfRLayers
Definition: HFDarkening.h:33