|
|
Go to the documentation of this file.
30 std::unique_ptr<MuonTrackLoader> trackLoader,
39 std::unique_ptr<MuonTrackLoader> trackLoader,
40 std::unique_ptr<MuonTrajectoryCleaner> cleaner,
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()));
void setEvent(const edm::Event &)
percolate the Event Setup
std::unique_ptr< MuonTrajectoryBuilder > theTrajBuilder
edm::OrphanHandle< reco::TrackCollection > reconstruct(const edm::Handle< edm::View< TrajectorySeed > > &, edm::Event &, const edm::EventSetup &)
reconstruct standalone tracks starting from a collection of seeds
MuonCandidate::CandidateContainer CandidateContainer
std::unique_ptr< MuonTrajectoryCleaner > theTrajCleaner
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTtopoToken
MuonTrackFinder(std::unique_ptr< MuonTrajectoryBuilder > ConcreteMuonTrajectoryBuilder, std::unique_ptr< MuonTrackLoader > trackLoader, edm::ConsumesCollector iC)
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagato...
std::unique_ptr< MuonTrackLoader > theTrackLoader
virtual ~MuonTrackFinder()
destructor
bool getData(T &iHolder) const
edm::OrphanHandle< reco::TrackCollection > load(TrajectoryContainer &, edm::Event &, const TrackerTopology &ttopo)
convert the trajectories into tracks and load them in to the event
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
MuonCandidate::TrajectoryContainer TrajectoryContainer
const std::string metname