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
MultiPerigeeLTSFactory Class Reference

#include <MultiPerigeeLTSFactory.h>

Inheritance diagram for MultiPerigeeLTSFactory:
AbstractLTSFactory< 5 >

Public Types

typedef
ReferenceCountingPointer
< LinearizedTrackState< 5 > > 
RefCountedLinearizedTrackState
 
- Public Types inherited from AbstractLTSFactory< 5 >
typedef
ReferenceCountingPointer
< LinearizedTrackState< N > > 
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
 
- Public Member Functions inherited from AbstractLTSFactory< 5 >
virtual ~AbstractLTSFactory ()
 

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

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.

29 {
30  return new MultiPerigeeLTSFactory ( *this );
31 }
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().

22 {
24  new PerigeeMultiLTS(linP, track, track.stateOnSurface(linP) ) );
25 }
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const
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.

14 {
16  new PerigeeMultiLTS(linP, track, tsos ) );
17 }
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState