CMS 3D CMS Logo

Public Types | Public Member Functions

TrajectoryCleaner Class Reference

#include <TrajectoryCleaner.h>

Inheritance diagram for TrajectoryCleaner:
TrajectoryCleanerBySharedHits TrajectoryCleanerBySharedSeeds TrajectoryCleanerMerger

List of all members.

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 (edm::ParameterSet &iConfig)
 TrajectoryCleaner ()
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.

Reimplemented in TrajectoryCleanerBySharedHits, and TrajectoryCleanerBySharedSeeds.

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.

{};
TrajectoryCleaner::TrajectoryCleaner ( edm::ParameterSet iConfig) [inline]

Definition at line 23 of file TrajectoryCleaner.h.

{};
virtual TrajectoryCleaner::~TrajectoryCleaner ( ) [inline, virtual]

Definition at line 24 of file TrajectoryCleaner.h.

{};

Member Function Documentation

void TrajectoryCleaner::clean ( TrajectoryContainer tc) const [virtual]

Reimplemented in TrajectoryCleanerBySharedSeeds, and TrajectoryCleanerMerger.

Definition at line 6 of file TrajectoryCleaner.cc.

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

{
  TrajectoryPointerContainer thePointerContainer;
  thePointerContainer.reserve(tc.size());
  for (TrajectoryCleaner::TrajectoryIterator it = tc.begin(); it != tc.end(); it++) {
    thePointerContainer.push_back( &(*it) );
  }

  clean(thePointerContainer);
}
virtual void TrajectoryCleaner::clean ( TrajectoryPointerContainer ) const [pure virtual]