CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Tsos2DPhi Class Reference

#include <StateSegmentMatcher.h>

Public Member Functions

AlgebraicSymMatrix22 errorMatrix () const
 
AlgebraicVector2 paramVector () const
 
 Tsos2DPhi (TrajectoryStateOnSurface const &)
 

Private Attributes

AlgebraicVector2 tsos_2d_phi
 
AlgebraicSymMatrix22 tsosErr_22_phi
 

Detailed Description

Definition at line 37 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

◆ Tsos2DPhi()

Tsos2DPhi::Tsos2DPhi ( TrajectoryStateOnSurface const &  tsos)

Definition at line 164 of file StateSegmentMatcher.cc.

References TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LocalTrajectoryError::matrix(), and LocalTrajectoryParameters::vector().

164  {
165  AlgebraicVector5 tsos_v = tsos.localParameters().vector();
166  tsos_2d_phi[0] = tsos_v[1];
167  tsos_2d_phi[1] = tsos_v[3];
168 
169  AlgebraicSymMatrix55 E = tsos.localError().matrix();
170  tsosErr_22_phi(0, 0) = E(1, 1);
171  tsosErr_22_phi(0, 1) = E(1, 3);
172  tsosErr_22_phi(1, 0) = E(3, 1);
173  tsosErr_22_phi(1, 1) = E(3, 3);
174 }
ROOT::Math::SVector< double, 5 > AlgebraicVector5
AlgebraicSymMatrix22 tsosErr_22_phi
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicVector2 tsos_2d_phi

Member Function Documentation

◆ errorMatrix()

AlgebraicSymMatrix22 Tsos2DPhi::errorMatrix ( ) const

Definition at line 178 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

178 { return tsosErr_22_phi; }
AlgebraicSymMatrix22 tsosErr_22_phi

◆ paramVector()

AlgebraicVector2 Tsos2DPhi::paramVector ( ) const

Definition at line 176 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

176 { return tsos_2d_phi; }
AlgebraicVector2 tsos_2d_phi

Member Data Documentation

◆ tsos_2d_phi

AlgebraicVector2 Tsos2DPhi::tsos_2d_phi
private

Definition at line 49 of file StateSegmentMatcher.h.

◆ tsosErr_22_phi

AlgebraicSymMatrix22 Tsos2DPhi::tsosErr_22_phi
private

Definition at line 50 of file StateSegmentMatcher.h.