#include <MultiPerigeeLTSFactory.h>
Public Types | |
typedef ReferenceCountingPointer < LinearizedTrackState< 5 > > | RefCountedLinearizedTrackState |
Public Member Functions | |
const MultiPerigeeLTSFactory * | clone () const |
RefCountedLinearizedTrackState | linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track) const |
RefCountedLinearizedTrackState | linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) const |
Concrete class to encapsulate the creation of RefCountedLinearizedTrackState, which is a reference-counting pointer. This class handles the possibility that the input track is described by not one state, but a Gaussian Mixture of state (see BasicMultiTrajectoryState). Should always be used in order to create a new RefCountedLinearizedTrackState, so that the reference-counting mechanism works well.
Definition at line 18 of file MultiPerigeeLTSFactory.h.
typedef ReferenceCountingPointer<LinearizedTrackState<5> > MultiPerigeeLTSFactory::RefCountedLinearizedTrackState |
Reimplemented from AbstractLTSFactory< 5 >.
Definition at line 22 of file MultiPerigeeLTSFactory.h.
const MultiPerigeeLTSFactory * MultiPerigeeLTSFactory::clone | ( | void | ) | const [virtual] |
Implements AbstractLTSFactory< 5 >.
Definition at line 28 of file MultiPerigeeLTSFactory.cc.
{ return new MultiPerigeeLTSFactory ( *this ); }
MultiPerigeeLTSFactory::RefCountedLinearizedTrackState MultiPerigeeLTSFactory::linearizedTrackState | ( | const GlobalPoint & | linP, |
const reco::TransientTrack & | track | ||
) | const [virtual] |
Implements AbstractLTSFactory< 5 >.
Definition at line 20 of file MultiPerigeeLTSFactory.cc.
References reco::TransientTrack::stateOnSurface().
{ return RefCountedLinearizedTrackState( new PerigeeMultiLTS(linP, track, track.stateOnSurface(linP) ) ); }
MultiPerigeeLTSFactory::RefCountedLinearizedTrackState MultiPerigeeLTSFactory::linearizedTrackState | ( | const GlobalPoint & | linP, |
const reco::TransientTrack & | track, | ||
const TrajectoryStateOnSurface & | tsos | ||
) | const [virtual] |
Implements AbstractLTSFactory< 5 >.
Definition at line 12 of file MultiPerigeeLTSFactory.cc.
{ return RefCountedLinearizedTrackState( new PerigeeMultiLTS(linP, track, tsos ) ); }