CMS 3D CMS Logo

Public Types | Public Member Functions | Static Private Member Functions

TrajectoryFitter Class Reference

#include <TrajectoryFitter.h>

Inheritance diagram for TrajectoryFitter:
GCC11_FINAL< T > GCC11_FINAL< T > GCC11_FINAL< T > GCC11_FINAL< T > GCC11_FINAL< T >

List of all members.

Public Types

enum  fitType { standard = 0, looper = 1 }
typedef Trajectory::RecHitContainer RecHitContainer
typedef TrajectoryFitterRecord Record

Public Member Functions

virtual TrajectoryFitterclone () const =0
std::vector< Trajectoryfit (const TrajectorySeed &seed, const RecHitContainer &hits, const TrajectoryStateOnSurface &tsos, fitType type=standard) const
std::vector< Trajectoryfit (const TrajectorySeed &seed, const RecHitContainer &hits, fitType type=standard) const
std::vector< Trajectoryfit (const Trajectory &traj, fitType type=standard) const
virtual Trajectory fitOne (const TrajectorySeed &seed, const RecHitContainer &hits, const TrajectoryStateOnSurface &tsos, fitType type=standard) const =0
virtual Trajectory fitOne (const TrajectorySeed &seed, const RecHitContainer &hits, fitType typee=standard) const =0
virtual Trajectory fitOne (const Trajectory &traj, fitType type=standard) const =0
virtual ~TrajectoryFitter ()

Static Private Member Functions

static std::vector< TrajectorymakeVect (Trajectory &&outTraj)

Detailed Description

Interface class for trajectory fitters, i.e. computing Trajectories out of a seed and/or collection of RecHits.

Definition at line 18 of file TrajectoryFitter.h.


Member Typedef Documentation

Reimplemented in GCC11_FINAL< T >.

Definition at line 23 of file TrajectoryFitter.h.

Definition at line 22 of file TrajectoryFitter.h.


Member Enumeration Documentation

Enumerator:
standard 
looper 

Definition at line 20 of file TrajectoryFitter.h.

{standard=0, looper=1};

Constructor & Destructor Documentation

virtual TrajectoryFitter::~TrajectoryFitter ( ) [inline, virtual]

Definition at line 25 of file TrajectoryFitter.h.

{}

Member Function Documentation

virtual TrajectoryFitter* TrajectoryFitter::clone ( ) const [pure virtual]
std::vector<Trajectory> TrajectoryFitter::fit ( const Trajectory traj,
fitType  type = standard 
) const [inline]

Definition at line 38 of file TrajectoryFitter.h.

References fitOne(), and makeVect().

{return makeVect(fitOne(traj,type));}
std::vector<Trajectory> TrajectoryFitter::fit ( const TrajectorySeed seed,
const RecHitContainer hits,
const TrajectoryStateOnSurface tsos,
fitType  type = standard 
) const [inline]

Definition at line 42 of file TrajectoryFitter.h.

References fitOne(), and makeVect().

                                                                 {return makeVect(fitOne(seed,hits,tsos,type));}
std::vector<Trajectory> TrajectoryFitter::fit ( const TrajectorySeed seed,
const RecHitContainer hits,
fitType  type = standard 
) const [inline]

Definition at line 40 of file TrajectoryFitter.h.

References fitOne(), and makeVect().

                                                                                        {return makeVect(fitOne(seed,hits,type));}
virtual Trajectory TrajectoryFitter::fitOne ( const Trajectory traj,
fitType  type = standard 
) const [pure virtual]
virtual Trajectory TrajectoryFitter::fitOne ( const TrajectorySeed seed,
const RecHitContainer hits,
const TrajectoryStateOnSurface tsos,
fitType  type = standard 
) const [pure virtual]
virtual Trajectory TrajectoryFitter::fitOne ( const TrajectorySeed seed,
const RecHitContainer hits,
fitType  typee = standard 
) const [pure virtual]
static std::vector<Trajectory> TrajectoryFitter::makeVect ( Trajectory &&  outTraj) [inline, static, private]

Definition at line 49 of file TrajectoryFitter.h.

Referenced by fit().

                                                               {
    if (outTraj.isValid()) return std::vector<Trajectory>(1,std::move(outTraj));
    return std::vector<Trajectory>();
  }