CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StateSegmentMatcher.h
Go to the documentation of this file.
1 #ifndef RecoMuon_GlobalTrackingTools_StateSegmentMatcher_h
2 #define RecoMuon_GlobalTrackingTools_StateSegmentMatcher_h
3 
22 
23 
24 class Tsos4D {
25  public:
26 
28 
29  // Returns the 4d vector
31 
32  // Returns the 4x4 covariance matrix
34 
35  private:
38 
39 };
40 
41 
42 
43 class Tsos2DPhi {
44  public:
45  // Constructor of the class
47 
48  // Returns the 2d vector
50 
51  // Returns the 2x2 covariance matrix
53 
54  private:
57 };
58 
59 
60 
61 class Tsos2DZed {
62  public:
63 
65 
66  // Returns the 2d vector
68 
69  // Returns the 2x2 covariance matrix
71 
72  private:
75 };
76 
77 
78 
80 
81  public:
82 
83  // Perform the matching between a track state and a CSC segment
85 
86  // Perform the matching between a track state and a DT segment
88 
89  // Returns the estimator value
90  double value();
91 
92  private:
93 
98  bool match2D;
99  double estValue;
100 
101  void setAPE4d(LocalError &apeLoc) {
102  ape[0][0] = 0; //sigma (dx/dz)
103  ape[1][1] = 0; //sigma (dy/dz)
104  ape[2][2] = apeLoc.xx(); //sigma (x)
105  ape[3][3] = apeLoc.yy(); //sigma (y)
106  ape[0][2] = 0; //cov(dx/dz,x)
107  ape[1][3] = 0; //cov(dy/dz,y)
108  };
109 
110  void setAPE2d(LocalError &apeLoc) {
111  ape_2d[0][0] = 0; //sigma (dx/dz)
112  ape_2d[1][1] = apeLoc.xx(); //sigma (x)
113  ape_2d[0][1] = 0; //cov(dx/dz,x)
114  };
115 };
116 
117 
118 #endif
119 
120 
AlgebraicSymMatrix22 errorMatrix() const
void setAPE2d(LocalError &apeLoc)
float xx() const
Definition: LocalError.h:24
StateSegmentMatcher(TrajectoryStateOnSurface *, CSCSegment *, LocalError *)
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
AlgebraicVector2 v1_2d
AlgebraicVector2 paramVector() const
Tsos4D(TrajectoryStateOnSurface *)
AlgebraicSymMatrix44 m2
AlgebraicVector2 paramVector() const
AlgebraicSymMatrix22 errorMatrix() const
Tsos2DZed(TrajectoryStateOnSurface *)
AlgebraicSymMatrix22 tsosErr_22_zed
AlgebraicVector4 tsos_4d
AlgebraicSymMatrix44 ape
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
AlgebraicSymMatrix44 m1
float yy() const
Definition: LocalError.h:26
AlgebraicSymMatrix22 m2_2d
AlgebraicVector2 tsos_2d_zed
AlgebraicSymMatrix44 tsosErr_44
AlgebraicSymMatrix22 tsosErr_22_phi
AlgebraicSymMatrix22 ape_2d
AlgebraicSymMatrix22 m1_2d
AlgebraicVector2 v2_2d
AlgebraicVector2 tsos_2d_phi
Tsos2DPhi(TrajectoryStateOnSurface *)
void setAPE4d(LocalError &apeLoc)
ROOT::Math::SVector< double, 4 > AlgebraicVector4
ROOT::Math::SVector< double, 2 > AlgebraicVector2
AlgebraicSymMatrix44 errorMatrix() const
AlgebraicVector4 paramVector() const