#include <SeedCleanerBySharedInput.h>
Public Member Functions | |
virtual void | add (const Trajectory *traj) |
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... | |
SeedCleanerBySharedInput () | |
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 | |
const std::vector< Trajectory > * | trajectories |
Copy of SeedCleanerByHitPosition. Difference: uses sharedInput method of TrackingRecHit to determine equality.
Definition at line 8 of file SeedCleanerBySharedInput.h.
|
inline |
Definition at line 22 of file SeedCleanerBySharedInput.h.
|
inlinevirtual |
In this implementation, it does nothing
Implements RedundantSeedCleaner.
Definition at line 11 of file SeedCleanerBySharedInput.h.
Referenced by counter.Counter::register().
|
inlinevirtual |
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 SeedCleanerBySharedInput.h.
References trajectories.
|
virtual |
Returns true if the seed is not overlapping with another trajectory.
Implements RedundantSeedCleaner.
Definition at line 3 of file SeedCleanerBySharedInput.cc.
References TrackingRecHit::all, plotBeamSpotDB::first, newFWLiteAna::found, plotBeamSpotDB::last, TrajectorySeed::recHits(), and trajectories.
|
inlinevirtual |
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 14 of file SeedCleanerBySharedInput.h.
References trajectories.
|
private |
Definition at line 24 of file SeedCleanerBySharedInput.h.