CMS 3D CMS Logo

List of all members | Public Member Functions
LinearizedTrackStateFactory Class Reference

#include <LinearizedTrackStateFactory.h>

Inheritance diagram for LinearizedTrackStateFactory:
AbstractLTSFactory< 5 >

Public Member Functions

const LinearizedTrackStateFactoryclone () const override
 
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track) const override
 
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) const override
 
RefCountedLinearizedTrackState linearizedTrackState (LinearizedTrackState< 5 > *lts) const
 
- Public Member Functions inherited from AbstractLTSFactory< 5 >
virtual ~AbstractLTSFactory ()
 

Additional Inherited Members

- Public Types inherited from AbstractLTSFactory< 5 >
typedef ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
 

Detailed Description

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.

Member Function Documentation

const LinearizedTrackStateFactory * LinearizedTrackStateFactory::clone ( void  ) const
overridevirtual

Implements AbstractLTSFactory< 5 >.

Definition at line 28 of file LinearizedTrackStateFactory.cc.

LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState ( const GlobalPoint linP,
const reco::TransientTrack track 
) const
overridevirtual
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState ( const GlobalPoint linP,
const reco::TransientTrack track,
const TrajectoryStateOnSurface tsos 
) const
overridevirtual

Implements AbstractLTSFactory< 5 >.

Definition at line 6 of file LinearizedTrackStateFactory.cc.

8 {
10  new PerigeeLinearizedTrackState(linP, track, tsos ) );
11 }
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState ( LinearizedTrackState< 5 > *  lts) const

Definition at line 23 of file LinearizedTrackStateFactory.cc.

24 {
26 }
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState