#include <RecoVertex/VertexTools/interface/LinearizedTrackStateFactory.h>
Public Member Functions | |
const LinearizedTrackStateFactory * | clone () const |
RefCountedLinearizedTrackState | linearizedTrackState (LinearizedTrackState< 5 > *lts) const |
RefCountedLinearizedTrackState | linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) const |
RefCountedLinearizedTrackState | linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track) const |
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.
00035 { 00036 return new LinearizedTrackStateFactory ( *this ); 00037 }
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState | ( | LinearizedTrackState< 5 > * | lts | ) | const |
Definition at line 23 of file LinearizedTrackStateFactory.cc.
00024 { 00025 return RefCountedLinearizedTrackState(lts); 00026 }
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.
00008 { 00009 return RefCountedLinearizedTrackState( 00010 new PerigeeLinearizedTrackState(linP, track, tsos ) ); 00011 }
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 SingleTrackVertexConstraint::constrain(), KalmanVertexTrackCompatibilityEstimator< N >::estimate(), LinTrackCache::linTrack(), PerigeeMultiLTS::PerigeeMultiLTS(), and PerigeeMultiLTS::prepareCollapsedState().
00016 { 00017 return RefCountedLinearizedTrackState( 00018 new PerigeeLinearizedTrackState(linP, track, track.impactPointState() ) ); 00019 }