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
HcalDDDRecConstantsTemp Class Reference

Classes

struct  HcalActiveLength
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 61 of file HcalHBHEMuonAnalyzer.cc.

Constructor & Destructor Documentation

HcalDDDRecConstantsTemp::HcalDDDRecConstantsTemp ( )

Definition at line 83 of file HcalHBHEMuonAnalyzer.cc.

References actHB, actHE, and i.

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

Definition at line 122 of file HcalHBHEMuonAnalyzer.cc.

122  {
123 #ifdef DebugLog
124  edm::LogInfo("HcalHBHEMuon") << "HcalDDDRecConstantsTemp::destructed!!!";
125 #endif
126 }

Member Function Documentation

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

Definition at line 129 of file HcalHBHEMuonAnalyzer.cc.

References actHB, and actHE.

Referenced by HcalHBHEMuonAnalyzer::beginRun().

129  {
130 
131  if (type == 0) return actHB;
132  else return actHE;
133 }
type
Definition: HCALResponse.h:21
std::vector< HcalActiveLength > actHB
std::vector< HcalActiveLength > actHE

Member Data Documentation

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

Definition at line 79 of file HcalHBHEMuonAnalyzer.cc.

Referenced by getThickActive(), and HcalDDDRecConstantsTemp().

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

Definition at line 79 of file HcalHBHEMuonAnalyzer.cc.

Referenced by getThickActive(), and HcalDDDRecConstantsTemp().