30 std::unique_ptr<MuonTrackLoader> trackLoader,
39 std::unique_ptr<MuonTrackLoader> trackLoader,
40 std::unique_ptr<MuonTrajectoryCleaner> cleaner,
42 : theTtopoToken(iC.esConsumes()),
43 theTrajBuilder(
std::
move(ConcreteMuonTrajectoryBuilder)),
44 theTrajCleaner(
std::
move(cleaner)),
45 theTrackLoader(
std::
move(trackLoader)) {}
49 LogTrace(
"Muon|RecoMuon|MuonTrackFinder") <<
"MuonTrackFinder destructor called" << endl;
70 const string metname =
"Muon|RecoMuon|MuonTrackFinder";
86 for (TrajectoryContainer::iterator it = muonTrajs_temp.begin(); it != muonTrajs_temp.end(); ++it) {
87 (*it)->setSeedRef(
seeds->refAt(nSeed));
88 muonTrajectories.push_back(
std::move(*it));
98 LogTrace(
metname) <<
"Convert the trajectories into tracks and load them in to the event" << endl;
99 return load(muonTrajectories,
event, ttopo);
104 const string metname =
"Muon|RecoMuon|MuonTrackFinder";
115 for (vector<TrackCand>::const_iterator staCand = staCandColl.begin(); staCand != staCandColl.end(); ++staCand) {
118 std::make_move_iterator(muonCands_temp.begin()),
119 std::make_move_iterator(muonCands_temp.end()));