CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StateSegmentMatcher.h
Go to the documentation of this file.
1 #ifndef RecoMuon_GlobalTrackingTools_StateSegmentMatcher_h
2 #define RecoMuon_GlobalTrackingTools_StateSegmentMatcher_h
3 
21 
22 class Tsos4D {
23 public:
25 
26  // Returns the 4d vector
28 
29  // Returns the 4x4 covariance matrix
31 
32 private:
35 };
36 
37 class Tsos2DPhi {
38 public:
39  // Constructor of the class
41 
42  // Returns the 2d vector
44 
45  // Returns the 2x2 covariance matrix
47 
48 private:
51 };
52 
53 class Tsos2DZed {
54 public:
56 
57  // Returns the 2d vector
59 
60  // Returns the 2x2 covariance matrix
62 
63 private:
66 };
67 
69 public:
70  // Perform the matching between a track state and a CSC segment
72 
73  // Perform the matching between a track state and a DT segment
75 
76  // Returns the estimator value
77  double value();
78 
79 private:
84  bool match2D;
85  double estValue;
86 
87  void setAPE4d(LocalError const &apeLoc) {
88  ape[0][0] = 0; //sigma (dx/dz)
89  ape[1][1] = 0; //sigma (dy/dz)
90  ape[2][2] = apeLoc.xx(); //sigma (x)
91  ape[3][3] = apeLoc.yy(); //sigma (y)
92  ape[0][2] = 0; //cov(dx/dz,x)
93  ape[1][3] = 0; //cov(dy/dz,y)
94  };
95 
96  void setAPE2d(LocalError const &apeLoc) {
97  ape_2d[0][0] = 0; //sigma (dx/dz)
98  ape_2d[1][1] = apeLoc.xx(); //sigma (x)
99  ape_2d[0][1] = 0; //cov(dx/dz,x)
100  };
101 };
102 
103 #endif
AlgebraicSymMatrix22 errorMatrix() const
float xx() const
Definition: LocalError.h:22
AlgebraicVector2 v1_2d
AlgebraicVector2 paramVector() const
AlgebraicSymMatrix44 m2
Tsos4D(TrajectoryStateOnSurface const &)
AlgebraicVector2 paramVector() const
AlgebraicSymMatrix22 errorMatrix() const
AlgebraicSymMatrix22 tsosErr_22_zed
AlgebraicVector4 tsos_4d
AlgebraicSymMatrix44 ape
ROOT::Math::SVector< double, 2 > AlgebraicVector2
AlgebraicSymMatrix44 m1
float yy() const
Definition: LocalError.h:24
AlgebraicSymMatrix22 m2_2d
Tsos2DZed(TrajectoryStateOnSurface const &)
void setAPE2d(LocalError const &apeLoc)
AlgebraicVector2 tsos_2d_zed
AlgebraicSymMatrix44 tsosErr_44
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
AlgebraicSymMatrix22 tsosErr_22_phi
ROOT::Math::SVector< double, 4 > AlgebraicVector4
AlgebraicSymMatrix22 ape_2d
AlgebraicSymMatrix22 m1_2d
AlgebraicVector2 v2_2d
Tsos2DPhi(TrajectoryStateOnSurface const &)
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
AlgebraicVector2 tsos_2d_phi
StateSegmentMatcher(TrajectoryStateOnSurface const &, CSCSegment const &, LocalError const &)
AlgebraicSymMatrix44 errorMatrix() const
AlgebraicVector4 paramVector() const
void setAPE4d(LocalError const &apeLoc)