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.

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 }

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

Member Function Documentation

◆ errorMatrix()

AlgebraicSymMatrix22 Tsos2DPhi::errorMatrix ( ) const

Definition at line 178 of file StateSegmentMatcher.cc.

178 { return tsosErr_22_phi; }

Referenced by StateSegmentMatcher::StateSegmentMatcher().

◆ paramVector()

AlgebraicVector2 Tsos2DPhi::paramVector ( ) const

Definition at line 176 of file StateSegmentMatcher.cc.

176 { return tsos_2d_phi; }

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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.

Tsos2DPhi::tsos_2d_phi
AlgebraicVector2 tsos_2d_phi
Definition: StateSegmentMatcher.h:49
AlgebraicVector5
ROOT::Math::SVector< double, 5 > AlgebraicVector5
Definition: AlgebraicROOTObjects.h:14
Tsos2DPhi::tsosErr_22_phi
AlgebraicSymMatrix22 tsosErr_22_phi
Definition: StateSegmentMatcher.h:50
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition: AlgebraicROOTObjects.h:23