CMS 3D CMS Logo

Public Types | Public Member Functions

MultiPerigeeLTSFactory Class Reference

#include <MultiPerigeeLTSFactory.h>

Inheritance diagram for MultiPerigeeLTSFactory:
AbstractLTSFactory< 5 >

List of all members.

Public Types

typedef
ReferenceCountingPointer
< LinearizedTrackState< 5 > > 
RefCountedLinearizedTrackState

Public Member Functions

const MultiPerigeeLTSFactoryclone () const
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track) const
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) const

Detailed Description

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.


Member Typedef Documentation

Reimplemented from AbstractLTSFactory< 5 >.

Definition at line 22 of file MultiPerigeeLTSFactory.h.


Member Function Documentation

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 ) );
}