#include <CachingSeedCleanerBySharedInput.h>
Public Member Functions | |
virtual void | add (const Trajectory *traj) |
CachingSeedCleanerBySharedInput () | |
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 | ~CachingSeedCleanerBySharedInput () |
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 | |
boost::unordered_multimap < uint32_t, unsigned short > | theCache |
std::vector < Trajectory::RecHitContainer > | theVault |
Merge of SeedCleanerBySharedInput and CachingSeedCleanerByHitPosition
Definition at line 8 of file CachingSeedCleanerBySharedInput.h.
|
inline |
Definition at line 22 of file CachingSeedCleanerBySharedInput.h.
|
inlinevirtual |
|
virtual |
In this implementation, it does nothing
Implements RedundantSeedCleaner.
Definition at line 27 of file CachingSeedCleanerBySharedInput.cc.
References cond::rpcobgas::detid, 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 14 of file CachingSeedCleanerBySharedInput.cc.
|
virtual |
Returns true if the seed is not overlapping with another trajectory.
Implements RedundantSeedCleaner.
Definition at line 45 of file CachingSeedCleanerBySharedInput.cc.
References TrackingRecHit::all, cond::rpcobgas::detid, first, newFWLiteAna::found, prof2calltree::last, min, TrajectorySeed::nHits(), 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 10 of file CachingSeedCleanerBySharedInput.cc.
|
private |
Definition at line 28 of file CachingSeedCleanerBySharedInput.h.
Referenced by add(), done(), good(), init(), and ~CachingSeedCleanerBySharedInput().
|
private |
Definition at line 26 of file CachingSeedCleanerBySharedInput.h.
Referenced by add(), done(), good(), init(), and ~CachingSeedCleanerBySharedInput().