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

Constructor & Destructor Documentation

Tsos2DPhi::Tsos2DPhi ( TrajectoryStateOnSurface tsos)

Definition at line 148 of file StateSegmentMatcher.cc.

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

149 {
150  AlgebraicVector5 tsos_v = tsos->localParameters().vector();
151  tsos_2d_phi[0] = tsos_v[1];
152  tsos_2d_phi[1] = tsos_v[3];
153 
154  AlgebraicSymMatrix55 E = tsos->localError().matrix();
155  tsosErr_22_phi(0,0) = E(1,1);tsosErr_22_phi(0,1) = E(1,3);
156  tsosErr_22_phi(1,0) = E(3,1);tsosErr_22_phi(1,1) = E(3,3);
157 }
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 163 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

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

Definition at line 160 of file StateSegmentMatcher.cc.

Referenced by StateSegmentMatcher::StateSegmentMatcher().

160 {return tsos_2d_phi;}
AlgebraicVector2 tsos_2d_phi

Member Data Documentation

AlgebraicVector2 Tsos2DPhi::tsos_2d_phi
private

Definition at line 57 of file StateSegmentMatcher.h.

AlgebraicSymMatrix22 Tsos2DPhi::tsosErr_22_phi
private

Definition at line 58 of file StateSegmentMatcher.h.