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 *)
 

Private Attributes

AlgebraicVector2 tsos_2d_zed
 
AlgebraicSymMatrix22 tsosErr_22_zed
 

Detailed Description

Definition at line 61 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

Tsos2DZed::Tsos2DZed ( TrajectoryStateOnSurface tsos)

Definition at line 165 of file StateSegmentMatcher.cc.

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

166 {
167  AlgebraicVector5 tsos_v = tsos->localParameters().vector();
168  tsos_2d_zed[0] = tsos_v[2];
169  tsos_2d_zed[1] = tsos_v[4];
170 
171  AlgebraicSymMatrix55 E = tsos->localError().matrix();
172  tsosErr_22_zed(0,0) = E(2,2);tsosErr_22_zed(0,1) = E(2,4);
173  tsosErr_22_zed(1,0) = E(4,2);tsosErr_22_zed(1,1) = E(4,4);
174 }
const LocalTrajectoryParameters & localParameters() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicVector5 vector() const
AlgebraicSymMatrix22 tsosErr_22_zed
AlgebraicVector2 tsos_2d_zed
const AlgebraicSymMatrix55 & matrix() const
const LocalTrajectoryError & localError() const
ROOT::Math::SVector< double, 5 > AlgebraicVector5

Member Function Documentation

AlgebraicSymMatrix22 Tsos2DZed::errorMatrix ( ) const

Definition at line 180 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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

Definition at line 177 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

177 {return tsos_2d_zed;}
AlgebraicVector2 tsos_2d_zed

Member Data Documentation

AlgebraicVector2 Tsos2DZed::tsos_2d_zed
private

Definition at line 73 of file StateSegmentMatcher.h.

AlgebraicSymMatrix22 Tsos2DZed::tsosErr_22_zed
private

Definition at line 74 of file StateSegmentMatcher.h.