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 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
StateSegmentMatcher::StateSegmentMatcher
StateSegmentMatcher(TrajectoryStateOnSurface const &, CSCSegment const &, LocalError const &)
Definition: StateSegmentMatcher.cc:76
StateSegmentMatcher::v2_2d
AlgebraicVector2 v2_2d
Definition: StateSegmentMatcher.h:82
TrajectoryStateOnSurface.h
DTRecSegment4D
Definition: DTRecSegment4D.h:23
AlgebraicObjects.h
StateSegmentMatcher::v2
AlgebraicVector4 v2
Definition: StateSegmentMatcher.h:80
StateSegmentMatcher::estValue
double estValue
Definition: StateSegmentMatcher.h:85
Tsos2DPhi::errorMatrix
AlgebraicSymMatrix22 errorMatrix() const
Definition: StateSegmentMatcher.cc:178
Tsos4D
Definition: StateSegmentMatcher.h:22
StateSegmentMatcher::setAPE4d
void setAPE4d(LocalError const &apeLoc)
Definition: StateSegmentMatcher.h:87
StateSegmentMatcher::v1
AlgebraicVector4 v1
Definition: StateSegmentMatcher.h:80
StateSegmentMatcher::m1_2d
AlgebraicSymMatrix22 m1_2d
Definition: StateSegmentMatcher.h:83
Tsos4D::tsos_4d
AlgebraicVector4 tsos_4d
Definition: StateSegmentMatcher.h:33
Tsos2DPhi::Tsos2DPhi
Tsos2DPhi(TrajectoryStateOnSurface const &)
Definition: StateSegmentMatcher.cc:164
StateSegmentMatcher::setAPE2d
void setAPE2d(LocalError const &apeLoc)
Definition: StateSegmentMatcher.h:96
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
LocalError.h
LocalError::xx
float xx() const
Definition: LocalError.h:22
Tsos4D::errorMatrix
AlgebraicSymMatrix44 errorMatrix() const
Definition: StateSegmentMatcher.cc:162
Tsos2DZed::Tsos2DZed
Tsos2DZed(TrajectoryStateOnSurface const &)
Definition: StateSegmentMatcher.cc:180
Tsos4D::tsosErr_44
AlgebraicSymMatrix44 tsosErr_44
Definition: StateSegmentMatcher.h:34
Tsos2DZed::tsosErr_22_zed
AlgebraicSymMatrix22 tsosErr_22_zed
Definition: StateSegmentMatcher.h:65
CSCSegment
Definition: CSCSegment.h:21
Tsos2DPhi::tsos_2d_phi
AlgebraicVector2 tsos_2d_phi
Definition: StateSegmentMatcher.h:49
StateSegmentMatcher::ape_2d
AlgebraicSymMatrix22 ape_2d
Definition: StateSegmentMatcher.h:83
StateSegmentMatcher::ape
AlgebraicSymMatrix44 ape
Definition: StateSegmentMatcher.h:81
Tsos2DZed
Definition: StateSegmentMatcher.h:53
LocalError
Definition: LocalError.h:12
AlgebraicVector2
ROOT::Math::SVector< double, 2 > AlgebraicVector2
Definition: AlgebraicROOTObjects.h:11
Tsos2DZed::tsos_2d_zed
AlgebraicVector2 tsos_2d_zed
Definition: StateSegmentMatcher.h:64
Tsos2DPhi::paramVector
AlgebraicVector2 paramVector() const
Definition: StateSegmentMatcher.cc:176
Tsos2DZed::paramVector
AlgebraicVector2 paramVector() const
Definition: StateSegmentMatcher.cc:192
DTRecSegment4D.h
Tsos2DZed::errorMatrix
AlgebraicSymMatrix22 errorMatrix() const
Definition: StateSegmentMatcher.cc:194
ChamberSegmentUtility.h
Tsos2DPhi::tsosErr_22_phi
AlgebraicSymMatrix22 tsosErr_22_phi
Definition: StateSegmentMatcher.h:50
AlgebraicSymMatrix44
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
Definition: AlgebraicROOTObjects.h:22
StateSegmentMatcher::m2
AlgebraicSymMatrix44 m2
Definition: StateSegmentMatcher.h:81
AlgebraicVector4
ROOT::Math::SVector< double, 4 > AlgebraicVector4
Definition: AlgebraicROOTObjects.h:13
Tsos2DPhi
Definition: StateSegmentMatcher.h:37
StateSegmentMatcher::m2_2d
AlgebraicSymMatrix22 m2_2d
Definition: StateSegmentMatcher.h:83
StateSegmentMatcher
Definition: StateSegmentMatcher.h:68
Tsos4D::paramVector
AlgebraicVector4 paramVector() const
Definition: StateSegmentMatcher.cc:160
LocalPoint.h
StateSegmentMatcher::v1_2d
AlgebraicVector2 v1_2d
Definition: StateSegmentMatcher.h:82
Tsos4D::Tsos4D
Tsos4D(TrajectoryStateOnSurface const &)
Definition: StateSegmentMatcher.cc:134
StateSegmentMatcher::match2D
bool match2D
Definition: StateSegmentMatcher.h:84
StateSegmentMatcher::value
double value()
Definition: StateSegmentMatcher.cc:110
StateSegmentMatcher::m1
AlgebraicSymMatrix44 m1
Definition: StateSegmentMatcher.h:81
LocalError::yy
float yy() const
Definition: LocalError.h:24
AlgebraicSymMatrix22
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
Definition: AlgebraicROOTObjects.h:20