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
TrajectorySmoother Class Referenceabstract

#include <TrajectorySmoother.h>

Inheritance diagram for TrajectorySmoother:
CosmicMuonSmoother GsfTrajectorySmoother KFTrajectorySmoother

Public Types

typedef std::vector< TrajectoryTrajectoryContainer
 
typedef
TrajectoryContainer::iterator 
TrajectoryIterator
 

Public Member Functions

virtual TrajectorySmootherclone () const =0
 
virtual void setHitCloner (TkCloner const *)=0
 
virtual TrajectoryContainer trajectories (const Trajectory &traj) const
 
virtual Trajectory trajectory (const Trajectory &) const =0
 
virtual ~TrajectorySmoother ()
 

Detailed Description

Interface class for trajectory smoothers, i.e. objects improving a Trajectory built elsewhere.

Definition at line 12 of file TrajectorySmoother.h.

Member Typedef Documentation

Definition at line 15 of file TrajectorySmoother.h.

typedef TrajectoryContainer::iterator TrajectorySmoother::TrajectoryIterator

Definition at line 16 of file TrajectorySmoother.h.

Constructor & Destructor Documentation

virtual TrajectorySmoother::~TrajectorySmoother ( )
inlinevirtual

Definition at line 18 of file TrajectorySmoother.h.

18 {}

Member Function Documentation

virtual TrajectorySmoother* TrajectorySmoother::clone ( ) const
pure virtual
virtual void TrajectorySmoother::setHitCloner ( TkCloner const *  )
pure virtual
virtual TrajectoryContainer TrajectorySmoother::trajectories ( const Trajectory traj) const
inlinevirtual

Reimplemented in CosmicMuonSmoother.

Definition at line 20 of file TrajectorySmoother.h.

References Trajectory::isValid(), nt, and trajectory().

Referenced by CosmicTrajectoryBuilder::run(), CRackTrajectoryBuilder::run(), StandAloneMuonSmoother::smooth(), and CosmicMuonSmoother::trajectories().

20  {
21  Trajectory && nt = trajectory(traj);
22  if (nt.isValid()) return TrajectoryContainer(1,std::move(nt));
23  return TrajectoryContainer();
24  }
virtual Trajectory trajectory(const Trajectory &) const =0
int nt
Definition: AMPTWrapper.h:32
bool isValid() const
Definition: Trajectory.h:269
std::vector< Trajectory > TrajectoryContainer
virtual Trajectory TrajectorySmoother::trajectory ( const Trajectory ) const
pure virtual