#include <CachingSeedCleanerBySharedInput.h>
Public Member Functions | |
virtual void | add (const Trajectory *traj) |
CachingSeedCleanerBySharedInput (unsigned int numHitsForSeedCleaner=4, bool onlyPixelHits=false) | |
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 int > | theCache |
int | theNumHitsForSeedCleaner |
bool | theOnlyPixelHits |
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 29 of file CachingSeedCleanerBySharedInput.cc.
References cond::rpcobgas::detid, customizeTrackingMonitorSeedNumber::idx, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, lumiQTWidget::t, theCache, theOnlyPixelHits, 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 16 of file CachingSeedCleanerBySharedInput.cc.
|
virtual |
Returns true if the seed is not overlapping with another trajectory.
Implements RedundantSeedCleaner.
Definition at line 53 of file CachingSeedCleanerBySharedInput.cc.
References TrackingRecHit::all, cond::rpcobgas::detid, first, newFWLiteAna::found, prof2calltree::last, bookConverter::min, TrajectorySeed::nHits(), TrajectorySeed::recHits(), lumiQTWidget::t, theCache, theNumHitsForSeedCleaner, 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 12 of file CachingSeedCleanerBySharedInput.cc.
|
private |
Definition at line 31 of file CachingSeedCleanerBySharedInput.h.
Referenced by add(), done(), good(), init(), and ~CachingSeedCleanerBySharedInput().
|
private |
Definition at line 33 of file CachingSeedCleanerBySharedInput.h.
Referenced by good().
|
private |
Definition at line 34 of file CachingSeedCleanerBySharedInput.h.
Referenced by add().
|
private |
Definition at line 29 of file CachingSeedCleanerBySharedInput.h.
Referenced by add(), done(), good(), init(), and ~CachingSeedCleanerBySharedInput().