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
Tsos4D Class Reference

#include <StateSegmentMatcher.h>

Public Member Functions

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

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

Constructor & Destructor Documentation

Tsos4D::Tsos4D ( TrajectoryStateOnSurface tsos)

Definition at line 123 of file StateSegmentMatcher.cc.

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

124 {
125  AlgebraicVector5 tsos_v = tsos->localParameters().vector();
126  tsos_4d[0] = tsos_v[1];
127  tsos_4d[1] = tsos_v[2];
128  tsos_4d[2] = tsos_v[3];
129  tsos_4d[3] = tsos_v[4];
130 
131  AlgebraicSymMatrix55 E = tsos->localError().matrix();
132  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);
133  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);
134  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);
135  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);
136 }
const LocalTrajectoryParameters & localParameters() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicVector5 vector() const
AlgebraicVector4 tsos_4d
const AlgebraicSymMatrix55 & matrix() const
AlgebraicSymMatrix44 tsosErr_44
const LocalTrajectoryError & localError() const
ROOT::Math::SVector< double, 5 > AlgebraicVector5

Member Function Documentation

AlgebraicSymMatrix44 Tsos4D::errorMatrix ( ) const

Definition at line 142 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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

Definition at line 139 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

139 {return tsos_4d;}
AlgebraicVector4 tsos_4d

Member Data Documentation

AlgebraicVector4 Tsos4D::tsos_4d
private

Definition at line 36 of file StateSegmentMatcher.h.

AlgebraicSymMatrix44 Tsos4D::tsosErr_44
private

Definition at line 37 of file StateSegmentMatcher.h.