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 59 of file HcalHBHEMuonAnalyzer.cc.

Constructor & Destructor Documentation

HcalDDDRecConstantsTemp::HcalDDDRecConstantsTemp ( )

Definition at line 81 of file HcalHBHEMuonAnalyzer.cc.

References actHB, actHE, and i.

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

Definition at line 120 of file HcalHBHEMuonAnalyzer.cc.

References gather_cfg::cout.

120  {
121  std::cout << "HcalDDDRecConstantsTemp::destructed!!!" << std::endl;
122 }
tuple cout
Definition: gather_cfg.py:121

Member Function Documentation

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

Definition at line 125 of file HcalHBHEMuonAnalyzer.cc.

References actHB, and actHE.

Referenced by HcalHBHEMuonAnalyzer::beginRun().

125  {
126 
127  if (type == 0) return actHB;
128  else return actHE;
129 }
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 77 of file HcalHBHEMuonAnalyzer.cc.

Referenced by getThickActive(), and HcalDDDRecConstantsTemp().

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

Definition at line 77 of file HcalHBHEMuonAnalyzer.cc.

Referenced by getThickActive(), and HcalDDDRecConstantsTemp().