CMS 3D CMS Logo

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

#include <StateSegmentMatcher.h>

Public Member Functions

AlgebraicSymMatrix22 errorMatrix () const
 
AlgebraicVector2 paramVector () const
 
 Tsos2DPhi (TrajectoryStateOnSurface const &)
 

Private Attributes

AlgebraicVector2 tsos_2d_phi
 
AlgebraicSymMatrix22 tsosErr_22_phi
 

Detailed Description

Definition at line 42 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

Tsos2DPhi::Tsos2DPhi ( TrajectoryStateOnSurface const &  tsos)

Definition at line 137 of file StateSegmentMatcher.cc.

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

138 {
139  AlgebraicVector5 tsos_v = tsos.localParameters().vector();
140  tsos_2d_phi[0] = tsos_v[1];
141  tsos_2d_phi[1] = tsos_v[3];
142 
143  AlgebraicSymMatrix55 E = tsos.localError().matrix();
144  tsosErr_22_phi(0,0) = E(1,1);tsosErr_22_phi(0,1) = E(1,3);
145  tsosErr_22_phi(1,0) = E(3,1);tsosErr_22_phi(1,1) = E(3,3);
146 }
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicSymMatrix22 tsosErr_22_phi
ROOT::Math::SVector< double, 5 > AlgebraicVector5
AlgebraicVector2 tsos_2d_phi

Member Function Documentation

AlgebraicSymMatrix22 Tsos2DPhi::errorMatrix ( ) const

Definition at line 152 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

152 {return tsosErr_22_phi;}
AlgebraicSymMatrix22 tsosErr_22_phi
AlgebraicVector2 Tsos2DPhi::paramVector ( ) const

Definition at line 149 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

149 {return tsos_2d_phi;}
AlgebraicVector2 tsos_2d_phi

Member Data Documentation

AlgebraicVector2 Tsos2DPhi::tsos_2d_phi
private

Definition at line 54 of file StateSegmentMatcher.h.

AlgebraicSymMatrix22 Tsos2DPhi::tsosErr_22_phi
private

Definition at line 55 of file StateSegmentMatcher.h.