32 std::vector<TrajectorySeed> triplets;
35 for(TrajectorySeedCollection::iterator itr =coll.begin(); itr != coll.end(); ++itr){
37 if(itr->nHits()==3) triplets.push_back(*itr);
42 if (!triplets.empty())
clean(triplets,coll);
53 std::vector<TrajectorySeed>
result;
55 std::vector<bool> maskPairs = std::vector<bool>(seed.size(),
true);
58 for(TrajectorySeedCollection::iterator s1 =seed.begin(); s1 != seed.end(); ++s1){
63 for(TrajectorySeedCollection::const_iterator
s2 = seedTr.begin();
s2 != seedTr.end(); ++
s2){
65 if(
s2->nHits()==0)
continue ;
73 for(;h2 < r2.second;h2++){
76 if(s1->nHits()!=3)
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){
91 if (maskPairs[iPair]) result.push_back(*s1);
void define(std::vector< TrajectorySeed > &)
collection definition
recHitContainer::const_iterator const_iterator
std::pair< const_iterator, const_iterator > range
void clean(const std::vector< TrajectorySeed > &, std::vector< TrajectorySeed > &)
clean