CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
TrajectoryCleaner Class Referenceabstract

#include <TrajectoryCleaner.h>

Inheritance diagram for TrajectoryCleaner:
FastTrajectoryCleaner TrajectoryCleanerBySharedHits

Public Types

typedef TrackingComponentsRecord Record
 
using TempTrajectoryContainer = std::vector< TempTrajectory >
 
typedef std::vector< TrajectoryTrajectoryContainer
 
typedef TrajectoryContainer::iterator TrajectoryIterator
 
typedef std::vector< Trajectory * > TrajectoryPointerContainer
 
typedef TrajectoryPointerContainer::iterator TrajectoryPointerIterator
 

Public Member Functions

virtual void clean (TempTrajectoryContainer &) const
 
virtual void clean (TrajectoryContainer &) const
 
virtual void clean (TrajectoryPointerContainer &) const =0
 
 TrajectoryCleaner ()
 
 TrajectoryCleaner (edm::ParameterSet &iConfig)
 
virtual ~TrajectoryCleaner ()
 

Detailed Description

Definition at line 14 of file TrajectoryCleaner.h.

Member Typedef Documentation

Definition at line 17 of file TrajectoryCleaner.h.

Definition at line 23 of file TrajectoryCleaner.h.

Definition at line 18 of file TrajectoryCleaner.h.

typedef TrajectoryContainer::iterator TrajectoryCleaner::TrajectoryIterator

Definition at line 20 of file TrajectoryCleaner.h.

Definition at line 19 of file TrajectoryCleaner.h.

typedef TrajectoryPointerContainer::iterator TrajectoryCleaner::TrajectoryPointerIterator

Definition at line 21 of file TrajectoryCleaner.h.

Constructor & Destructor Documentation

TrajectoryCleaner::TrajectoryCleaner ( )
inline

Definition at line 27 of file TrajectoryCleaner.h.

27 {}
TrajectoryCleaner::TrajectoryCleaner ( edm::ParameterSet iConfig)
inline

Definition at line 28 of file TrajectoryCleaner.h.

28 {}
virtual TrajectoryCleaner::~TrajectoryCleaner ( )
inlinevirtual

Definition at line 29 of file TrajectoryCleaner.h.

References clean().

29 {}

Member Function Documentation

void TrajectoryCleaner::clean ( TempTrajectoryContainer ) const
virtual

Reimplemented in FastTrajectoryCleaner.

Definition at line 5 of file TrajectoryCleaner.cc.

Referenced by clean(), cms::CkfTrackCandidateMakerBase::produceBase(), ~TrajectoryCleaner(), and TrajectoryCleanerBySharedHits::~TrajectoryCleanerBySharedHits().

6 {
7  edm::LogError("TrajectoryCleaner") << "not implemented for TempTrajectory";
8  assert(false);
9 }
void TrajectoryCleaner::clean ( TrajectoryContainer tc) const
virtual

Definition at line 11 of file TrajectoryCleaner.cc.

References clean().

12 {
13  TrajectoryPointerContainer thePointerContainer;
14  thePointerContainer.reserve(tc.size());
15  for (TrajectoryCleaner::TrajectoryIterator it = tc.begin(); it != tc.end(); it++) {
16  thePointerContainer.push_back( &(*it) );
17  }
18 
19  clean(thePointerContainer);
20 }
virtual void clean(TempTrajectoryContainer &) const
std::vector< Trajectory * > TrajectoryPointerContainer
TrajectoryContainer::iterator TrajectoryIterator
virtual void TrajectoryCleaner::clean ( TrajectoryPointerContainer ) const
pure virtual