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 | Private Member Functions | Private Attributes | Friends
ParticleKinematicLinearizedTrackState Class Reference

#include <ParticleKinematicLinearizedTrackState.h>

Inheritance diagram for ParticleKinematicLinearizedTrackState:
LinearizedTrackState< 6 > ReferenceCounted

Public Types

typedef
ReferenceCountingPointer
< LinearizedTrackState< 6 > > 
RefCountedLinearizedTrackState
 
- Public Types inherited from LinearizedTrackState< 6 >
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

TrackCharge charge () const
 
virtual void checkParameters (AlgebraicVectorN &parameters) const
 
std::vector
< ReferenceCountingPointer
< LinearizedTrackState< 6 > > > 
components () const
 
const AlgebraicVector6constantTerm () const
 
RefCountedRefittedTrackState createRefittedTrackState (const GlobalPoint &vertexPosition, const AlgebraicVectorM &vectorParameters, const AlgebraicSymMatrix77 &covarianceMatrix) const
 
bool hasError () const
 
const GlobalPointlinearizationPoint () const
 
virtual const AlgebraicMatrix64momentumJacobian () const
 
bool operator== (LinearizedTrackState< 6 > &other) const
 
const AlgebraicVector6parametersFromExpansion () const
 
RefCountedKinematicParticle particle () const
 
 ParticleKinematicLinearizedTrackState ()
 
virtual const AlgebraicMatrix63positionJacobian () const
 
AlgebraicSymMatrix66 predictedStateError () const
 
AlgebraicSymMatrix44 predictedStateMomentumError () const
 
AlgebraicVectorM predictedStateMomentumParameters () const
 
AlgebraicVector6 predictedStateParameters () const
 
AlgebraicSymMatrix66 predictedStateWeight (int &error) const
 
virtual AlgebraicVectorN refittedParamFromEquation (const RefCountedRefittedTrackState &theRefittedState) const
 
virtual
ReferenceCountingPointer
< LinearizedTrackState< 6 > > 
stateWithNewLinearizationPoint (const GlobalPoint &newLP) const
 
virtual reco::TransientTrack track () const
 
double weightInMixture () const
 
- Public Member Functions inherited from LinearizedTrackState< 6 >
virtual
RefCountedRefittedTrackState 
createRefittedTrackState (const GlobalPoint &vertexPosition, const AlgebraicVectorM &vectorParameters, const AlgebraicSymMatrixOO &covarianceMatrix) const =0
 
virtual bool isValid () const
 
virtual bool operator== (LinearizedTrackState< N > &other) const =0
 
virtual ~LinearizedTrackState ()
 

Private Member Functions

void computeChargedJacobians () const
 
void computeJacobians () const
 
void computeNeutralJacobians () const
 
 ParticleKinematicLinearizedTrackState (const GlobalPoint &linP, RefCountedKinematicParticle &prt)
 

Private Attributes

TransientTrackKinematicStateBuilder builder
 
bool errorAvailable
 
bool impactPointAvailable
 
bool jacobiansAvailable
 
RefCountedKinematicParticle part
 
TrackCharge theCharge
 
AlgebraicVector6 theConstantTerm
 
AlgebraicVector6 theExpandedParams
 
GlobalPoint theLinPoint
 
AlgebraicMatrix64 theMomentumJacobian
 
AlgebraicMatrix63 thePositionJacobian
 
PerigeeKinematicState thePredState
 

Friends

class ParticleKinematicLinearizedTrackStateFactory
 

Detailed Description

Definition at line 13 of file ParticleKinematicLinearizedTrackState.h.

Member Typedef Documentation

Definition at line 18 of file ParticleKinematicLinearizedTrackState.h.

Constructor & Destructor Documentation

ParticleKinematicLinearizedTrackState::ParticleKinematicLinearizedTrackState ( )
inline
ParticleKinematicLinearizedTrackState::ParticleKinematicLinearizedTrackState ( const GlobalPoint linP,
RefCountedKinematicParticle prt 
)
inlineprivate

Constructor with the linearization point and the track. Private, can only be used by LinearizedTrackFactory.

Definition at line 124 of file ParticleKinematicLinearizedTrackState.h.

Member Function Documentation

TrackCharge ParticleKinematicLinearizedTrackState::charge ( void  ) const
virtual

Method returning the impact point measurement

Implements LinearizedTrackState< 6 >.

Definition at line 54 of file ParticleKinematicLinearizedTrackState.cc.

void ParticleKinematicLinearizedTrackState::checkParameters ( AlgebraicVectorN parameters) const
inlinevirtual

Reimplemented from LinearizedTrackState< 6 >.

Definition at line 185 of file ParticleKinematicLinearizedTrackState.cc.

std::vector< ReferenceCountingPointer< LinearizedTrackState< 6 > > > ParticleKinematicLinearizedTrackState::components ( ) const
virtual
void ParticleKinematicLinearizedTrackState::computeChargedJacobians ( ) const
private

Method calculating the track parameters and the Jacobians for charged particles.

Definition at line 192 of file ParticleKinematicLinearizedTrackState.cc.

void ParticleKinematicLinearizedTrackState::computeJacobians ( ) const
private

Method calculating the track parameters and the Jacobians.

Definition at line 81 of file ParticleKinematicLinearizedTrackState.cc.

void ParticleKinematicLinearizedTrackState::computeNeutralJacobians ( ) const
private

Method calculating the track parameters and the Jacobians for neutral particles.

Definition at line 299 of file ParticleKinematicLinearizedTrackState.cc.

const AlgebraicVector6 & ParticleKinematicLinearizedTrackState::constantTerm ( ) const
virtual

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

Implements LinearizedTrackState< 6 >.

Definition at line 5 of file ParticleKinematicLinearizedTrackState.cc.

ParticleKinematicLinearizedTrackState::RefCountedRefittedTrackState ParticleKinematicLinearizedTrackState::createRefittedTrackState ( const GlobalPoint vertexPosition,
const AlgebraicVectorM vectorParameters,
const AlgebraicSymMatrix77 covarianceMatrix 
) const

Definition at line 109 of file ParticleKinematicLinearizedTrackState.cc.

bool ParticleKinematicLinearizedTrackState::hasError ( void  ) const
virtual
const GlobalPoint& ParticleKinematicLinearizedTrackState::linearizationPoint ( ) const
inlinevirtual

The point at which the track state has been linearized

Implements LinearizedTrackState< 6 >.

Definition at line 33 of file ParticleKinematicLinearizedTrackState.h.

References theLinPoint.

const AlgebraicMatrix64 & ParticleKinematicLinearizedTrackState::momentumJacobian ( ) const
virtual

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

Implements LinearizedTrackState< 6 >.

Definition at line 17 of file ParticleKinematicLinearizedTrackState.cc.

bool ParticleKinematicLinearizedTrackState::operator== ( LinearizedTrackState< 6 > &  other) const

Definition at line 60 of file ParticleKinematicLinearizedTrackState.cc.

const AlgebraicVector6 & ParticleKinematicLinearizedTrackState::parametersFromExpansion ( ) const
virtual

Method returning the parameters of the Taylor expansion

Implements LinearizedTrackState< 6 >.

Definition at line 23 of file ParticleKinematicLinearizedTrackState.cc.

RefCountedKinematicParticle ParticleKinematicLinearizedTrackState::particle ( ) const

Definition at line 57 of file ParticleKinematicLinearizedTrackState.cc.

const AlgebraicMatrix63 & ParticleKinematicLinearizedTrackState::positionJacobian ( ) const
virtual

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

Implements LinearizedTrackState< 6 >.

Definition at line 11 of file ParticleKinematicLinearizedTrackState.cc.

AlgebraicSymMatrix66 ParticleKinematicLinearizedTrackState::predictedStateError ( ) const
virtual

Full predicted error matrix

Implements LinearizedTrackState< 6 >.

Definition at line 45 of file ParticleKinematicLinearizedTrackState.cc.

AlgebraicSymMatrix44 ParticleKinematicLinearizedTrackState::predictedStateMomentumError ( ) const
virtual

4x4 error matrix ofe xtended perigee mometum components

Implements LinearizedTrackState< 6 >.

Definition at line 131 of file ParticleKinematicLinearizedTrackState.cc.

AlgebraicVector4 ParticleKinematicLinearizedTrackState::predictedStateMomentumParameters ( ) const
virtual

returns predicted 4-momentum in extended perigee parametrization

Implements LinearizedTrackState< 6 >.

Definition at line 120 of file ParticleKinematicLinearizedTrackState.cc.

AlgebraicVector6 ParticleKinematicLinearizedTrackState::predictedStateParameters ( ) const
virtual

Method returning the track state at the point of closest approach to the linearization point, in the transverse plane (a.k.a. transverse impact point). extended perigee predicted parameters

Implements LinearizedTrackState< 6 >.

Definition at line 29 of file ParticleKinematicLinearizedTrackState.cc.

AlgebraicSymMatrix66 ParticleKinematicLinearizedTrackState::predictedStateWeight ( int &  error) const
virtual

Full predicted weight matrix

Implements LinearizedTrackState< 6 >.

Definition at line 35 of file ParticleKinematicLinearizedTrackState.cc.

AlgebraicVector6 ParticleKinematicLinearizedTrackState::refittedParamFromEquation ( const RefCountedRefittedTrackState theRefittedState) const
virtual

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

Implements LinearizedTrackState< 6 >.

Definition at line 161 of file ParticleKinematicLinearizedTrackState.cc.

ReferenceCountingPointer< LinearizedTrackState< 6 > > ParticleKinematicLinearizedTrackState::stateWithNewLinearizationPoint ( const GlobalPoint newLP) const
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.

Implements LinearizedTrackState< 6 >.

Definition at line 102 of file ParticleKinematicLinearizedTrackState.cc.

reco::TransientTrack ParticleKinematicLinearizedTrackState::track ( ) const
virtual
double ParticleKinematicLinearizedTrackState::weightInMixture ( ) const
virtual

Friends And Related Function Documentation

Definition at line 17 of file ParticleKinematicLinearizedTrackState.h.

Member Data Documentation

TransientTrackKinematicStateBuilder ParticleKinematicLinearizedTrackState::builder
private

Definition at line 147 of file ParticleKinematicLinearizedTrackState.h.

bool ParticleKinematicLinearizedTrackState::errorAvailable
mutableprivate

Definition at line 149 of file ParticleKinematicLinearizedTrackState.h.

bool ParticleKinematicLinearizedTrackState::impactPointAvailable
mutableprivate

Definition at line 159 of file ParticleKinematicLinearizedTrackState.h.

bool ParticleKinematicLinearizedTrackState::jacobiansAvailable
mutableprivate
RefCountedKinematicParticle ParticleKinematicLinearizedTrackState::part
private

Definition at line 146 of file ParticleKinematicLinearizedTrackState.h.

TrackCharge ParticleKinematicLinearizedTrackState::theCharge
private

Definition at line 157 of file ParticleKinematicLinearizedTrackState.h.

AlgebraicVector6 ParticleKinematicLinearizedTrackState::theConstantTerm
mutableprivate

Definition at line 154 of file ParticleKinematicLinearizedTrackState.h.

AlgebraicVector6 ParticleKinematicLinearizedTrackState::theExpandedParams
mutableprivate

Definition at line 155 of file ParticleKinematicLinearizedTrackState.h.

GlobalPoint ParticleKinematicLinearizedTrackState::theLinPoint
private

Definition at line 145 of file ParticleKinematicLinearizedTrackState.h.

Referenced by linearizationPoint().

AlgebraicMatrix64 ParticleKinematicLinearizedTrackState::theMomentumJacobian
mutableprivate

Definition at line 152 of file ParticleKinematicLinearizedTrackState.h.

AlgebraicMatrix63 ParticleKinematicLinearizedTrackState::thePositionJacobian
mutableprivate

Definition at line 151 of file ParticleKinematicLinearizedTrackState.h.

PerigeeKinematicState ParticleKinematicLinearizedTrackState::thePredState
mutableprivate

Definition at line 153 of file ParticleKinematicLinearizedTrackState.h.