#include <RedundantSeedCleaner.h>
Public Member Functions | |
virtual void | add (const Trajectory *traj)=0 |
Informs the cleaner that a new trajectory has been made, in case the cleaner keeps a local collection of those tracks (i.e. in a map) More... | |
void | clean (const std::vector< TrajectorySeed > &, std::vector< TrajectorySeed > &) |
clean More... | |
void | define (std::vector< TrajectorySeed > &) |
collection definition More... | |
virtual void | done ()=0 |
Tells the cleaner that the seeds are finished, and so it can clear any cache it has. More... | |
virtual bool | good (const TrajectorySeed *seed)=0 |
Returns true if the seed is not overlapping with another trajectory. More... | |
virtual void | init (const std::vector< Trajectory > *vect)=0 |
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want to keep a local collection of trajectories. More... | |
RedundantSeedCleaner () | |
constructor More... | |
virtual | ~RedundantSeedCleaner () |
~RedundantSeedCleaner () | |
destructor More... | |
Private Attributes | |
std::vector< TrajectorySeed > | seedTriplets |
std::string | theCategory |
Description: RedundantSeedCleaner (TrackerSeedGenerator) duplicate removal from triplets pairs pixel seeds .
Definition at line 22 of file RedundantSeedCleaner.h.
|
inline |
|
inline |
|
inlinevirtual |
Definition at line 9 of file RedundantSeedCleaner.h.
|
pure virtual |
Informs the cleaner that a new trajectory has been made, in case the cleaner keeps a local collection of those tracks (i.e. in a map)
Implemented in CachingSeedCleanerBySharedInput, SeedCleanerBySharedInput, CachingSeedCleanerByHitPosition, and SeedCleanerByHitPosition.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase(), counter.Counter::register(), InOutConversionTrackFinder::tracks(), and OutInConversionTrackFinder::tracks().
void RedundantSeedCleaner::clean | ( | const std::vector< TrajectorySeed > & | seedTr, |
std::vector< TrajectorySeed > & | seed | ||
) |
clean
Definition at line 49 of file RedundantSeedCleaner.cc.
References TrackingRecHit::all, LogDebug, diffTwoXMLs::r1, diffTwoXMLs::r2, query::result, and indexGen::s2.
void RedundantSeedCleaner::define | ( | std::vector< TrajectorySeed > & | coll | ) |
collection definition
Definition at line 29 of file RedundantSeedCleaner.cc.
References clean.
|
pure virtual |
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
Implemented in CachingSeedCleanerBySharedInput, SeedCleanerBySharedInput, CachingSeedCleanerByHitPosition, and SeedCleanerByHitPosition.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase(), InOutConversionTrackFinder::tracks(), and OutInConversionTrackFinder::tracks().
|
pure virtual |
Returns true if the seed is not overlapping with another trajectory.
Implemented in CachingSeedCleanerBySharedInput, SeedCleanerBySharedInput, CachingSeedCleanerByHitPosition, and SeedCleanerByHitPosition.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase(), InOutConversionTrackFinder::tracks(), and OutInConversionTrackFinder::tracks().
|
pure virtual |
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want to keep a local collection of trajectories.
Implemented in CachingSeedCleanerBySharedInput, SeedCleanerBySharedInput, CachingSeedCleanerByHitPosition, and SeedCleanerByHitPosition.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase(), InOutConversionTrackFinder::tracks(), and OutInConversionTrackFinder::tracks().
|
private |
Definition at line 38 of file RedundantSeedCleaner.h.
|
private |
Definition at line 40 of file RedundantSeedCleaner.h.