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

Date:
2011/10/30 17:42:14
Revision:
1.3

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

Definition at line 26 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

Tsos4D::Tsos4D ( TrajectoryStateOnSurface tsos)

Definition at line 125 of file StateSegmentMatcher.cc.

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

126 {
127  AlgebraicVector5 tsos_v = tsos->localParameters().vector();
128  tsos_4d[0] = tsos_v[1];
129  tsos_4d[1] = tsos_v[2];
130  tsos_4d[2] = tsos_v[3];
131  tsos_4d[3] = tsos_v[4];
132 
133  AlgebraicSymMatrix55 E = tsos->localError().matrix();
134  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);
135  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);
136  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);
137  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);
138 }
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 144 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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

Definition at line 141 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

141 {return tsos_4d;}
AlgebraicVector4 tsos_4d

Member Data Documentation

AlgebraicVector4 Tsos4D::tsos_4d
private

Definition at line 38 of file StateSegmentMatcher.h.

AlgebraicSymMatrix44 Tsos4D::tsosErr_44
private

Definition at line 39 of file StateSegmentMatcher.h.