RecoParticleFlow
PFTracking
src
PFGeometry.cc
Go to the documentation of this file.
1
#include "
RecoParticleFlow/PFTracking/interface/PFGeometry.h
"
2
#include "
DataFormats/GeometrySurface/interface/BoundCylinder.h
"
3
#include "
DataFormats/GeometrySurface/interface/BoundDisk.h
"
4
#include "
DataFormats/GeometrySurface/interface/SimpleCylinderBounds.h
"
5
#include "
DataFormats/GeometrySurface/interface/SimpleDiskBounds.h
"
6
7
PFGeometry::PFGeometry
() {
8
if
(
innerRadius_
.empty()) {
9
// All distances are in cm
10
// BeamPipe
11
innerRadius_
.push_back(2.5);
12
outerRadius_
.push_back(2.5);
13
innerZ_
.push_back(0.);
14
outerZ_
.push_back(500.);
15
// PS1
16
innerRadius_
.push_back(45.0);
17
outerRadius_
.push_back(125.0);
18
innerZ_
.push_back(303.16);
19
outerZ_
.push_back(303.16);
20
// PS2
21
innerRadius_
.push_back(45.0);
22
outerRadius_
.push_back(125.0);
23
innerZ_
.push_back(307.13);
24
outerZ_
.push_back(307.13);
25
// ECALBarrel
26
innerRadius_
.push_back(129.0);
27
outerRadius_
.push_back(175.0);
28
innerZ_
.push_back(0.);
29
outerZ_
.push_back(304.5);
30
// ECALEndcap
31
innerRadius_
.push_back(31.6);
32
outerRadius_
.push_back(171.1);
33
innerZ_
.push_back(317.0);
34
outerZ_
.push_back(388.0);
35
// HCALBarrel
36
innerRadius_
.push_back(183.0);
37
outerRadius_
.push_back(285.0);
38
innerZ_
.push_back(0.);
39
outerZ_
.push_back(433.2);
40
// HCALEndcap
41
innerRadius_
.push_back(31.6);
// !!! Do not use : Probably wrong !!!
42
outerRadius_
.push_back(285.0);
// !!! Do not use : Probably wrong !!!
43
innerZ_
.push_back(388.0);
44
outerZ_
.push_back(560.0);
45
46
// HO Barrel
47
innerRadius_
.push_back(387.6);
48
outerRadius_
.push_back(410.2);
49
innerZ_
.push_back(0.);
50
outerZ_
.push_back(700.25);
51
52
// Define reference surfaces
53
tanTh_
.push_back(
innerRadius_
[
BeamPipe
] /
outerZ_
[
BeamPipe
]);
54
tanTh_
.push_back(
outerRadius_
[
PS1
] /
outerZ_
[
PS1
]);
55
tanTh_
.push_back(
outerRadius_
[
PS2
] /
outerZ_
[
PS2
]);
56
tanTh_
.push_back(
innerRadius_
[
ECALBarrel
] /
innerZ_
[
ECALEndcap
]);
57
tanTh_
.push_back(
innerRadius_
[
HCALBarrel
] /
innerZ_
[
HCALEndcap
]);
58
tanTh_
.push_back(
outerRadius_
[
HCALBarrel
] /
outerZ_
[
HCALEndcap
]);
59
}
60
}
PFGeometry::outerZ_
std::vector< float > outerZ_
Definition:
PFGeometry.h:74
BoundDisk.h
SimpleCylinderBounds.h
BoundCylinder.h
PFGeometry::PS2
Definition:
PFGeometry.h:28
PFGeometry::HCALBarrel
Definition:
PFGeometry.h:31
PFGeometry::PFGeometry
PFGeometry()
constructor
Definition:
PFGeometry.cc:7
PFGeometry::PS1
Definition:
PFGeometry.h:27
PFGeometry.h
PFGeometry::HCALEndcap
Definition:
PFGeometry.h:32
PFGeometry::innerRadius_
std::vector< float > innerRadius_
Definition:
PFGeometry.h:71
PFGeometry::ECALBarrel
Definition:
PFGeometry.h:29
PFGeometry::tanTh_
std::vector< float > tanTh_
Definition:
PFGeometry.h:75
PFGeometry::BeamPipe
Definition:
PFGeometry.h:26
PFGeometry::outerRadius_
std::vector< float > outerRadius_
Definition:
PFGeometry.h:72
PFGeometry::innerZ_
std::vector< float > innerZ_
Definition:
PFGeometry.h:73
PFGeometry::ECALEndcap
Definition:
PFGeometry.h:30
SimpleDiskBounds.h
Generated for CMSSW Reference Manual by
1.8.16