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

Constructor & Destructor Documentation

◆ Tsos4D()

Tsos4D::Tsos4D ( TrajectoryStateOnSurface const &  tsos)

Definition at line 134 of file StateSegmentMatcher.cc.

134  {
135  AlgebraicVector5 tsos_v = tsos.localParameters().vector();
136  tsos_4d[0] = tsos_v[1];
137  tsos_4d[1] = tsos_v[2];
138  tsos_4d[2] = tsos_v[3];
139  tsos_4d[3] = tsos_v[4];
140 
141  AlgebraicSymMatrix55 E = tsos.localError().matrix();
142  tsosErr_44(0, 0) = E(1, 1);
143  tsosErr_44(0, 1) = E(1, 2);
144  tsosErr_44(0, 2) = E(1, 3);
145  tsosErr_44(0, 3) = E(1, 4);
146  tsosErr_44(1, 0) = E(2, 1);
147  tsosErr_44(1, 1) = E(2, 2);
148  tsosErr_44(1, 2) = E(2, 3);
149  tsosErr_44(1, 3) = E(2, 4);
150  tsosErr_44(2, 0) = E(3, 1);
151  tsosErr_44(2, 1) = E(3, 2);
152  tsosErr_44(2, 2) = E(3, 3);
153  tsosErr_44(2, 3) = E(3, 4);
154  tsosErr_44(3, 0) = E(4, 1);
155  tsosErr_44(3, 1) = E(4, 2);
156  tsosErr_44(3, 2) = E(4, 3);
157  tsosErr_44(3, 3) = E(4, 4);
158 }

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

Member Function Documentation

◆ errorMatrix()

AlgebraicSymMatrix44 Tsos4D::errorMatrix ( ) const

Definition at line 162 of file StateSegmentMatcher.cc.

162 { return tsosErr_44; }

Referenced by StateSegmentMatcher::StateSegmentMatcher().

◆ paramVector()

AlgebraicVector4 Tsos4D::paramVector ( ) const

Definition at line 160 of file StateSegmentMatcher.cc.

160 { return tsos_4d; }

Referenced by StateSegmentMatcher::StateSegmentMatcher().

Member Data Documentation

◆ tsos_4d

AlgebraicVector4 Tsos4D::tsos_4d
private

Definition at line 33 of file StateSegmentMatcher.h.

◆ tsosErr_44

AlgebraicSymMatrix44 Tsos4D::tsosErr_44
private

Definition at line 34 of file StateSegmentMatcher.h.

Tsos4D::tsos_4d
AlgebraicVector4 tsos_4d
Definition: StateSegmentMatcher.h:33
Tsos4D::tsosErr_44
AlgebraicSymMatrix44 tsosErr_44
Definition: StateSegmentMatcher.h:34
AlgebraicVector5
ROOT::Math::SVector< double, 5 > AlgebraicVector5
Definition: AlgebraicROOTObjects.h:14
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition: AlgebraicROOTObjects.h:23