CMS 3D CMS Logo

LinearizedTrackStateFactory Class Reference

Concrete class to encapsulate the creation of a RefCountedLinearizedTrack, which is a reference-counting pointer. More...

#include <RecoVertex/VertexTools/interface/LinearizedTrackStateFactory.h>

Inheritance diagram for LinearizedTrackStateFactory:

AbstractLTSFactory< 5 >

List of all members.

Public Member Functions

const LinearizedTrackStateFactoryclone () const
RefCountedLinearizedTrackState linearizedTrackState (LinearizedTrackState< 5 > *lts) const
RefCountedLinearizedTrackState linearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) 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.

00035 {
00036   return new LinearizedTrackStateFactory ( *this );
00037 }

LinearizedTrackStateFactory::RefCountedLinearizedTrackState LinearizedTrackStateFactory::linearizedTrackState ( LinearizedTrackState< 5 > *  lts  )  const

Definition at line 23 of file LinearizedTrackStateFactory.cc.

00024 {
00025   return RefCountedLinearizedTrackState(lts);
00026 }    

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.

00008 {
00009   return RefCountedLinearizedTrackState(
00010     new PerigeeLinearizedTrackState(linP, track, tsos ) );
00011 }

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

Implements AbstractLTSFactory< 5 >.

Definition at line 14 of file LinearizedTrackStateFactory.cc.

References reco::TransientTrack::impactPointState().

Referenced by SingleTrackVertexConstraint::constrain(), KalmanVertexTrackCompatibilityEstimator< N >::estimate(), LinTrackCache::linTrack(), PerigeeMultiLTS::PerigeeMultiLTS(), and PerigeeMultiLTS::prepareCollapsedState().

00016 {
00017   return RefCountedLinearizedTrackState(
00018     new PerigeeLinearizedTrackState(linP, track, track.impactPointState() ) );
00019 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:27:45 2009 for CMSSW by  doxygen 1.5.4