CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
HcalDDDRecConstants Class Reference

Classes

struct  HcalActiveLength
 

Public Member Functions

std::vector< HcalActiveLengthgetThickActive (const int type) const
 
 HcalDDDRecConstants ()
 
 ~HcalDDDRecConstants ()
 

Private Attributes

std::vector< HcalActiveLengthactHB
 
std::vector< HcalActiveLengthactHE
 

Detailed Description

Definition at line 54 of file HcalRaddamMuon.cc.

Constructor & Destructor Documentation

HcalDDDRecConstants::HcalDDDRecConstants ( )

Definition at line 72 of file HcalRaddamMuon.cc.

References actHB, actHE, and i.

72  {
73  int ietaHB[18] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
74  11, 12, 13, 14, 15, 15, 16, 16};
75  int depthHB[18] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
76  1, 1, 1, 1, 1, 2, 1, 2};
77  double etaHB[18] = {0.0435, 0.1305, 0.2175, 0.3045, 0.3915, 0.4785,
78  0.5655, 0.6525, 0.7395, 0.8265, 0.9135, 1.0005,
79  1.0875, 1.1745, 1.2615, 1.2615, 1.3485, 1.3485};
80  double actLHB[18]= {7.35696, 7.41268, 7.52454, 7.69339, 7.92051, 8.20761,
81  8.55688, 8.97096, 9.45298, 10.0066, 10.6360, 11.3460,
82  12.1419, 13.0297, 10.1832, 3.83301, 2.61066, 5.32410};
83  actHB.clear();
84  for (int i=0; i<18; ++i) {
85  HcalDDDRecConstants::HcalActiveLength act(ietaHB[i],depthHB[i],etaHB[i],actLHB[i]);
86  actHB.push_back(act);
87  }
88 
89  int ietaHE[28] = {16, 17, 18, 18, 19, 19, 20, 20, 21, 21,
90  22, 22, 23, 23, 24, 24, 25, 25, 26, 26,
91  27, 27, 27, 28, 28, 28, 29, 29};
92  int depthHE[28] = {3, 1, 1, 2, 1, 2, 1, 2, 1, 2,
93  1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
94  1, 2, 3, 1, 2, 3, 1, 2};
95  double etaHE[28] = {1.3485, 1.4355, 1.5225, 1.5225, 1.6095, 1.6095, 1.6965,
96  1.6965, 1.7850, 1.7850, 1.8800, 1.8800, 1.9865, 1.9865,
97  2.1075, 2.1075, 2.2470, 2.2470, 2.4110, 2.4110, 2.5750,
98  2.5750, 2.5750, 2.7590, 2.7590, 2.8250, 2.9340, 2.9340};
99  double actLHE[28]= {4.23487, 8.05342, 2.21090, 5.69774, 2.57831, 5.21078,
100  2.54554, 5.14455, 2.51790, 5.08871, 2.49347, 5.03933,
101  2.47129, 4.99449, 2.45137, 4.95424, 2.43380, 4.91873,
102  2.41863, 4.88808, 1.65913, 0.74863, 4.86612, 1.65322,
103  0.74596, 4.84396, 1.64930, 0.744198};
104  actHE.clear();
105  for (int i=0; i<28; ++i) {
106  HcalDDDRecConstants::HcalActiveLength act(ietaHE[i],depthHE[i],etaHE[i],actLHE[i]);
107  actHE.push_back(act);
108  }
109 }
int i
Definition: DBlmapReader.cc:9
std::vector< HcalActiveLength > actHE
std::vector< HcalActiveLength > actHB
HcalDDDRecConstants::~HcalDDDRecConstants ( )

Definition at line 111 of file HcalRaddamMuon.cc.

References gather_cfg::cout.

111  {
112  std::cout << "HcalDDDRecConstants::destructed!!!" << std::endl;
113 }
tuple cout
Definition: gather_cfg.py:121

Member Function Documentation

std::vector< HcalDDDRecConstants::HcalActiveLength > HcalDDDRecConstants::getThickActive ( const int  type) const

Definition at line 116 of file HcalRaddamMuon.cc.

References actHB, and actHE.

Referenced by HcalRaddamMuon::beginRun().

116  {
117 
118  if (type == 0) return actHB;
119  else return actHE;
120 }
type
Definition: HCALResponse.h:21
std::vector< HcalActiveLength > actHE
std::vector< HcalActiveLength > actHB

Member Data Documentation

std::vector<HcalActiveLength> HcalDDDRecConstants::actHB
private

Definition at line 69 of file HcalRaddamMuon.cc.

Referenced by getThickActive(), and HcalDDDRecConstants().

std::vector<HcalActiveLength> HcalDDDRecConstants::actHE
private

Definition at line 69 of file HcalRaddamMuon.cc.

Referenced by getThickActive(), and HcalDDDRecConstants().