CMS 3D CMS Logo

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 clone(), Trajectory::isValid(), eostools::move(), nt, setHitCloner(), and trajectory().

Referenced by TestSmoothHits::analyze(), GlobalTrackerMuonAlignment::muonFitter(), StandAloneMuonSmoother::smooth(), GlobalTrackerMuonAlignment::trackFitter(), and CosmicMuonSmoother::trajectories().

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