33 std::unique_ptr<MuonTrackLoader> trackLoader)
34 : theTrajBuilder(
std::
move(ConcreteMuonTrajectoryBuilder)),
36 theTrackLoader(
std::
move(trackLoader)) {}
40 std::unique_ptr<MuonTrackLoader> trackLoader,
41 std::unique_ptr<MuonTrajectoryCleaner> cleaner)
42 : theTrajBuilder(
std::
move(ConcreteMuonTrajectoryBuilder)),
43 theTrajCleaner(
std::
move(cleaner)),
44 theTrackLoader(
std::
move(trackLoader)) {}
48 LogTrace(
"Muon|RecoMuon|MuonTrackFinder") <<
"MuonTrackFinder destructor called" << endl;
69 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, *httopo);
104 const string metname =
"Muon|RecoMuon|MuonTrackFinder";
116 for (vector<TrackCand>::const_iterator staCand = staCandColl.begin(); staCand != staCandColl.end(); ++staCand) {
119 std::make_move_iterator(muonCands_temp.begin()),
120 std::make_move_iterator(muonCands_temp.end()));