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{
7 
9 
11 
13 
18  widthX(0),
19  baryStripX(-999.F),
20  widthY(0),
21  baryStripY(-999.F),
22  chargePixel(-999.F),
26  qBin(-1),
28  chargeStrip(0),
29  maxStrip(0), maxStripInv(0), maxCharge(0), maxIndex(0),
30  chargeOnEdges(-999.F), chargeAsymmetry(-999.F),
31  chargeLRplus(-999.F), chargeLRminus(-999.F),
32  sOverN(-999.F),
33  projWidth(-999.F),
34  resX(-999.F), norResX(-999.F), xHit(-999.F), xTrk(-999.F),
35  errXHit(-999.F), errXTrk(-999.F), errX(-999.F), errX2(-999.F),
36  errXHitWoApe(-999.F), errXWoApe(-999.F),
37  probX(-999.F),
38  resY(-999.F), norResY(-999.F), yHit(-999.F), yTrk(-999.F),
39  errYHit(-999.F), errYTrk(-999.F), errY(-999.F), errY2(-999.F),
40  errYHitWoApe(-999.F), errYWoApe(-999.F),
41  probY(-999.F),
42  phiSens(-999.F), phiSensX(-999.F), phiSensY(-999.F){}
43 
45  bool isPixelHit;
47  std::vector<unsigned int> v_sector;
48 
49  // Cluster parameters
50  // pixel+strip
51  unsigned int widthX;
52  float baryStripX;
53  // pixel only
54  unsigned int widthY;
55  float baryStripY;
56  float chargePixel;
60  int qBin;
61  // strip only
63  unsigned int chargeStrip;
67  float sOverN;
68  float projWidth;
69 
70  // trackFit results
71  float resX, norResX, xHit, xTrk,
74  probX;
75  float resY, norResY, yHit, yTrk,
78  probY;
80  };
81 
83 
84  TrackParameterStruct(): hitsSize(-999), hitsValid(-999), hitsInvalid(-999),
85  hits2D(-999), layersMissed(-999),
86  hitsPixel(-999), hitsStrip(-999),
87  charge(-999),
88  chi2(-999.F), ndof(-999.F), norChi2(-999.F), prob(-999.F),
89  eta(-999.F), etaErr(-999.F), theta(-999.F),
90  phi(-999.F), phiErr(-999.F),
91  d0(-999.F), d0Beamspot(-999.F), d0BeamspotErr(-999.F),
92  dz(-999.F), dzErr(-999.F), dzBeamspot(-999.F),
93  p(-999.F), pt(-999.F), ptErr(-999.F),
94  meanPhiSensToNorm(-999.F){}
95 
96  int hitsSize, hitsValid, hitsInvalid,
97  hits2D, layersMissed,
98  hitsPixel, hitsStrip,
99  charge;
100  float chi2, ndof, norChi2, prob,
101  eta, etaErr, theta,
102  phi, phiErr,
103  d0, d0Beamspot, d0BeamspotErr,
104  dz, dzErr, dzBeamspot,
105  p, pt, ptErr,
106  meanPhiSensToNorm;
107  };
108 
110  std::vector<HitParameterStruct> v_hitParams;
111 };
112 
113 #endif
std::vector< unsigned int > v_sector
Geom::Theta< T > theta() const
std::vector< HitParameterStruct > v_hitParams
TrackParameterStruct trkParams
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281