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
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 16 of file TrajectoryCleaner.h.

Definition at line 22 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 24 of file TrajectoryCleaner.h.

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

Definition at line 25 of file TrajectoryCleaner.h.

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

Definition at line 26 of file TrajectoryCleaner.h.

26 {}

Member Function Documentation

void TrajectoryCleaner::clean ( TempTrajectoryContainer ) const
virtual

Reimplemented in FastTrajectoryCleaner.

Definition at line 5 of file TrajectoryCleaner.cc.

References cms::cuda::assert().

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

5  {
6  edm::LogError("TrajectoryCleaner") << "not implemented for TempTrajectory";
7  assert(false);
8 }
Log< level::Error, false > LogError
assert(be >=bs)
void TrajectoryCleaner::clean ( TrajectoryContainer tc) const
virtual

Definition at line 10 of file TrajectoryCleaner.cc.

References clean().

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