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
PerigeeLinearizedTrackState Class Referencefinal

#include <PerigeeLinearizedTrackState.h>

Inheritance diagram for PerigeeLinearizedTrackState:
LinearizedTrackState< 5 > ReferenceCounted

Public Types

typedef
ReferenceCountingPointer
< LinearizedTrackState< 5 > > 
RefCountedLinearizedTrackState
 
- Public Types inherited from LinearizedTrackState< 5 >
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 (AlgebraicVector5 &parameters) const
 
virtual std::vector
< ReferenceCountingPointer
< LinearizedTrackState< 5 > > > 
components () const
 
const AlgebraicVector5constantTerm () const
 
virtual
RefCountedRefittedTrackState 
createRefittedTrackState (const GlobalPoint &vertexPosition, const AlgebraicVector3 &vectorParameters, const AlgebraicSymMatrix66 &covarianceMatrix) const
 
bool hasError () const
 
virtual bool isValid () const
 
const GlobalPointlinearizationPoint () const
 
const AlgebraicMatrix53momentumJacobian () const
 
bool operator== (LinearizedTrackState< 5 > &other) const
 
bool operator== (ReferenceCountingPointer< LinearizedTrackState< 5 > > &other) const
 
const AlgebraicVector5parametersFromExpansion () const
 
const AlgebraicMatrix53positionJacobian () const
 
const
TrajectoryStateClosestToPoint
predictedState () const
 
AlgebraicSymMatrix55 predictedStateError () const
 
AlgebraicSymMatrix33 predictedStateMomentumError () const
 
virtual AlgebraicVector3 predictedStateMomentumParameters () const
 
AlgebraicVector5 predictedStateParameters () const
 
AlgebraicSymMatrix55 predictedStateWeight (int &error) const
 
virtual AlgebraicVector5 refittedParamFromEquation (const RefCountedRefittedTrackState &theRefittedState) const
 
const TrajectoryStateOnSurface state () const
 
virtual
RefCountedLinearizedTrackState 
stateWithNewLinearizationPoint (const GlobalPoint &newLP) const
 
virtual reco::TransientTrack track () const
 
virtual double weightInMixture () const
 
- Public Member Functions inherited from LinearizedTrackState< 5 >
virtual void checkParameters (AlgebraicVectorN &parameters) const
 
virtual
RefCountedRefittedTrackState 
createRefittedTrackState (const GlobalPoint &vertexPosition, const AlgebraicVectorM &vectorParameters, const AlgebraicSymMatrixOO &covarianceMatrix) const =0
 
virtual bool operator== (LinearizedTrackState< N > &other) const =0
 
virtual ~LinearizedTrackState ()
 

Private Member Functions

void compute3DImpactPoint () const
 
void computeChargedJacobians () const
 
void computeJacobians () const
 
void computeNeutralJacobians () const
 
 PerigeeLinearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos)
 

Private Attributes

TSCPBuilderNoMaterial builder
 
bool jacobiansAvailable
 
TrackCharge theCharge
 
AlgebraicVector5 theConstantTerm
 
AlgebraicVector5 theExpandedParams
 
GlobalPoint theLinPoint
 
AlgebraicMatrix53 theMomentumJacobian
 
AlgebraicMatrix53 thePositionJacobian
 
TrajectoryStateClosestToPoint thePredState
 
reco::TransientTrack theTrack
 
const TrajectoryStateOnSurface theTSOS
 

Friends

class LinearizedTrackStateFactory
 

Detailed Description

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 state 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).

Both are done `on-demand' to improve CPU performance.

This particular implementation works with "perigee" helix parametrization: see Billoir et al. NIM in PR A311(1992) 139-150

Definition at line 35 of file PerigeeLinearizedTrackState.h.

Member Typedef Documentation

Definition at line 44 of file PerigeeLinearizedTrackState.h.

Constructor & Destructor Documentation

PerigeeLinearizedTrackState::PerigeeLinearizedTrackState ( const GlobalPoint linP,
const reco::TransientTrack track,
const TrajectoryStateOnSurface tsos 
)
inlineprivate

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

Definition at line 151 of file PerigeeLinearizedTrackState.h.

Member Function Documentation

TrackCharge PerigeeLinearizedTrackState::charge ( void  ) const
inlinevirtual

Method returning the impact point measurement

Implements LinearizedTrackState< 5 >.

Definition at line 118 of file PerigeeLinearizedTrackState.h.

void PerigeeLinearizedTrackState::checkParameters ( AlgebraicVector5 parameters) const
inlinevirtual

Definition at line 104 of file PerigeeLinearizedTrackState.cc.

std::vector< PerigeeLinearizedTrackState::RefCountedLinearizedTrackState > PerigeeLinearizedTrackState::components ( ) const
virtual

Implements LinearizedTrackState< 5 >.

Definition at line 75 of file PerigeeLinearizedTrackState.cc.

void PerigeeLinearizedTrackState::compute3DImpactPoint ( ) const
private

Method calculating the 3D impact point measurement

void PerigeeLinearizedTrackState::computeChargedJacobians ( ) const
private

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

Definition at line 110 of file PerigeeLinearizedTrackState.cc.

void PerigeeLinearizedTrackState::computeJacobians ( ) const
private

Method calculating the track parameters and the Jacobians.

Definition at line 10 of file PerigeeLinearizedTrackState.cc.

void PerigeeLinearizedTrackState::computeNeutralJacobians ( ) const
private

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

Definition at line 208 of file PerigeeLinearizedTrackState.cc.

const AlgebraicVector5 & PerigeeLinearizedTrackState::constantTerm ( ) const
inlinevirtual

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

Implements LinearizedTrackState< 5 >.

Definition at line 192 of file PerigeeLinearizedTrackState.h.

PerigeeLinearizedTrackState::RefCountedRefittedTrackState PerigeeLinearizedTrackState::createRefittedTrackState ( const GlobalPoint vertexPosition,
const AlgebraicVector3 vectorParameters,
const AlgebraicSymMatrix66 covarianceMatrix 
) const
virtual

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

Definition at line 63 of file PerigeeLinearizedTrackState.cc.

bool PerigeeLinearizedTrackState::hasError ( void  ) const
inlinevirtual

Implements LinearizedTrackState< 5 >.

Definition at line 240 of file PerigeeLinearizedTrackState.h.

bool PerigeeLinearizedTrackState::isValid ( void  ) const
inlinevirtual

Reimplemented from LinearizedTrackState< 5 >.

Definition at line 288 of file PerigeeLinearizedTrackState.h.

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

const GlobalPoint& PerigeeLinearizedTrackState::linearizationPoint ( ) const
inlinevirtual

The point at which the track state has been linearized

Implements LinearizedTrackState< 5 >.

Definition at line 57 of file PerigeeLinearizedTrackState.h.

const AlgebraicMatrix53 & PerigeeLinearizedTrackState::momentumJacobian ( ) const
inlinevirtual

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

Method returning the Momentum Jacobian (Matrix B)

Implements LinearizedTrackState< 5 >.

Definition at line 212 of file PerigeeLinearizedTrackState.h.

bool PerigeeLinearizedTrackState::operator== ( LinearizedTrackState< 5 > &  other) const

Definition at line 32 of file PerigeeLinearizedTrackState.cc.

bool PerigeeLinearizedTrackState::operator== ( ReferenceCountingPointer< LinearizedTrackState< 5 > > &  other) const

Definition at line 43 of file PerigeeLinearizedTrackState.cc.

const AlgebraicVector5 & PerigeeLinearizedTrackState::parametersFromExpansion ( ) const
inlinevirtual

Method returning the parameters of the Taylor expansion

Implements LinearizedTrackState< 5 >.

Definition at line 221 of file PerigeeLinearizedTrackState.h.

const AlgebraicMatrix53 & PerigeeLinearizedTrackState::positionJacobian ( ) const
inlinevirtual

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

Method returning the Position Jacobian (Matrix A)

Implements LinearizedTrackState< 5 >.

Definition at line 202 of file PerigeeLinearizedTrackState.h.

const TrajectoryStateClosestToPoint & PerigeeLinearizedTrackState::predictedState ( ) const
inline

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).

Method returning the TrajectoryStateClosestToPoint at the point of closest approch to the z-axis (a.k.a. transverse impact point)

Definition at line 232 of file PerigeeLinearizedTrackState.h.

Referenced by TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), and PerigeeMultiLTS::predictedState().

AlgebraicSymMatrix55 PerigeeLinearizedTrackState::predictedStateError ( ) const
inlinevirtual

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

Implements LinearizedTrackState< 5 >.

Definition at line 274 of file PerigeeLinearizedTrackState.h.

AlgebraicSymMatrix33 PerigeeLinearizedTrackState::predictedStateMomentumError ( ) const
inlinevirtual

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

Implements LinearizedTrackState< 5 >.

Definition at line 281 of file PerigeeLinearizedTrackState.h.

AlgebraicVector3 PerigeeLinearizedTrackState::predictedStateMomentumParameters ( ) const
inlinevirtual

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

Implements LinearizedTrackState< 5 >.

Definition at line 254 of file PerigeeLinearizedTrackState.h.

AlgebraicVector5 PerigeeLinearizedTrackState::predictedStateParameters ( ) const
inlinevirtual

Method returning the parameters of the track state at the transverse impact point.

Implements LinearizedTrackState< 5 >.

Definition at line 247 of file PerigeeLinearizedTrackState.h.

AlgebraicSymMatrix55 PerigeeLinearizedTrackState::predictedStateWeight ( int &  error) const
inlinevirtual

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

Implements LinearizedTrackState< 5 >.

Definition at line 263 of file PerigeeLinearizedTrackState.h.

AlgebraicVector5 PerigeeLinearizedTrackState::refittedParamFromEquation ( const RefCountedRefittedTrackState theRefittedState) const
virtual

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

Implements LinearizedTrackState< 5 >.

Definition at line 84 of file PerigeeLinearizedTrackState.cc.

const TrajectoryStateOnSurface PerigeeLinearizedTrackState::state ( ) const
inline

Definition at line 61 of file PerigeeLinearizedTrackState.h.

PerigeeLinearizedTrackState::RefCountedLinearizedTrackState PerigeeLinearizedTrackState::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< 5 >.

Definition at line 56 of file PerigeeLinearizedTrackState.cc.

virtual reco::TransientTrack PerigeeLinearizedTrackState::track ( ) const
inlinevirtual

Implements LinearizedTrackState< 5 >.

Definition at line 59 of file PerigeeLinearizedTrackState.h.

Referenced by TrimmedVertexFinder::vertices().

virtual double PerigeeLinearizedTrackState::weightInMixture ( ) const
inlinevirtual

Implements LinearizedTrackState< 5 >.

Definition at line 138 of file PerigeeLinearizedTrackState.h.

Friends And Related Function Documentation

friend class LinearizedTrackStateFactory
friend

Friend class properly dealing with creation of reference-counted pointers to LinearizedTrack objects

Definition at line 43 of file PerigeeLinearizedTrackState.h.

Member Data Documentation

TSCPBuilderNoMaterial PerigeeLinearizedTrackState::builder
private

Definition at line 178 of file PerigeeLinearizedTrackState.h.

bool PerigeeLinearizedTrackState::jacobiansAvailable
mutableprivate

Definition at line 181 of file PerigeeLinearizedTrackState.h.

TrackCharge PerigeeLinearizedTrackState::theCharge
private

Definition at line 180 of file PerigeeLinearizedTrackState.h.

AlgebraicVector5 PerigeeLinearizedTrackState::theConstantTerm
mutableprivate

Definition at line 175 of file PerigeeLinearizedTrackState.h.

AlgebraicVector5 PerigeeLinearizedTrackState::theExpandedParams
mutableprivate

Definition at line 176 of file PerigeeLinearizedTrackState.h.

GlobalPoint PerigeeLinearizedTrackState::theLinPoint
private

Definition at line 169 of file PerigeeLinearizedTrackState.h.

AlgebraicMatrix53 PerigeeLinearizedTrackState::theMomentumJacobian
mutableprivate

Definition at line 173 of file PerigeeLinearizedTrackState.h.

AlgebraicMatrix53 PerigeeLinearizedTrackState::thePositionJacobian
mutableprivate

Definition at line 173 of file PerigeeLinearizedTrackState.h.

TrajectoryStateClosestToPoint PerigeeLinearizedTrackState::thePredState
mutableprivate

Definition at line 174 of file PerigeeLinearizedTrackState.h.

reco::TransientTrack PerigeeLinearizedTrackState::theTrack
private

Definition at line 170 of file PerigeeLinearizedTrackState.h.

const TrajectoryStateOnSurface PerigeeLinearizedTrackState::theTSOS
private

Definition at line 171 of file PerigeeLinearizedTrackState.h.