CMS 3D CMS Logo

Public Member Functions | Private Attributes

Tsos4D Class Reference

#include <StateSegmentMatcher.h>

List of all members.

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:
2010/06/14 11:01:53
Revision:
1.1

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 119 of file StateSegmentMatcher.cc.

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

{
  AlgebraicVector5 tsos_v = tsos->localParameters().vector();
  tsos_4d[0] = tsos_v[1];
  tsos_4d[1] = tsos_v[2];
  tsos_4d[2] = tsos_v[3];
  tsos_4d[3] = tsos_v[4];

  AlgebraicSymMatrix55 E = tsos->localError().matrix();
  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);
  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);
  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);
  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);
}

Member Function Documentation

AlgebraicSymMatrix44 Tsos4D::errorMatrix ( ) const

Definition at line 138 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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

Definition at line 135 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

{return tsos_4d;}

Member Data Documentation

Definition at line 38 of file StateSegmentMatcher.h.

Definition at line 39 of file StateSegmentMatcher.h.