CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
Tsos2DZed Class Reference

#include <StateSegmentMatcher.h>

Public Member Functions

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

Private Attributes

AlgebraicVector2 tsos_2d_zed
 
AlgebraicSymMatrix22 tsosErr_22_zed
 

Detailed Description

Definition at line 60 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

Tsos2DZed::Tsos2DZed ( TrajectoryStateOnSurface const &  tsos)

Definition at line 156 of file StateSegmentMatcher.cc.

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

157 {
158  AlgebraicVector5 tsos_v = tsos.localParameters().vector();
159  tsos_2d_zed[0] = tsos_v[2];
160  tsos_2d_zed[1] = tsos_v[4];
161 
162  AlgebraicSymMatrix55 E = tsos.localError().matrix();
163  tsosErr_22_zed(0,0) = E(2,2);tsosErr_22_zed(0,1) = E(2,4);
164  tsosErr_22_zed(1,0) = E(4,2);tsosErr_22_zed(1,1) = E(4,4);
165 }
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicSymMatrix22 tsosErr_22_zed
AlgebraicVector2 tsos_2d_zed
ROOT::Math::SVector< double, 5 > AlgebraicVector5

Member Function Documentation

AlgebraicSymMatrix22 Tsos2DZed::errorMatrix ( ) const

Definition at line 171 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

171 {return tsosErr_22_zed;}
AlgebraicSymMatrix22 tsosErr_22_zed
AlgebraicVector2 Tsos2DZed::paramVector ( ) const

Definition at line 168 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

168 {return tsos_2d_zed;}
AlgebraicVector2 tsos_2d_zed

Member Data Documentation

AlgebraicVector2 Tsos2DZed::tsos_2d_zed
private

Definition at line 72 of file StateSegmentMatcher.h.

AlgebraicSymMatrix22 Tsos2DZed::tsosErr_22_zed
private

Definition at line 73 of file StateSegmentMatcher.h.