CMS 3D CMS Logo

StateSegmentMatcher.h
Go to the documentation of this file.
1 #ifndef RecoMuon_GlobalTrackingTools_StateSegmentMatcher_h
2 #define RecoMuon_GlobalTrackingTools_StateSegmentMatcher_h
3 
21 
22 
23 class Tsos4D {
24  public:
25 
27 
28  // Returns the 4d vector
30 
31  // Returns the 4x4 covariance matrix
33 
34  private:
37 
38 };
39 
40 
41 
42 class Tsos2DPhi {
43  public:
44  // Constructor of the class
46 
47  // Returns the 2d vector
49 
50  // Returns the 2x2 covariance matrix
52 
53  private:
56 };
57 
58 
59 
60 class Tsos2DZed {
61  public:
62 
64 
65  // Returns the 2d vector
67 
68  // Returns the 2x2 covariance matrix
70 
71  private:
74 };
75 
76 
77 
79 
80  public:
81 
82  // Perform the matching between a track state and a CSC segment
84 
85  // Perform the matching between a track state and a DT segment
87 
88  // Returns the estimator value
89  double value();
90 
91  private:
92 
96  AlgebraicSymMatrix22 m1_2d, m2_2d, ape_2d;
97  bool match2D;
98  double estValue;
99 
100  void setAPE4d(LocalError const &apeLoc) {
101  ape[0][0] = 0; //sigma (dx/dz)
102  ape[1][1] = 0; //sigma (dy/dz)
103  ape[2][2] = apeLoc.xx(); //sigma (x)
104  ape[3][3] = apeLoc.yy(); //sigma (y)
105  ape[0][2] = 0; //cov(dx/dz,x)
106  ape[1][3] = 0; //cov(dy/dz,y)
107  };
108 
109  void setAPE2d(LocalError const &apeLoc) {
110  ape_2d[0][0] = 0; //sigma (dx/dz)
111  ape_2d[1][1] = apeLoc.xx(); //sigma (x)
112  ape_2d[0][1] = 0; //cov(dx/dz,x)
113  };
114 };
115 
116 
117 #endif
118 
119 
float xx() const
Definition: LocalError.h:24
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
AlgebraicSymMatrix44 m2
Tsos4D(TrajectoryStateOnSurface const &)
AlgebraicSymMatrix22 tsosErr_22_zed
AlgebraicVector4 tsos_4d
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
float yy() const
Definition: LocalError.h:26
AlgebraicSymMatrix22 m2_2d
void setAPE2d(LocalError const &apeLoc)
AlgebraicVector2 tsos_2d_zed
AlgebraicSymMatrix44 tsosErr_44
AlgebraicSymMatrix22 tsosErr_22_phi
AlgebraicVector2 v2_2d
AlgebraicVector2 tsos_2d_phi
ROOT::Math::SVector< double, 4 > AlgebraicVector4
ROOT::Math::SVector< double, 2 > AlgebraicVector2
AlgebraicSymMatrix44 errorMatrix() const
AlgebraicVector4 paramVector() const
void setAPE4d(LocalError const &apeLoc)