16 std::array<std::vector<edm::Ptr<l1t::TrackerMuon::L1TTTrackType> >, 9> loctracks;
17 for (
unsigned i = 0;
i < 9; ++
i)
22 for (
unsigned i = 0;
i < 9; ++
i)
26 std::array<l1t::MuonStubRefVector, 9>
stubs;
27 for (
int i = 0;
i < 9; ++
i)
31 std::array<std::vector<PreTrackMatchedMuon>, 9> mus;
32 for (
int i = 0;
i < 9; ++
i)
36 std::vector<std::vector<PreTrackMatchedMuon> > muCleaneds;
37 muCleaneds.push_back(
tps_->cleanNeighbor(mus[0], mus[8], mus[1],
true));
38 muCleaneds.push_back(
tps_->cleanNeighbor(mus[1], mus[0], mus[2],
false));
39 muCleaneds.push_back(
tps_->cleanNeighbor(mus[2], mus[1], mus[3],
true));
40 muCleaneds.push_back(
tps_->cleanNeighbor(mus[3], mus[2], mus[4],
false));
41 muCleaneds.push_back(
tps_->cleanNeighbor(mus[4], mus[3], mus[5],
true));
42 muCleaneds.push_back(
tps_->cleanNeighbor(mus[5], mus[4], mus[6],
false));
43 muCleaneds.push_back(
tps_->cleanNeighbor(mus[6], mus[5], mus[7],
true));
44 muCleaneds.push_back(
tps_->cleanNeighbor(mus[7], mus[6], mus[8],
false));
46 muCleaneds.push_back(
tps_->cleanNeighbor(mus[8], mus[7], mus[0],
false));
49 std::vector<PreTrackMatchedMuon> mergedCleaned;
50 for (
auto&&
v : muCleaneds) {
51 mergedCleaned.insert(mergedCleaned.end(),
v.begin(),
v.end());
54 std::vector<l1t::TrackerMuon> trackMatchedMuonsNoIso =
tps_->convert(mergedCleaned, 32);
57 std::vector<l1t::TrackerMuon> sortedTrackMuonsNoIso =
tps_->sort(trackMatchedMuonsNoIso, 12);
59 tps_->SetQualityBits(sortedTrackMuonsNoIso);
62 std::vector<ConvertedTTTrack> mergedconvertedTracks;
64 mergedconvertedTracks.insert(mergedconvertedTracks.end(),
v.begin(),
v.end());
67 isolation_->isolation_allmu_alltrk(sortedTrackMuonsNoIso, mergedconvertedTracks);
72 tps_->outputGT(sortedTrackMuonsNoIso);
74 return sortedTrackMuonsNoIso;
std::vector< edm::Ptr< l1t::TrackerMuon::L1TTTrackType > > associateTracksWithNonant(const std::vector< edm::Ptr< l1t::TrackerMuon::L1TTTrackType > > &tracks, uint processor)
l1t::MuonStubRefVector associateStubsWithNonant(const l1t::MuonStubRefVector &, uint)
std::unique_ptr< Isolation > isolation_
std::unique_ptr< TrackConverter > tt_track_converter_
std::unique_ptr< TPSAlgorithm > tps_