CMS 3D CMS Logo

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 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
 
- 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

◆ RefCountedLinearizedTrackState

Definition at line 20 of file MultiPerigeeLTSFactory.h.

Member Function Documentation

◆ clone()

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

Implements AbstractLTSFactory< 5 >.

Definition at line 21 of file MultiPerigeeLTSFactory.cc.

21 { return new MultiPerigeeLTSFactory(*this); }

◆ linearizedTrackState() [1/2]

MultiPerigeeLTSFactory::RefCountedLinearizedTrackState MultiPerigeeLTSFactory::linearizedTrackState ( const GlobalPoint linP,
const reco::TransientTrack track 
) const
overridevirtual

Implements AbstractLTSFactory< 5 >.

Definition at line 16 of file MultiPerigeeLTSFactory.cc.

17  {
18  return RefCountedLinearizedTrackState(new PerigeeMultiLTS(linP, track, track.stateOnSurface(linP)));
19 }

References HLT_FULL_cff::track.

◆ linearizedTrackState() [2/2]

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

Implements AbstractLTSFactory< 5 >.

Definition at line 11 of file MultiPerigeeLTSFactory.cc.

12  {
13  return RefCountedLinearizedTrackState(new PerigeeMultiLTS(linP, track, tsos));
14 }

References HLT_FULL_cff::track.

MultiPerigeeLTSFactory
Definition: MultiPerigeeLTSFactory.h:18
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
PerigeeMultiLTS
Definition: PerigeeMultiLTS.h:14
MultiPerigeeLTSFactory::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition: MultiPerigeeLTSFactory.h:20