#include <LinearizedTrackStateFactory.h>
Public Member Functions | |
const LinearizedTrackStateFactory * | clone () const |
RefCountedLinearizedTrackState | linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) const |
RefCountedLinearizedTrackState | linearizedTrackState (LinearizedTrackState< 5 > *lts) const |
RefCountedLinearizedTrackState | linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track) const |
Concrete class to encapsulate the creation of a RefCountedLinearizedTrack, which is a reference-counting pointer. Should always be used in order to create a new RefCountedLinearizedTrack, so that the reference-counting mechanism works well.
Definition at line 14 of file LinearizedTrackStateFactory.h.
const LinearizedTrackStateFactory * LinearizedTrackStateFactory::clone | ( | void | ) | const [virtual] |
Implements AbstractLTSFactory< 5 >.
Definition at line 34 of file LinearizedTrackStateFactory.cc.
{ return new LinearizedTrackStateFactory ( *this ); }
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState | ( | const GlobalPoint & | linP, |
const reco::TransientTrack & | track, | ||
const TrajectoryStateOnSurface & | tsos | ||
) | const [virtual] |
Implements AbstractLTSFactory< 5 >.
Definition at line 6 of file LinearizedTrackStateFactory.cc.
{ return RefCountedLinearizedTrackState( new PerigeeLinearizedTrackState(linP, track, tsos ) ); }
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState | ( | LinearizedTrackState< 5 > * | lts | ) | const |
Definition at line 23 of file LinearizedTrackStateFactory.cc.
{ return RefCountedLinearizedTrackState(lts); }
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState | ( | const GlobalPoint & | linP, |
const reco::TransientTrack & | track | ||
) | const [virtual] |
Implements AbstractLTSFactory< 5 >.
Definition at line 14 of file LinearizedTrackStateFactory.cc.
References reco::TransientTrack::impactPointState().
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::estimate(), TwoBodyDecayFitter::estimate(), LinTrackCache::linTrack(), PerigeeMultiLTS::PerigeeMultiLTS(), PerigeeMultiLTS::prepareCollapsedState(), reco::GhostTrackVertexFinder::reassignTracks(), reco::GhostTrackVertexFinder::refitGhostTrack(), TrimmedVertexFitter::vertex(), vertexAtState(), and reco::GhostTrackVertexFinder::vertices().
{ return RefCountedLinearizedTrackState( new PerigeeLinearizedTrackState(linP, track, track.impactPointState() ) ); }