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

#include <StateSegmentMatcher.h>

Public Member Functions

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

Private Attributes

AlgebraicVector2 tsos_2d_phi
 
AlgebraicSymMatrix22 tsosErr_22_phi
 

Detailed Description

Definition at line 43 of file StateSegmentMatcher.h.

Constructor & Destructor Documentation

Tsos2DPhi::Tsos2DPhi ( TrajectoryStateOnSurface tsos)

Definition at line 146 of file StateSegmentMatcher.cc.

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

147 {
148  AlgebraicVector5 tsos_v = tsos->localParameters().vector();
149  tsos_2d_phi[0] = tsos_v[1];
150  tsos_2d_phi[1] = tsos_v[3];
151 
152  AlgebraicSymMatrix55 E = tsos->localError().matrix();
153  tsosErr_22_phi(0,0) = E(1,1);tsosErr_22_phi(0,1) = E(1,3);
154  tsosErr_22_phi(1,0) = E(3,1);tsosErr_22_phi(1,1) = E(3,3);
155 }
const LocalTrajectoryParameters & localParameters() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
AlgebraicVector5 vector() const
const AlgebraicSymMatrix55 & matrix() const
const LocalTrajectoryError & localError() const
AlgebraicSymMatrix22 tsosErr_22_phi
ROOT::Math::SVector< double, 5 > AlgebraicVector5
AlgebraicVector2 tsos_2d_phi

Member Function Documentation

AlgebraicSymMatrix22 Tsos2DPhi::errorMatrix ( ) const

Definition at line 161 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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

Definition at line 158 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

158 {return tsos_2d_phi;}
AlgebraicVector2 tsos_2d_phi

Member Data Documentation

AlgebraicVector2 Tsos2DPhi::tsos_2d_phi
private

Definition at line 55 of file StateSegmentMatcher.h.

AlgebraicSymMatrix22 Tsos2DPhi::tsosErr_22_phi
private

Definition at line 56 of file StateSegmentMatcher.h.