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

#include <TrajectoryCleaner.h>

Inheritance diagram for TrajectoryCleaner:
TrajectoryCleanerBySharedHits TrajectoryCleanerBySharedSeeds TrajectoryCleanerMerger

Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 13 of file TrajectoryCleaner.h.

Member Typedef Documentation

Definition at line 16 of file TrajectoryCleaner.h.

Definition at line 17 of file TrajectoryCleaner.h.

typedef TrajectoryContainer::iterator TrajectoryCleaner::TrajectoryIterator

Definition at line 19 of file TrajectoryCleaner.h.

Definition at line 18 of file TrajectoryCleaner.h.

typedef TrajectoryPointerContainer::iterator TrajectoryCleaner::TrajectoryPointerIterator

Definition at line 20 of file TrajectoryCleaner.h.

Constructor & Destructor Documentation

TrajectoryCleaner::TrajectoryCleaner ( )
inline

Definition at line 22 of file TrajectoryCleaner.h.

22 {};
TrajectoryCleaner::TrajectoryCleaner ( edm::ParameterSet iConfig)
inline

Definition at line 23 of file TrajectoryCleaner.h.

23 {};
virtual TrajectoryCleaner::~TrajectoryCleaner ( )
inlinevirtual

Definition at line 24 of file TrajectoryCleaner.h.

24 {};

Member Function Documentation

void TrajectoryCleaner::clean ( TrajectoryContainer tc) const
virtual

Reimplemented in TrajectoryCleanerMerger.

Definition at line 6 of file TrajectoryCleaner.cc.

Referenced by cms::CkfTrackCandidateMakerBase::produceBase().

7 {
8  TrajectoryPointerContainer thePointerContainer;
9  thePointerContainer.reserve(tc.size());
10  for (TrajectoryCleaner::TrajectoryIterator it = tc.begin(); it != tc.end(); it++) {
11  thePointerContainer.push_back( &(*it) );
12  }
13 
14  clean(thePointerContainer);
15 }
std::vector< Trajectory * > TrajectoryPointerContainer
virtual void clean(TrajectoryContainer &) const
TrajectoryContainer::iterator TrajectoryIterator
virtual void TrajectoryCleaner::clean ( TrajectoryPointerContainer ) const
pure virtual