test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
LinearizedTrackState< N > Class Template Referenceabstract

#include <LinearizedTrackState.h>

Inheritance diagram for LinearizedTrackState< N >:
ReferenceCounted

Public Types

typedef ROOT::Math::SMatrix
< double, N-2,
3, ROOT::Math::MatRepStd
< double, N-2, 3 > > 
AlgebraicMatrixM3
 
typedef ROOT::Math::SMatrix
< double, N,
3, ROOT::Math::MatRepStd
< double, N, 3 > > 
AlgebraicMatrixN3
 
typedef ROOT::Math::SMatrix
< double, N, N-2,
ROOT::Math::MatRepStd< double,
N, N-2 > > 
AlgebraicMatrixNM
 
typedef ROOT::Math::SMatrix
< double, N-2, N-2,
ROOT::Math::MatRepSym< double,
N-2 > > 
AlgebraicSymMatrixMM
 
typedef ROOT::Math::SMatrix
< double, N, N,
ROOT::Math::MatRepSym< double,
N > > 
AlgebraicSymMatrixNN
 
typedef ROOT::Math::SMatrix
< double, N+1, N+1,
ROOT::Math::MatRepSym< double,
N+1 > > 
AlgebraicSymMatrixOO
 
typedef ROOT::Math::SVector
< double, N-2 > 
AlgebraicVectorM
 
typedef ROOT::Math::SVector
< double, N
AlgebraicVectorN
 
typedef
ReferenceCountingPointer
< RefittedTrackState< N > > 
RefCountedRefittedTrackState
 

Public Member Functions

virtual TrackCharge charge () const =0
 
virtual void checkParameters (AlgebraicVectorN &parameters) const
 
virtual std::vector
< ReferenceCountingPointer
< LinearizedTrackState< N > > > 
components () const =0
 
virtual const AlgebraicVectorNconstantTerm () const =0
 
virtual
RefCountedRefittedTrackState 
createRefittedTrackState (const GlobalPoint &vertexPosition, const AlgebraicVectorM &vectorParameters, const AlgebraicSymMatrixOO &covarianceMatrix) const =0
 
virtual bool hasError () const =0
 
virtual bool isValid () const
 
virtual const GlobalPointlinearizationPoint () const =0
 
virtual const AlgebraicMatrixNMmomentumJacobian () const =0
 
virtual bool operator== (LinearizedTrackState< N > &other) const =0
 
virtual const AlgebraicVectorNparametersFromExpansion () const =0
 
virtual const AlgebraicMatrixN3positionJacobian () const =0
 
virtual AlgebraicSymMatrixNN predictedStateError () const =0
 
virtual AlgebraicSymMatrixMM predictedStateMomentumError () const =0
 
virtual AlgebraicVectorM predictedStateMomentumParameters () const =0
 
virtual AlgebraicVectorN predictedStateParameters () const =0
 
virtual AlgebraicSymMatrixNN predictedStateWeight (int &error) const =0
 
virtual AlgebraicVectorN refittedParamFromEquation (const RefCountedRefittedTrackState &theRefittedState) const =0
 
virtual
ReferenceCountingPointer
< LinearizedTrackState< N > > 
stateWithNewLinearizationPoint (const GlobalPoint &newLP) const =0
 
virtual reco::TransientTrack track () const =0
 
virtual double weightInMixture () const =0
 
virtual ~LinearizedTrackState ()
 

Detailed Description

template<unsigned int N>
class LinearizedTrackState< N >

Abstract base class for all kind of linearizedtrack like objects. Calculates and stores the ImpactPointMeasurement of the impact point (point of closest approach in 3D) to the given linearization point. (see V.Karimaki, HIP-1997-77 / EXP)

Computes the parameters of the trajectory at the transverse point of closest approach (in the global transverse plane) to the linearization point, and the jacobiam matrices. (see R.Fruehwirth et al. Data Analysis Techniques in HEP Experiments Second Edition, Cambridge University Press 2000, or R.Fruehwirth et al. Vertex reconstruction and track bundling at the LEP collider using robust algorithms. Computer Physics Communications 96 (1996) 189-208).

Definition at line 38 of file LinearizedTrackState.h.

Member Typedef Documentation

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,N-2,3,ROOT::Math::MatRepStd<double,N-2,3> > LinearizedTrackState< N >::AlgebraicMatrixM3

Definition at line 46 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,N,3,ROOT::Math::MatRepStd<double,N,3> > LinearizedTrackState< N >::AlgebraicMatrixN3

Definition at line 44 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,N,N-2,ROOT::Math::MatRepStd<double,N,N-2> > LinearizedTrackState< N >::AlgebraicMatrixNM

Definition at line 45 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,N-2,N-2,ROOT::Math::MatRepSym<double,N-2> > LinearizedTrackState< N >::AlgebraicSymMatrixMM

Definition at line 48 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,N,N,ROOT::Math::MatRepSym<double,N> > LinearizedTrackState< N >::AlgebraicSymMatrixNN

Definition at line 47 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,N+1,N+1,ROOT::Math::MatRepSym<double,N+1> > LinearizedTrackState< N >::AlgebraicSymMatrixOO

Definition at line 49 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SVector<double,N-2> LinearizedTrackState< N >::AlgebraicVectorM

Definition at line 43 of file LinearizedTrackState.h.

template<unsigned int N>
typedef ROOT::Math::SVector<double,N> LinearizedTrackState< N >::AlgebraicVectorN

Definition at line 42 of file LinearizedTrackState.h.

Definition at line 51 of file LinearizedTrackState.h.

Constructor & Destructor Documentation

template<unsigned int N>
virtual LinearizedTrackState< N >::~LinearizedTrackState ( )
inlinevirtual

Definition at line 53 of file LinearizedTrackState.h.

53 {}

Member Function Documentation

template<unsigned int N>
virtual TrackCharge LinearizedTrackState< N >::charge ( ) const
pure virtual
template<unsigned int N>
virtual void LinearizedTrackState< N >::checkParameters ( AlgebraicVectorN parameters) const
inlinevirtual

Reimplemented in ParticleKinematicLinearizedTrackState.

Definition at line 135 of file LinearizedTrackState.h.

136  {}
template<unsigned int N>
virtual std::vector< ReferenceCountingPointer<LinearizedTrackState<N> > > LinearizedTrackState< N >::components ( ) const
pure virtual
template<unsigned int N>
virtual const AlgebraicVectorN& LinearizedTrackState< N >::constantTerm ( ) const
pure virtual

Method returning the constant term of the Taylor expansion of the measurement equation

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual RefCountedRefittedTrackState LinearizedTrackState< N >::createRefittedTrackState ( const GlobalPoint vertexPosition,
const AlgebraicVectorM vectorParameters,
const AlgebraicSymMatrixOO covarianceMatrix 
) const
pure virtual

Creates the correct refitted state according to the results of the track refit.

Implemented in PerigeeMultiLTS.

template<unsigned int N>
virtual bool LinearizedTrackState< N >::hasError ( ) const
pure virtual
template<unsigned int N>
virtual bool LinearizedTrackState< N >::isValid ( void  ) const
inlinevirtual

Reimplemented in PerigeeLinearizedTrackState.

Definition at line 145 of file LinearizedTrackState.h.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

145 { return true; }
template<unsigned int N>
virtual const GlobalPoint& LinearizedTrackState< N >::linearizationPoint ( ) const
pure virtual
template<unsigned int N>
virtual const AlgebraicMatrixNM& LinearizedTrackState< N >::momentumJacobian ( ) const
pure virtual

Method returning the Momentum Jacobian from the Taylor expansion (Matrix B)

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual bool LinearizedTrackState< N >::operator== ( LinearizedTrackState< N > &  other) const
pure virtual

Method returning the impact point measurement

template<unsigned int N>
virtual const AlgebraicVectorN& LinearizedTrackState< N >::parametersFromExpansion ( ) const
pure virtual

Method returning the parameters of the Taylor expansion

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual const AlgebraicMatrixN3& LinearizedTrackState< N >::positionJacobian ( ) const
pure virtual

Method returning the Position Jacobian from the Taylor expansion (Matrix A)

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual AlgebraicSymMatrixNN LinearizedTrackState< N >::predictedStateError ( ) const
pure virtual

Method returning the covariance matrix of the track state at the linearization point.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual AlgebraicSymMatrixMM LinearizedTrackState< N >::predictedStateMomentumError ( ) const
pure virtual

Method returning the momentum covariance matrix of the track state at the transverse impact point.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual AlgebraicVectorM LinearizedTrackState< N >::predictedStateMomentumParameters ( ) const
pure virtual

Method returning the momentum part of the parameters of the track state at the linearization point.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual AlgebraicVectorN LinearizedTrackState< N >::predictedStateParameters ( ) const
pure virtual

Method returning the parameters of the track state at the linearization point.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual AlgebraicSymMatrixNN LinearizedTrackState< N >::predictedStateWeight ( int &  error) const
pure virtual

Method returning the weight matrix of the track state at the linearization point. The error variable is 0 in case of success.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual AlgebraicVectorN LinearizedTrackState< N >::refittedParamFromEquation ( const RefCountedRefittedTrackState theRefittedState) const
pure virtual

Method returning the parameters of the Taylor expansion evaluated with the refitted state.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual ReferenceCountingPointer<LinearizedTrackState<N> > LinearizedTrackState< N >::stateWithNewLinearizationPoint ( const GlobalPoint newLP) const
pure virtual

Returns a new linearized state with respect to a new linearization point. A new object of the same type is returned, without change to the existing one.

Implemented in PerigeeLinearizedTrackState, PerigeeMultiLTS, and ParticleKinematicLinearizedTrackState.

template<unsigned int N>
virtual reco::TransientTrack LinearizedTrackState< N >::track ( ) const
pure virtual
template<unsigned int N>
virtual double LinearizedTrackState< N >::weightInMixture ( ) const
pure virtual