Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
{
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
54
tanTh_
.push_back(
innerRadius_
[
BeamPipe
]/
outerZ_
[
BeamPipe
]);
55
tanTh_
.push_back(
outerRadius_
[
PS1
]/
outerZ_
[
PS1
]);
56
tanTh_
.push_back(
outerRadius_
[
PS2
]/
outerZ_
[
PS2
]);
57
tanTh_
.push_back(
innerRadius_
[
ECALBarrel
]/
innerZ_
[
ECALEndcap
]);
58
tanTh_
.push_back(
innerRadius_
[
HCALBarrel
]/
innerZ_
[
HCALEndcap
]);
59
tanTh_
.push_back(
outerRadius_
[
HCALBarrel
]/
outerZ_
[HCALEndcap]);
60
}
61
}
PFGeometry::outerZ_
std::vector< float > outerZ_
Definition:
PFGeometry.h:79
PFGeometry.h
PFGeometry::ECALBarrel
Definition:
PFGeometry.h:29
PFGeometry::PS2
Definition:
PFGeometry.h:28
BoundDisk.h
SimpleDiskBounds.h
PFGeometry::innerZ_
std::vector< float > innerZ_
Definition:
PFGeometry.h:78
SimpleCylinderBounds.h
PFGeometry::PS1
Definition:
PFGeometry.h:27
PFGeometry::ECALEndcap
Definition:
PFGeometry.h:30
PFGeometry::outerRadius_
std::vector< float > outerRadius_
Definition:
PFGeometry.h:77
PFGeometry::HCALBarrel
Definition:
PFGeometry.h:31
PFGeometry::BeamPipe
Definition:
PFGeometry.h:26
PFGeometry::tanTh_
std::vector< float > tanTh_
Definition:
PFGeometry.h:80
PFGeometry::innerRadius_
std::vector< float > innerRadius_
Definition:
PFGeometry.h:76
PFGeometry::PFGeometry
PFGeometry()
constructor
Definition:
PFGeometry.cc:7
PFGeometry::HCALEndcap
Definition:
PFGeometry.h:32
BoundCylinder.h
Generated for CMSSW Reference Manual by
1.8.5