test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Private Member Functions
TrajectoryFitter Class Referenceabstract

#include <TrajectoryFitter.h>

Inheritance diagram for TrajectoryFitter:
GsfTrajectoryFitter KFFittingSmoother KFSplittingFitter KFTrajectoryFitter

Public Types

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

Public Member Functions

virtual std::unique_ptr
< TrajectoryFitter
clone () const =0
 
std::vector< Trajectoryfit (const Trajectory &traj, fitType type=standard) const
 
std::vector< Trajectoryfit (const TrajectorySeed &seed, const RecHitContainer &hits, fitType type=standard) const
 
std::vector< Trajectoryfit (const TrajectorySeed &seed, const RecHitContainer &hits, const TrajectoryStateOnSurface &tsos, fitType type=standard) const
 
virtual Trajectory fitOne (const Trajectory &traj, fitType type=standard) const =0
 
virtual Trajectory fitOne (const TrajectorySeed &seed, const RecHitContainer &hits, fitType typee=standard) const =0
 
virtual Trajectory fitOne (const TrajectorySeed &seed, const RecHitContainer &hits, const TrajectoryStateOnSurface &tsos, fitType type=standard) const =0
 
virtual void setHitCloner (TkCloner 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 21 of file TrajectoryFitter.h.

Member Typedef Documentation

Definition at line 26 of file TrajectoryFitter.h.

Definition at line 25 of file TrajectoryFitter.h.

Member Enumeration Documentation

Enumerator
standard 
looper 

Definition at line 23 of file TrajectoryFitter.h.

Constructor & Destructor Documentation

virtual TrajectoryFitter::~TrajectoryFitter ( )
inlinevirtual

Definition at line 28 of file TrajectoryFitter.h.

28 {}

Member Function Documentation

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

Definition at line 44 of file TrajectoryFitter.h.

References fitOne(), and makeVect().

Referenced by DAFTrackProducerAlgorithm::filter(), and trackingPlots.Iteration::modules().

44 {return makeVect(fitOne(traj,type));}
type
Definition: HCALResponse.h:21
virtual Trajectory fitOne(const Trajectory &traj, fitType type=standard) const =0
static std::vector< Trajectory > makeVect(Trajectory &&outTraj)
std::vector<Trajectory> TrajectoryFitter::fit ( const TrajectorySeed seed,
const RecHitContainer hits,
fitType  type = standard 
) const
inline

Definition at line 46 of file TrajectoryFitter.h.

References fitOne(), and makeVect().

Referenced by trackingPlots.Iteration::modules().

47  {return makeVect(fitOne(seed,hits,type));}
type
Definition: HCALResponse.h:21
virtual Trajectory fitOne(const Trajectory &traj, fitType type=standard) const =0
static std::vector< Trajectory > makeVect(Trajectory &&outTraj)
std::vector<Trajectory> TrajectoryFitter::fit ( const TrajectorySeed seed,
const RecHitContainer hits,
const TrajectoryStateOnSurface tsos,
fitType  type = standard 
) const
inline

Definition at line 48 of file TrajectoryFitter.h.

References fitOne(), and makeVect().

Referenced by trackingPlots.Iteration::modules().

51  {return makeVect(fitOne(seed,hits,tsos,type));}
type
Definition: HCALResponse.h:21
virtual Trajectory fitOne(const Trajectory &traj, fitType type=standard) const =0
static std::vector< Trajectory > makeVect(Trajectory &&outTraj)
virtual Trajectory TrajectoryFitter::fitOne ( const Trajectory traj,
fitType  type = standard 
) const
pure virtual
virtual Trajectory TrajectoryFitter::fitOne ( const TrajectorySeed seed,
const RecHitContainer hits,
fitType  typee = standard 
) const
pure virtual
virtual Trajectory TrajectoryFitter::fitOne ( const TrajectorySeed seed,
const RecHitContainer hits,
const TrajectoryStateOnSurface tsos,
fitType  type = standard 
) const
pure virtual
static std::vector<Trajectory> TrajectoryFitter::makeVect ( Trajectory &&  outTraj)
inlinestaticprivate

Definition at line 55 of file TrajectoryFitter.h.

References eostools::move().

Referenced by fit().

55  {
56  if (outTraj.isValid()) return std::vector<Trajectory>(1,std::move(outTraj));
57  return std::vector<Trajectory>();
58  }
def move
Definition: eostools.py:510
bool isValid() const
Definition: Trajectory.h:324
virtual void TrajectoryFitter::setHitCloner ( TkCloner const *  )
pure virtual