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) {
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()) {
71 LogDebug(theCategory) << shared <<
" shared hits counter if 2 erease the seed.";
75 if (shared == 2 && s1->nHits() != 3) {
76 maskPairs[iPair] =
false;
85 for (TrajectorySeedCollection::iterator s1 =
seed.begin(); s1 !=
seed.end(); ++s1) {
void define(std::vector< TrajectorySeed > &)
collection definition
static void clean(char *s)
void clean(const std::vector< TrajectorySeed > &, std::vector< TrajectorySeed > &)
clean