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

◆ Record

Definition at line 16 of file TrajectoryCleaner.h.

◆ TempTrajectoryContainer

Definition at line 22 of file TrajectoryCleaner.h.

◆ TrajectoryContainer

Definition at line 17 of file TrajectoryCleaner.h.

◆ TrajectoryIterator

typedef TrajectoryContainer::iterator TrajectoryCleaner::TrajectoryIterator

Definition at line 19 of file TrajectoryCleaner.h.

◆ TrajectoryPointerContainer

Definition at line 18 of file TrajectoryCleaner.h.

◆ TrajectoryPointerIterator

typedef TrajectoryPointerContainer::iterator TrajectoryCleaner::TrajectoryPointerIterator

Definition at line 20 of file TrajectoryCleaner.h.

Constructor & Destructor Documentation

◆ TrajectoryCleaner() [1/2]

TrajectoryCleaner::TrajectoryCleaner ( )
inline

Definition at line 24 of file TrajectoryCleaner.h.

24 {}

◆ TrajectoryCleaner() [2/2]

TrajectoryCleaner::TrajectoryCleaner ( edm::ParameterSet iConfig)
inline

Definition at line 25 of file TrajectoryCleaner.h.

25 {}

◆ ~TrajectoryCleaner()

virtual TrajectoryCleaner::~TrajectoryCleaner ( )
inlinevirtual

Definition at line 26 of file TrajectoryCleaner.h.

26 {}

Member Function Documentation

◆ clean() [1/3]

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)

◆ clean() [2/3]

void TrajectoryCleaner::clean ( TrajectoryContainer tc) const
virtual

Definition at line 10 of file TrajectoryCleaner.cc.

References clean(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.

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

◆ clean() [3/3]

virtual void TrajectoryCleaner::clean ( TrajectoryPointerContainer ) const
pure virtual