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 
24 
25 
26 class Tsos4D {
27  public:
28 
30 
31  // Returns the 4d vector
33 
34  // Returns the 4x4 covariance matrix
36 
37  private:
40 
41 };
42 
43 
44 
45 class Tsos2DPhi {
46  public:
47  // Constructor of the class
49 
50  // Returns the 2d vector
52 
53  // Returns the 2x2 covariance matrix
55 
56  private:
59 };
60 
61 
62 
63 class Tsos2DZed {
64  public:
65 
67 
68  // Returns the 2d vector
70 
71  // Returns the 2x2 covariance matrix
73 
74  private:
77 };
78 
79 
80 
82 
83  public:
84 
85  // Perform the matching between a track state and a CSC segment
87 
88  // Perform the matching between a track state and a DT segment
90 
91  // Returns the estimator value
92  double value();
93 
94  private:
95 
100  bool match2D;
101  double estValue;
102 
103  void setAPE4d(LocalError &apeLoc) {
104  ape[0][0] = 0; //sigma (dx/dz)
105  ape[1][1] = 0; //sigma (dy/dz)
106  ape[2][2] = apeLoc.xx(); //sigma (x)
107  ape[3][3] = apeLoc.yy(); //sigma (y)
108  ape[0][2] = 0; //cov(dx/dz,x)
109  ape[1][3] = 0; //cov(dy/dz,y)
110  };
111 
112  void setAPE2d(LocalError &apeLoc) {
113  ape_2d[0][0] = 0; //sigma (dx/dz)
114  ape_2d[1][1] = apeLoc.xx(); //sigma (x)
115  ape_2d[0][1] = 0; //cov(dx/dz,x)
116  };
117 };
118 
119 
120 #endif
121 
122 
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