CMS 3D CMS Logo

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

#include <StateSegmentMatcher.h>

Public Member Functions

AlgebraicSymMatrix44 errorMatrix () const
 
AlgebraicVector4 paramVector () const
 
 Tsos4D (TrajectoryStateOnSurface const &)
 

Private Attributes

AlgebraicVector4 tsos_4d
 
AlgebraicSymMatrix44 tsosErr_44
 

Detailed Description

Class: StateSegmentMatcher, Tsos4D, Tsos2DPhi, Tsos2DZed

Description: utility classes for the dynamical truncation algorithm

Authors : D. Pagano & G. Bruno - UCL Louvain

Definition at line 23 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

Tsos4D::Tsos4D ( TrajectoryStateOnSurface const &  tsos)

Definition at line 114 of file StateSegmentMatcher.cc.

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

115 {
116  AlgebraicVector5 tsos_v = tsos.localParameters().vector();
117  tsos_4d[0] = tsos_v[1];
118  tsos_4d[1] = tsos_v[2];
119  tsos_4d[2] = tsos_v[3];
120  tsos_4d[3] = tsos_v[4];
121 
122  AlgebraicSymMatrix55 E = tsos.localError().matrix();
123  tsosErr_44(0,0) = E(1,1);tsosErr_44(0,1) = E(1,2);tsosErr_44(0,2) = E(1,3);tsosErr_44(0,3) = E(1,4);
124  tsosErr_44(1,0) = E(2,1);tsosErr_44(1,1) = E(2,2);tsosErr_44(1,2) = E(2,3);tsosErr_44(1,3) = E(2,4);
125  tsosErr_44(2,0) = E(3,1);tsosErr_44(2,1) = E(3,2);tsosErr_44(2,2) = E(3,3);tsosErr_44(2,3) = E(3,4);
126  tsosErr_44(3,0) = E(4,1);tsosErr_44(3,1) = E(4,2);tsosErr_44(3,2) = E(4,3);tsosErr_44(3,3) = E(4,4);
127 }
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicVector4 tsos_4d
AlgebraicSymMatrix44 tsosErr_44
ROOT::Math::SVector< double, 5 > AlgebraicVector5

Member Function Documentation

AlgebraicSymMatrix44 Tsos4D::errorMatrix ( ) const

Definition at line 133 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

133 {return tsosErr_44;}
AlgebraicSymMatrix44 tsosErr_44
AlgebraicVector4 Tsos4D::paramVector ( ) const

Definition at line 130 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

130 {return tsos_4d;}
AlgebraicVector4 tsos_4d

Member Data Documentation

AlgebraicVector4 Tsos4D::tsos_4d
private

Definition at line 35 of file StateSegmentMatcher.h.

AlgebraicSymMatrix44 Tsos4D::tsosErr_44
private

Definition at line 36 of file StateSegmentMatcher.h.