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);
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) {
60 for (TrajectorySeedCollection::const_iterator
s2 = seedTr.begin();
s2 != seedTr.end(); ++
s2) {
71 for (; h2 < r2.second; h2++) {
76 LogDebug(theCategory) << shared <<
" shared hits counter if 2 erease the seed.";
80 if (shared == 2 && s1->nHits() != 3) {
81 maskPairs[iPair] =
false;
90 for (TrajectorySeedCollection::iterator s1 = seed.begin(); s1 != seed.end(); ++s1) {
92 result.push_back(*s1);
std::pair< const_iterator, const_iterator > range
void define(std::vector< TrajectorySeed > &)
collection definition
static void clean(char *s)
recHitContainer::const_iterator const_iterator
void clean(const std::vector< TrajectorySeed > &, std::vector< TrajectorySeed > &)
clean