#include <L1MuonSeedsMerger.h>
Definition at line 10 of file L1MuonSeedsMerger.h.
virtual L1MuonSeedsMerger::~L1MuonSeedsMerger |
( |
| ) |
|
|
inlinevirtual |
Definition at line 12 of file L1MuonSeedsMerger.cc.
References compare(), goAhead, killFirst, killSecond, merge(), mergeTwo, and theDeltaEtaCut.
Referenced by TSGFromL1Muon::produce().
15 typedef std::vector<TrackAndHits>::iterator Tracks_Itr;
16 Tracks_Itr it1 =
tracks.begin();
17 while (it1 !=
tracks.end() ) {
18 for (Tracks_Itr it2 = it1+1; it1->first && it2<
tracks.end(); it2++) {
19 if (! it2->first)
continue;
20 if ( it2->first->eta() - it1->first->eta() >
theDeltaEtaCut)
break;
21 switch (
compare( &(*it1), &(*it2) ) ) {
31 *it2 = *(
merge(&(*it1),&(*it2)));
37 if (
nullptr == it1->first)
tracks.erase(it1);
else it1++;
Action compare(const TrackAndHits *, const TrackAndHits *) const
const TrackAndHits * merge(const TrackAndHits *, const TrackAndHits *) const
float L1MuonSeedsMerger::theDeltaEtaCut |
|
private |
float L1MuonSeedsMerger::theDiffRelPtCut |
|
private |