#include <CachingSeedCleanerByHitPosition.h>
Public Member Functions | |
virtual void | add (const Trajectory *traj) |
CachingSeedCleanerByHitPosition () | |
virtual void | done () |
Tells the cleaner that the seeds are finished, and so it can clear any cache it has. More... | |
virtual bool | good (const TrajectorySeed *seed) |
Returns true if the seed is not overlapping with another trajectory. More... | |
virtual void | init (const std::vector< Trajectory > *vect) |
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... | |
virtual | ~CachingSeedCleanerByHitPosition () |
Public Member Functions inherited from RedundantSeedCleaner | |
void | clean (const std::vector< TrajectorySeed > &, std::vector< TrajectorySeed > &) |
clean More... | |
void | define (std::vector< TrajectorySeed > &) |
collection definition More... | |
RedundantSeedCleaner () | |
constructor More... | |
virtual | ~RedundantSeedCleaner () |
~RedundantSeedCleaner () | |
destructor More... | |
Private Attributes | |
std::multimap< uint32_t, unsigned short > | theCache |
std::vector < Trajectory::RecHitContainer > | theVault |
Definition at line 6 of file CachingSeedCleanerByHitPosition.h.
|
inline |
Definition at line 20 of file CachingSeedCleanerByHitPosition.h.
|
inlinevirtual |
Definition at line 22 of file CachingSeedCleanerByHitPosition.h.
References theCache, and theVault.
|
virtual |
In this implementation, it does nothing
Implements RedundantSeedCleaner.
Definition at line 23 of file CachingSeedCleanerByHitPosition.cc.
References cond::rpcobgas::detid, Trajectory::recHits(), matplotRender::t, theCache, and theVault.
|
virtual |
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
Implements RedundantSeedCleaner.
Definition at line 11 of file CachingSeedCleanerByHitPosition.cc.
References theCache, and theVault.
|
virtual |
Returns true if the seed is not overlapping with another trajectory.
Implements RedundantSeedCleaner.
Definition at line 38 of file CachingSeedCleanerByHitPosition.cc.
References cond::rpcobgas::detid, end, RecHitComparatorByPosition::equals(), first, newFWLiteAna::found, prof2calltree::last, TrajectorySeed::recHits(), matplotRender::t, theCache, and theVault.
|
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.
Implements RedundantSeedCleaner.
Definition at line 7 of file CachingSeedCleanerByHitPosition.cc.
References theCache, and theVault.
|
private |
Definition at line 25 of file CachingSeedCleanerByHitPosition.h.
Referenced by add(), done(), good(), init(), and ~CachingSeedCleanerByHitPosition().
|
private |
Definition at line 24 of file CachingSeedCleanerByHitPosition.h.
Referenced by add(), done(), good(), init(), and ~CachingSeedCleanerByHitPosition().