#include <RedundantSeedCleaner.h>
Description: RedundantSeedCleaner (TrackerSeedGenerator) duplicate removal from triplets pairs pixel seeds .
- Author
- Alessandro Grelli, Jean-Roch Vlimant
Definition at line 21 of file RedundantSeedCleaner.h.
◆ RedundantSeedCleaner()
RedundantSeedCleaner::RedundantSeedCleaner |
( |
| ) |
|
|
inline |
◆ ~RedundantSeedCleaner() [1/2]
RedundantSeedCleaner::~RedundantSeedCleaner |
( |
| ) |
|
|
inline |
◆ ~RedundantSeedCleaner() [2/2]
virtual RedundantSeedCleaner::~RedundantSeedCleaner |
( |
| ) |
|
|
inlinevirtual |
◆ add()
virtual void RedundantSeedCleaner::add |
( |
const Trajectory * |
traj | ) |
|
|
pure virtual |
◆ clean()
clean
Definition at line 48 of file RedundantSeedCleaner.cc.
50 std::vector<TrajectorySeed>
result;
52 std::vector<bool> maskPairs = std::vector<bool>(
seed.size(),
true);
55 for (TrajectorySeedCollection::iterator s1 =
seed.begin(); s1 !=
seed.end(); ++s1) {
58 for (TrajectorySeedCollection::const_iterator s2 = seedTr.begin(); s2 != seedTr.end(); ++s2) {
66 for (
auto const& h2 : s2->recHits()) {
67 for (
auto const& h1 : s1->recHits()) {
75 if (shared == 2 && s1->nHits() != 3) {
76 maskPairs[iPair] =
false;
85 for (TrajectorySeedCollection::iterator s1 =
seed.begin(); s1 !=
seed.end(); ++s1) {
References TrackingRecHit::all, LogDebug, mps_fire::result, and fileCollector::seed.
◆ define()
void RedundantSeedCleaner::define |
( |
std::vector< TrajectorySeed > & |
coll | ) |
|
collection definition
Definition at line 29 of file RedundantSeedCleaner.cc.
30 std::vector<TrajectorySeed> triplets;
33 for (TrajectorySeedCollection::iterator itr = coll.begin(); itr != coll.end(); ++itr) {
35 if (itr->nHits() == 3)
36 triplets.push_back(*itr);
40 if (!triplets.empty())
41 clean(triplets, coll);
References clean().
◆ done()
virtual void RedundantSeedCleaner::done |
( |
| ) |
|
|
pure virtual |
◆ good()
virtual bool RedundantSeedCleaner::good |
( |
const TrajectorySeed * |
seed | ) |
|
|
pure virtual |
◆ init()
virtual void RedundantSeedCleaner::init |
( |
const std::vector< Trajectory > * |
vect | ) |
|
|
pure virtual |
◆ seedTriplets
◆ theCategory
std::string RedundantSeedCleaner::theCategory |
|
private |