test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFGeometry.cc
Go to the documentation of this file.
6 
8 {
9  if (!innerRadius_.size()) {
10  // All distances are in cm
11  // BeamPipe
12  innerRadius_.push_back(2.5);
13  outerRadius_.push_back(2.5);
14  innerZ_.push_back(0.);
15  outerZ_.push_back(500.);
16  // PS1
17  innerRadius_.push_back(45.0);
18  outerRadius_.push_back(125.0);
19  innerZ_.push_back(303.16);
20  outerZ_.push_back(303.16);
21  // PS2
22  innerRadius_.push_back(45.0);
23  outerRadius_.push_back(125.0);
24  innerZ_.push_back(307.13);
25  outerZ_.push_back(307.13);
26  // ECALBarrel
27  innerRadius_.push_back(129.0);
28  outerRadius_.push_back(175.0);
29  innerZ_.push_back(0.);
30  outerZ_.push_back(304.5);
31  // ECALEndcap
32  innerRadius_.push_back(31.6);
33  outerRadius_.push_back(171.1);
34  innerZ_.push_back(317.0);
35  outerZ_.push_back(388.0);
36  // HCALBarrel
37  innerRadius_.push_back(183.0);
38  outerRadius_.push_back(285.0);
39  innerZ_.push_back(0.);
40  outerZ_.push_back(433.2);
41  // HCALEndcap
42  innerRadius_.push_back(31.6); // !!! Do not use : Probably wrong !!!
43  outerRadius_.push_back(285.0); // !!! Do not use : Probably wrong !!!
44  innerZ_.push_back(388.0);
45  outerZ_.push_back(560.0);
46 
47  // HO Barrel
48  innerRadius_.push_back(387.6);
49  outerRadius_.push_back(410.2);
50  innerZ_.push_back(0.);
51  outerZ_.push_back(700.25);
52 
53  // Define reference surfaces
55  tanTh_.push_back(outerRadius_[PS1]/outerZ_[PS1]);
56  tanTh_.push_back(outerRadius_[PS2]/outerZ_[PS2]);
59  tanTh_.push_back(outerRadius_[HCALBarrel]/outerZ_[HCALEndcap]);
60  }
61 }
std::vector< float > outerZ_
Definition: PFGeometry.h:79
std::vector< float > innerZ_
Definition: PFGeometry.h:78
std::vector< float > outerRadius_
Definition: PFGeometry.h:77
std::vector< float > tanTh_
Definition: PFGeometry.h:80
std::vector< float > innerRadius_
Definition: PFGeometry.h:76
PFGeometry()
constructor
Definition: PFGeometry.cc:7