CMS 3D CMS Logo

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 {
8 
10 
13  : hitState(ok),
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),
26  isOnEdge(false),
29  qBin(-1),
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 
69  bool isPixelHit;
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;
83  int qBin;
84  // strip only
86  unsigned int chargeStrip;
89  float sOverN;
90  float projWidth;
91 
92  // trackFit results
96  };
97 
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 
131  };
132 
134  std::vector<HitParameterStruct> v_hitParams;
135 };
136 
137 #endif
TrackStruct::HitParameterStruct::isOnEdge
bool isOnEdge
Definition: EventVariables.h:82
TrackStruct::TrackParameterStruct::p
float p
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::maxCharge
unsigned int maxCharge
Definition: EventVariables.h:87
TrackStruct::HitParameterStruct::probY
float probY
Definition: EventVariables.h:94
TrackStruct::TrackParameterStruct::hitsPixel
int hitsPixel
Definition: EventVariables.h:128
TrackStruct::trkParams
TrackParameterStruct trkParams
Definition: EventVariables.h:133
TrackStruct::invalid
Definition: EventVariables.h:9
funct::false
false
Definition: Factorize.h:29
TrackStruct::HitParameterStruct::probX
float probX
Definition: EventVariables.h:93
TrackStruct::TrackParameterStruct::dzBeamspot
float dzBeamspot
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::phiSensX
float phiSensX
Definition: EventVariables.h:95
TrackStruct::HitParameterStruct::widthX
unsigned int widthX
Definition: EventVariables.h:75
TrackStruct::HitParameterStruct::sOverN
float sOverN
Definition: EventVariables.h:89
TrackStruct::HitState
HitState
Definition: EventVariables.h:9
TrackStruct::HitParameterStruct::errYTrk
float errYTrk
Definition: EventVariables.h:94
TrackStruct::TrackParameterStruct::ptErr
float ptErr
Definition: EventVariables.h:129
TrackStruct::notInTracker
Definition: EventVariables.h:9
TrackStruct::HitParameterStruct::widthY
unsigned int widthY
Definition: EventVariables.h:78
TrackStruct::HitParameterStruct::errYHitWoApe
float errYHitWoApe
Definition: EventVariables.h:94
TrackStruct::TrackParameterStruct::ndof
float ndof
Definition: EventVariables.h:129
TrackStruct::TrackParameterStruct::hitsValid
int hitsValid
Definition: EventVariables.h:128
TrackStruct::HitParameterStruct::errYHit
float errYHit
Definition: EventVariables.h:94
TrackStruct::HitParameterStruct::hitState
HitState hitState
Definition: EventVariables.h:68
TrackStruct::TrackParameterStruct::hitsInvalid
int hitsInvalid
Definition: EventVariables.h:128
TrackStruct::HitParameterStruct::clusterProbabilityQ
float clusterProbabilityQ
Definition: EventVariables.h:81
TrackStruct::TrackParameterStruct::pt
float pt
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::goodXMeasurement
bool goodXMeasurement
Definition: EventVariables.h:70
TrackStruct::HitParameterStruct::chargeLRplus
float chargeLRplus
Definition: EventVariables.h:88
TrackStruct::TrackParameterStruct::prob
float prob
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::norResX
float norResX
Definition: EventVariables.h:93
TrackStruct::TrackParameterStruct::hits2D
int hits2D
Definition: EventVariables.h:128
TrackStruct::TrackParameterStruct::d0BeamspotErr
float d0BeamspotErr
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::spansTwoRoc
bool spansTwoRoc
Definition: EventVariables.h:82
TrackStruct::HitParameterStruct::errX
float errX
Definition: EventVariables.h:93
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
TrackStruct::HitParameterStruct::maxStripInv
unsigned int maxStripInv
Definition: EventVariables.h:87
TrackStruct::HitParameterStruct::qBin
int qBin
Definition: EventVariables.h:83
TrackStruct::TrackParameterStruct::layersMissed
int layersMissed
Definition: EventVariables.h:128
TrackStruct::HitParameterStruct::chargeAsymmetry
float chargeAsymmetry
Definition: EventVariables.h:88
TrackStruct::HitParameterStruct::chargeOnEdges
float chargeOnEdges
Definition: EventVariables.h:88
TrackStruct::HitParameterStruct::errXHitWoApe
float errXHitWoApe
Definition: EventVariables.h:93
TrackStruct::TrackStruct
TrackStruct()
Definition: EventVariables.h:7
TrackStruct
Definition: EventVariables.h:6
TrackStruct::TrackParameterStruct
Definition: EventVariables.h:98
TrackStruct::HitParameterStruct::resY
float resY
Definition: EventVariables.h:94
TrackStruct::TrackParameterStruct::d0
float d0
Definition: EventVariables.h:129
TrackStruct::v_hitParams
std::vector< HitParameterStruct > v_hitParams
Definition: EventVariables.h:134
TrackStruct::TrackParameterStruct::meanPhiSensToNorm
float meanPhiSensToNorm
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::errYWoApe
float errYWoApe
Definition: EventVariables.h:94
TrackStruct::HitParameterStruct::chargeStrip
unsigned int chargeStrip
Definition: EventVariables.h:86
TrackStruct::negativeError
Definition: EventVariables.h:9
TrackStruct::TrackParameterStruct::dzErr
float dzErr
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::v_sector
std::vector< unsigned int > v_sector
Definition: EventVariables.h:71
TrackStruct::TrackParameterStruct::phi
float phi
Definition: EventVariables.h:129
funct::true
true
Definition: Factorize.h:173
TrackStruct::HitParameterStruct::logClusterProbability
float logClusterProbability
Definition: EventVariables.h:81
TrackStruct::TrackParameterStruct::phiErr
float phiErr
Definition: EventVariables.h:129
TrackStruct::TrackParameterStruct::dz
float dz
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::clusterProbabilityXYQ
float clusterProbabilityXYQ
Definition: EventVariables.h:81
TrackStruct::HitParameterStruct::chargePixel
float chargePixel
Definition: EventVariables.h:80
TrackStruct::HitParameterStruct::errXTrk
float errXTrk
Definition: EventVariables.h:93
TrackStruct::HitParameterStruct::errY2
float errY2
Definition: EventVariables.h:94
TrackStruct::HitParameterStruct::phiSensY
float phiSensY
Definition: EventVariables.h:95
TrackStruct::TrackParameterStruct::chi2
float chi2
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::projWidth
float projWidth
Definition: EventVariables.h:90
TrackStruct::HitParameterStruct::errY
float errY
Definition: EventVariables.h:94
TrackStruct::HitParameterStruct::yHit
float yHit
Definition: EventVariables.h:94
TrackStruct::TrackParameterStruct::d0Beamspot
float d0Beamspot
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct
Definition: EventVariables.h:11
TrackStruct::HitParameterStruct::chargeLRminus
float chargeLRminus
Definition: EventVariables.h:88
TrackStruct::HitParameterStruct::errX2
float errX2
Definition: EventVariables.h:93
TrackStruct::notAssignedToSectors
Definition: EventVariables.h:9
TrackStruct::HitParameterStruct::norResY
float norResY
Definition: EventVariables.h:94
TrackStruct::TrackParameterStruct::TrackParameterStruct
TrackParameterStruct()
Definition: EventVariables.h:99
TrackStruct::HitParameterStruct::HitParameterStruct
HitParameterStruct()
Definition: EventVariables.h:12
TrackStruct::HitParameterStruct::xTrk
float xTrk
Definition: EventVariables.h:93
TrackStruct::TrackParameterStruct::theta
float theta
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::maxIndex
unsigned int maxIndex
Definition: EventVariables.h:87
TrackStruct::HitParameterStruct::resX
float resX
Definition: EventVariables.h:93
TrackStruct::HitParameterStruct::isPixelHit
bool isPixelHit
Definition: EventVariables.h:69
TrackStruct::HitParameterStruct::maxStrip
unsigned int maxStrip
Definition: EventVariables.h:87
TrackStruct::HitParameterStruct::hasBadPixels
bool hasBadPixels
Definition: EventVariables.h:82
TrackStruct::HitParameterStruct::phiSens
float phiSens
Definition: EventVariables.h:95
TrackStruct::ok
Definition: EventVariables.h:9
TrackStruct::HitParameterStruct::goodYMeasurement
bool goodYMeasurement
Definition: EventVariables.h:70
TrackStruct::HitParameterStruct::isModuleUsable
bool isModuleUsable
Definition: EventVariables.h:85
TrackStruct::HitParameterStruct::xHit
float xHit
Definition: EventVariables.h:93
TrackStruct::TrackParameterStruct::norChi2
float norChi2
Definition: EventVariables.h:129
TrackStruct::TrackParameterStruct::charge
int charge
Definition: EventVariables.h:128
TrackStruct::TrackParameterStruct::etaErr
float etaErr
Definition: EventVariables.h:129
TrackStruct::TrackParameterStruct::hitsStrip
int hitsStrip
Definition: EventVariables.h:128
TrackStruct::HitParameterStruct::clusterProbabilityXY
float clusterProbabilityXY
Definition: EventVariables.h:81
TrackStruct::TrackParameterStruct::eta
float eta
Definition: EventVariables.h:129
TrackStruct::HitParameterStruct::errXWoApe
float errXWoApe
Definition: EventVariables.h:93
TrackStruct::HitParameterStruct::baryStripY
float baryStripY
Definition: EventVariables.h:79
TrackStruct::TrackParameterStruct::hitsSize
int hitsSize
Definition: EventVariables.h:128
TrackStruct::HitParameterStruct::errXHit
float errXHit
Definition: EventVariables.h:93
TrackStruct::HitParameterStruct::baryStripX
float baryStripX
Definition: EventVariables.h:76
TrackStruct::HitParameterStruct::yTrk
float yTrk
Definition: EventVariables.h:94