CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
12  class ParameterSet;
13 }
14 
15 class HFDarkening {
16 
17 public:
19  ~HFDarkening();
20 
21  double dose(unsigned int layer, double radius);
22  double int_lumi(double intlumi);
23  double degradation(double mrad);
24 
25  //These constants are used in HcalSD.cc
26  static const unsigned int numberOfZLayers = 33;
27  static const unsigned int numberOfRLayers = 13;
28 
29  static const unsigned int lowZLimit = 1115;
30  static const unsigned int upperZLimit = 1280;
31 
32 private:
34  static const unsigned int _numberOfZLayers = numberOfZLayers;
35  static const unsigned int _numberOfRLayers = numberOfRLayers;
36 };
37 
38 #endif // HFDarkening_h
std::vector< double > vecOfDoubles
double dose(unsigned int layer, double radius)
Definition: HFDarkening.cc:34
static const unsigned int numberOfRLayers
Definition: HFDarkening.h:27
static const unsigned int numberOfZLayers
Definition: HFDarkening.h:26
double degradation(double mrad)
Definition: HFDarkening.cc:62
double int_lumi(double intlumi)
Definition: HFDarkening.cc:66
HFDarkening(const edm::ParameterSet &pset)
Definition: HFDarkening.cc:17
static const unsigned int _numberOfZLayers
Definition: HFDarkening.h:34
static const unsigned int lowZLimit
Definition: HFDarkening.h:29
static const unsigned int upperZLimit
Definition: HFDarkening.h:30
double HFDoseLayerDarkeningPars[numberOfZLayers][numberOfRLayers]
Definition: HFDarkening.h:33
static const unsigned int _numberOfRLayers
Definition: HFDarkening.h:35