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 
5 struct TrackStruct{
6 
8 
10 
12 
17  widthX(0),
18  baryStripX(-999.F),
19  widthY(0),
20  baryStripY(-999.F),
21  chargePixel(-999.F),
25  qBin(-1),
27  chargeStrip(0),
28  maxStrip(0), maxStripInv(0), maxCharge(0), maxIndex(0),
29  chargeOnEdges(-999.F), chargeAsymmetry(-999.F),
30  chargeLRplus(-999.F), chargeLRminus(-999.F),
31  sOverN(-999.F),
32  projWidth(-999.F),
33  resX(-999.F), norResX(-999.F), xHit(-999.F), xTrk(-999.F),
34  errXHit(-999.F), errXTrk(-999.F), errX(-999.F), errX2(-999.F),
35  errXHitWoApe(-999.F), errXWoApe(-999.F),
36  probX(-999.F),
37  resY(-999.F), norResY(-999.F), yHit(-999.F), yTrk(-999.F),
38  errYHit(-999.F), errYTrk(-999.F), errY(-999.F), errY2(-999.F),
39  errYHitWoApe(-999.F), errYWoApe(-999.F),
40  probY(-999.F),
41  phiSens(-999.F), phiSensX(-999.F), phiSensY(-999.F){}
42 
44  bool isPixelHit;
46  std::vector<unsigned int> v_sector;
47 
48  // Cluster parameters
49  // pixel+strip
50  unsigned int widthX;
51  float baryStripX;
52  // pixel only
53  unsigned int widthY;
54  float baryStripY;
55  float chargePixel;
59  int qBin;
60  // strip only
62  unsigned int chargeStrip;
66  float sOverN;
67  float projWidth;
68 
69  // trackFit results
70  float resX, norResX, xHit, xTrk,
73  probX;
74  float resY, norResY, yHit, yTrk,
77  probY;
79  };
80 
82 
83  TrackParameterStruct(): hitsSize(-999), hitsValid(-999), hitsInvalid(-999),
84  hits2D(-999), layersMissed(-999),
85  hitsPixel(-999), hitsStrip(-999),
86  charge(-999),
87  chi2(-999.F), ndof(-999.F), norChi2(-999.F), prob(-999.F),
88  eta(-999.F), etaErr(-999.F), theta(-999.F),
89  phi(-999.F), phiErr(-999.F),
90  d0(-999.F), d0Beamspot(-999.F), d0BeamspotErr(-999.F),
91  dz(-999.F), dzErr(-999.F), dzBeamspot(-999.F),
92  p(-999.F), pt(-999.F), ptErr(-999.F),
93  meanPhiSensToNorm(-999.F){}
94 
95  int hitsSize, hitsValid, hitsInvalid,
96  hits2D, layersMissed,
97  hitsPixel, hitsStrip,
98  charge;
99  float chi2, ndof, norChi2, prob,
100  eta, etaErr, theta,
101  phi, phiErr,
102  d0, d0Beamspot, d0BeamspotErr,
103  dz, dzErr, dzBeamspot,
104  p, pt, ptErr,
105  meanPhiSensToNorm;
106  };
107 
109  std::vector<HitParameterStruct> v_hitParams;
110 };
111 
112 #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