src
Alignment
APEEstimation
interface
EventVariables.h
Go to the documentation of this file.
1
#ifndef Alignment_APEEstimation_EventVariables_h
2
#define Alignment_APEEstimation_EventVariables_h
3
4
#include <vector>
5
6
struct
TrackStruct
{
7
TrackStruct
() {}
8
9
enum
HitState
{
notInTracker
,
notAssignedToSectors
,
invalid
,
negativeError
,
ok
};
10
11
struct
HitParameterStruct
{
12
HitParameterStruct
()
13
:
hitState
(
ok
),
14
isPixelHit
(
false
),
15
goodXMeasurement
(
false
),
16
goodYMeasurement
(
false
),
17
widthX
(0),
18
baryStripX
(-999.
F
),
19
widthY
(0),
20
baryStripY
(-999.
F
),
21
chargePixel
(-999.
F
),
22
clusterProbabilityXY
(-999.
F
),
23
clusterProbabilityQ
(-999.
F
),
24
clusterProbabilityXYQ
(-999.
F
),
25
logClusterProbability
(-999.
F
),
26
isOnEdge
(
false
),
27
hasBadPixels
(
false
),
28
spansTwoRoc
(
false
),
29
qBin
(-1),
30
isModuleUsable
(
true
),
31
chargeStrip
(0),
32
maxStrip
(0),
33
maxStripInv
(0),
34
maxCharge
(0),
35
maxIndex
(0),
36
chargeOnEdges
(-999.
F
),
37
chargeAsymmetry
(-999.
F
),
38
chargeLRplus
(-999.
F
),
39
chargeLRminus
(-999.
F
),
40
sOverN
(-999.
F
),
41
projWidth
(-999.
F
),
42
resX
(-999.
F
),
43
norResX
(-999.
F
),
44
xHit
(-999.
F
),
45
xTrk
(-999.
F
),
46
errXHit
(-999.
F
),
47
errXTrk
(-999.
F
),
48
errX
(-999.
F
),
49
errX2
(-999.
F
),
50
errXHitWoApe
(-999.
F
),
51
errXWoApe
(-999.
F
),
52
probX
(-999.
F
),
53
resY
(-999.
F
),
54
norResY
(-999.
F
),
55
yHit
(-999.
F
),
56
yTrk
(-999.
F
),
57
errYHit
(-999.
F
),
58
errYTrk
(-999.
F
),
59
errY
(-999.
F
),
60
errY2
(-999.
F
),
61
errYHitWoApe
(-999.
F
),
62
errYWoApe
(-999.
F
),
63
probY
(-999.
F
),
64
phiSens
(-999.
F
),
65
phiSensX
(-999.
F
),
66
phiSensY
(-999.
F
) {}
67
68
HitState
hitState
;
69
bool
isPixelHit
;
70
bool
goodXMeasurement
,
goodYMeasurement
;
71
std::vector<unsigned int>
v_sector
;
72
73
// Cluster parameters
74
// pixel+strip
75
unsigned
int
widthX
;
76
float
baryStripX
;
77
// pixel only
78
unsigned
int
widthY
;
79
float
baryStripY
;
80
float
chargePixel
;
81
float
clusterProbabilityXY
,
clusterProbabilityQ
,
clusterProbabilityXYQ
,
logClusterProbability
;
82
bool
isOnEdge
,
hasBadPixels
,
spansTwoRoc
;
83
int
qBin
;
84
// strip only
85
bool
isModuleUsable
;
86
unsigned
int
chargeStrip
;
87
unsigned
int
maxStrip
,
maxStripInv
,
maxCharge
,
maxIndex
;
88
float
chargeOnEdges
,
chargeAsymmetry
,
chargeLRplus
,
chargeLRminus
;
89
float
sOverN
;
90
float
projWidth
;
91
92
// trackFit results
93
float
resX
,
norResX
,
xHit
,
xTrk
,
errXHit
,
errXTrk
,
errX
,
errX2
,
errXHitWoApe
,
errXWoApe
,
probX
;
94
float
resY
,
norResY
,
yHit
,
yTrk
,
errYHit
,
errYTrk
,
errY
,
errY2
,
errYHitWoApe
,
errYWoApe
,
probY
;
95
float
phiSens
,
phiSensX
,
phiSensY
;
96
};
97
98
struct
TrackParameterStruct
{
99
TrackParameterStruct
()
100
:
hitsSize
(-999),
101
hitsValid
(-999),
102
hitsInvalid
(-999),
103
hits2D
(-999),
104
layersMissed
(-999),
105
hitsPixel
(-999),
106
hitsStrip
(-999),
107
charge
(-999),
108
chi2
(-999.
F
),
109
ndof
(-999.
F
),
110
norChi2
(-999.
F
),
111
prob
(-999.
F
),
112
eta
(-999.
F
),
113
etaErr
(-999.
F
),
114
theta
(-999.
F
),
115
phi
(-999.
F
),
116
phiErr
(-999.
F
),
117
d0
(-999.
F
),
118
d0Beamspot
(-999.
F
),
119
d0BeamspotErr
(-999.
F
),
120
dz
(-999.
F
),
121
dzErr
(-999.
F
),
122
dzBeamspot
(-999.
F
),
123
p
(-999.
F
),
124
pt
(-999.
F
),
125
ptErr
(-999.
F
),
126
meanPhiSensToNorm
(-999.
F
) {}
127
128
int
hitsSize
,
hitsValid
,
hitsInvalid
,
hits2D
,
layersMissed
,
hitsPixel
,
hitsStrip
,
charge
;
129
float
chi2
,
ndof
,
norChi2
,
prob
,
eta
,
etaErr
,
theta
,
phi
,
phiErr
,
d0
,
d0Beamspot
,
d0BeamspotErr
,
dz
,
dzErr
,
130
dzBeamspot
,
p
,
pt
,
ptErr
,
meanPhiSensToNorm
;
131
};
132
133
TrackParameterStruct
trkParams
;
134
std::vector<HitParameterStruct>
v_hitParams
;
135
};
136
137
#endif
TrackStruct::TrackParameterStruct::TrackParameterStruct
TrackParameterStruct()
Definition:
EventVariables.h:99
TrackStruct::TrackStruct
TrackStruct()
Definition:
EventVariables.h:7
TrackStruct::HitParameterStruct::v_sector
std::vector< unsigned int > v_sector
Definition:
EventVariables.h:71
TrackStruct::HitParameterStruct
Definition:
EventVariables.h:11
TrackStruct::TrackParameterStruct::p
float p
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::projWidth
float projWidth
Definition:
EventVariables.h:90
TrackStruct::HitParameterStruct::errY
float errY
Definition:
EventVariables.h:94
TrackStruct::TrackParameterStruct::ndof
float ndof
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::logClusterProbability
float logClusterProbability
Definition:
EventVariables.h:81
TrackStruct::TrackParameterStruct::hitsSize
int hitsSize
Definition:
EventVariables.h:128
TrackStruct::TrackParameterStruct::eta
float eta
Definition:
EventVariables.h:129
TrackStruct::TrackParameterStruct::ptErr
float ptErr
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::clusterProbabilityXYQ
float clusterProbabilityXYQ
Definition:
EventVariables.h:81
TrackStruct::HitParameterStruct::chargePixel
float chargePixel
Definition:
EventVariables.h:80
TrackStruct::HitParameterStruct::errY2
float errY2
Definition:
EventVariables.h:94
TrackStruct::HitParameterStruct::errXTrk
float errXTrk
Definition:
EventVariables.h:93
TrackStruct::TrackParameterStruct::hitsValid
int hitsValid
Definition:
EventVariables.h:128
TrackStruct::ok
Definition:
EventVariables.h:9
TrackStruct::HitParameterStruct::phiSensY
float phiSensY
Definition:
EventVariables.h:95
TrackStruct::TrackParameterStruct::d0Beamspot
float d0Beamspot
Definition:
EventVariables.h:129
funct::false
false
Definition:
Factorize.h:29
TrackStruct::invalid
Definition:
EventVariables.h:9
TrackStruct::HitParameterStruct::yHit
float yHit
Definition:
EventVariables.h:94
TrackStruct::HitParameterStruct::chargeLRminus
float chargeLRminus
Definition:
EventVariables.h:88
TrackStruct::TrackParameterStruct::phi
float phi
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::xTrk
float xTrk
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::errX2
float errX2
Definition:
EventVariables.h:93
TrackStruct::TrackParameterStruct::prob
float prob
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::maxIndex
unsigned int maxIndex
Definition:
EventVariables.h:87
TrackStruct::TrackParameterStruct::layersMissed
int layersMissed
Definition:
EventVariables.h:128
TrackStruct::TrackParameterStruct::dz
float dz
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::norResY
float norResY
Definition:
EventVariables.h:94
TrackStruct::HitParameterStruct::resX
float resX
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::isPixelHit
bool isPixelHit
Definition:
EventVariables.h:69
TrackStruct::HitParameterStruct::phiSens
float phiSens
Definition:
EventVariables.h:95
TrackStruct::HitParameterStruct::HitParameterStruct
HitParameterStruct()
Definition:
EventVariables.h:12
TrackStruct::HitState
HitState
Definition:
EventVariables.h:9
TrackStruct::HitParameterStruct::xHit
float xHit
Definition:
EventVariables.h:93
TrackStruct::TrackParameterStruct::meanPhiSensToNorm
float meanPhiSensToNorm
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::maxStrip
unsigned int maxStrip
Definition:
EventVariables.h:87
TrackStruct::HitParameterStruct::hasBadPixels
bool hasBadPixels
Definition:
EventVariables.h:82
TrackStruct::TrackParameterStruct::d0
float d0
Definition:
EventVariables.h:129
funct::true
true
Definition:
Factorize.h:173
TrackStruct::HitParameterStruct::errXWoApe
float errXWoApe
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::goodYMeasurement
bool goodYMeasurement
Definition:
EventVariables.h:70
TrackStruct::HitParameterStruct::isModuleUsable
bool isModuleUsable
Definition:
EventVariables.h:85
TrackStruct::HitParameterStruct::baryStripY
float baryStripY
Definition:
EventVariables.h:79
TrackStruct::TrackParameterStruct::pt
float pt
Definition:
EventVariables.h:129
TrackStruct::TrackParameterStruct::norChi2
float norChi2
Definition:
EventVariables.h:129
TrackStruct::v_hitParams
std::vector< HitParameterStruct > v_hitParams
Definition:
EventVariables.h:134
TrackStruct::HitParameterStruct::baryStripX
float baryStripX
Definition:
EventVariables.h:76
TrackStruct::HitParameterStruct::clusterProbabilityXY
float clusterProbabilityXY
Definition:
EventVariables.h:81
TrackStruct::HitParameterStruct::probY
float probY
Definition:
EventVariables.h:94
TrackStruct::HitParameterStruct::maxCharge
unsigned int maxCharge
Definition:
EventVariables.h:87
TrackStruct::trkParams
TrackParameterStruct trkParams
Definition:
EventVariables.h:133
TrackStruct::TrackParameterStruct::hitsInvalid
int hitsInvalid
Definition:
EventVariables.h:128
TrackStruct::notInTracker
Definition:
EventVariables.h:9
TrackStruct::TrackParameterStruct::chi2
float chi2
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::errXHit
float errXHit
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::yTrk
float yTrk
Definition:
EventVariables.h:94
TrackStruct::TrackParameterStruct::d0BeamspotErr
float d0BeamspotErr
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::isOnEdge
bool isOnEdge
Definition:
EventVariables.h:82
TrackStruct::TrackParameterStruct::theta
float theta
Definition:
EventVariables.h:129
TrackStruct::TrackParameterStruct::dzBeamspot
float dzBeamspot
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::probX
float probX
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::errYTrk
float errYTrk
Definition:
EventVariables.h:94
TrackStruct::TrackParameterStruct
Definition:
EventVariables.h:98
TrackStruct::HitParameterStruct::phiSensX
float phiSensX
Definition:
EventVariables.h:95
TrackStruct::HitParameterStruct::widthX
unsigned int widthX
Definition:
EventVariables.h:75
TrackStruct::HitParameterStruct::hitState
HitState hitState
Definition:
EventVariables.h:68
TrackStruct::HitParameterStruct::sOverN
float sOverN
Definition:
EventVariables.h:89
TrackStruct
Definition:
EventVariables.h:6
TrackStruct::HitParameterStruct::clusterProbabilityQ
float clusterProbabilityQ
Definition:
EventVariables.h:81
TrackStruct::HitParameterStruct::chargeLRplus
float chargeLRplus
Definition:
EventVariables.h:88
TrackStruct::TrackParameterStruct::dzErr
float dzErr
Definition:
EventVariables.h:129
TrackStruct::TrackParameterStruct::hitsPixel
int hitsPixel
Definition:
EventVariables.h:128
TrackStruct::TrackParameterStruct::etaErr
float etaErr
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::widthY
unsigned int widthY
Definition:
EventVariables.h:78
TrackStruct::TrackParameterStruct::hits2D
int hits2D
Definition:
EventVariables.h:128
TrackStruct::HitParameterStruct::maxStripInv
unsigned int maxStripInv
Definition:
EventVariables.h:87
TrackStruct::HitParameterStruct::errYHitWoApe
float errYHitWoApe
Definition:
EventVariables.h:94
TrackStruct::HitParameterStruct::qBin
int qBin
Definition:
EventVariables.h:83
TrackStruct::HitParameterStruct::errYHit
float errYHit
Definition:
EventVariables.h:94
TrackStruct::TrackParameterStruct::charge
int charge
Definition:
EventVariables.h:128
TrackStruct::negativeError
Definition:
EventVariables.h:9
TrackStruct::HitParameterStruct::chargeAsymmetry
float chargeAsymmetry
Definition:
EventVariables.h:88
TrackStruct::TrackParameterStruct::hitsStrip
int hitsStrip
Definition:
EventVariables.h:128
TrackStruct::TrackParameterStruct::phiErr
float phiErr
Definition:
EventVariables.h:129
TrackStruct::HitParameterStruct::goodXMeasurement
bool goodXMeasurement
Definition:
EventVariables.h:70
TrackStruct::HitParameterStruct::errXHitWoApe
float errXHitWoApe
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::norResX
float norResX
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::spansTwoRoc
bool spansTwoRoc
Definition:
EventVariables.h:82
TrackStruct::HitParameterStruct::errX
float errX
Definition:
EventVariables.h:93
TrackStruct::HitParameterStruct::errYWoApe
float errYWoApe
Definition:
EventVariables.h:94
TrackStruct::HitParameterStruct::chargeOnEdges
float chargeOnEdges
Definition:
EventVariables.h:88
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:163
TrackStruct::HitParameterStruct::chargeStrip
unsigned int chargeStrip
Definition:
EventVariables.h:86
TrackStruct::notAssignedToSectors
Definition:
EventVariables.h:9
TrackStruct::HitParameterStruct::resY
float resY
Definition:
EventVariables.h:94
Generated for CMSSW Reference Manual by
1.8.14