CMS 3D CMS Logo

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 53 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

◆ Tsos2DZed()

Tsos2DZed::Tsos2DZed ( TrajectoryStateOnSurface const &  tsos)

Definition at line 180 of file StateSegmentMatcher.cc.

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

180  {
181  AlgebraicVector5 tsos_v = tsos.localParameters().vector();
182  tsos_2d_zed[0] = tsos_v[2];
183  tsos_2d_zed[1] = tsos_v[4];
184 
185  AlgebraicSymMatrix55 E = tsos.localError().matrix();
186  tsosErr_22_zed(0, 0) = E(2, 2);
187  tsosErr_22_zed(0, 1) = E(2, 4);
188  tsosErr_22_zed(1, 0) = E(4, 2);
189  tsosErr_22_zed(1, 1) = E(4, 4);
190 }
AlgebraicSymMatrix22 tsosErr_22_zed
ROOT::Math::SVector< double, 5 > AlgebraicVector5
AlgebraicVector2 tsos_2d_zed
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55

Member Function Documentation

◆ errorMatrix()

AlgebraicSymMatrix22 Tsos2DZed::errorMatrix ( ) const

Definition at line 194 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

194 { return tsosErr_22_zed; }
AlgebraicSymMatrix22 tsosErr_22_zed

◆ paramVector()

AlgebraicVector2 Tsos2DZed::paramVector ( ) const

Definition at line 192 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

192 { return tsos_2d_zed; }
AlgebraicVector2 tsos_2d_zed

Member Data Documentation

◆ tsos_2d_zed

AlgebraicVector2 Tsos2DZed::tsos_2d_zed
private

Definition at line 64 of file StateSegmentMatcher.h.

◆ tsosErr_22_zed

AlgebraicSymMatrix22 Tsos2DZed::tsosErr_22_zed
private

Definition at line 65 of file StateSegmentMatcher.h.