CMS 3D CMS Logo

Public Member Functions

LinearizedTrackStateFactory Class Reference

#include <LinearizedTrackStateFactory.h>

Inheritance diagram for LinearizedTrackStateFactory:
AbstractLTSFactory< 5 >

List of all members.

Public Member Functions

const LinearizedTrackStateFactoryclone () const
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) const
RefCountedLinearizedTrackState linearizedTrackState (LinearizedTrackState< 5 > *lts) const
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track) const

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 [virtual]

Implements AbstractLTSFactory< 5 >.

Definition at line 34 of file LinearizedTrackStateFactory.cc.

{
  return new LinearizedTrackStateFactory ( *this );
}
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.

{
  return RefCountedLinearizedTrackState(
    new PerigeeLinearizedTrackState(linP, track, tsos ) );
}
LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState ( LinearizedTrackState< 5 > *  lts) const

Definition at line 23 of file LinearizedTrackStateFactory.cc.

LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState ( const GlobalPoint linP,
const reco::TransientTrack track 
) const [virtual]