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.

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

References HLT_2023v12_cff::track.

17  {
18  return RefCountedLinearizedTrackState(new PerigeeMultiLTS(linP, track, track.stateOnSurface(linP)));
19 }
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState

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

References HLT_2023v12_cff::track.

12  {
13  return RefCountedLinearizedTrackState(new PerigeeMultiLTS(linP, track, tsos));
14 }
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState