CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 11 of file TrajectorySmoother.h.

Member Typedef Documentation

Definition at line 13 of file TrajectorySmoother.h.

typedef TrajectoryContainer::iterator TrajectorySmoother::TrajectoryIterator

Definition at line 14 of file TrajectorySmoother.h.

Constructor & Destructor Documentation

virtual TrajectorySmoother::~TrajectorySmoother ( )
inlinevirtual

Definition at line 16 of file TrajectorySmoother.h.

16 {}

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 18 of file TrajectorySmoother.h.

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

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

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