45 theSeedCollectionToken =
58 theService = std::make_unique<MuonServiceProxy>(serviceParameters, consumesCollector());
60 std::make_unique<MuonTrackFinder>(std::make_unique<CosmicMuonTrajectoryBuilder>(tbpar, theService.get(), iC),
61 std::make_unique<MuonTrackLoader>(trackLoaderParameters, iC, theService.get()),
64 produces<reco::TrackCollection>();
65 produces<TrackingRecHitCollection>();
66 produces<reco::TrackExtraCollection>();
67 produces<std::vector<Trajectory> >();
68 produces<TrajTrackAssociationCollection>();
75 LogInfo(
"CosmicMuonProducer") <<
"Analyzing event number: " << iEvent.
id();
78 iEvent.
getByToken(theSeedCollectionToken, seeds);
81 theService->update(iSetup);
82 theTrackFinder->reconstruct(seeds, iEvent, iSetup);
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::Event &, const edm::EventSetup &) override
CosmicMuonProducer(const edm::ParameterSet &)
Log< level::Info, false > LogInfo
T getParameter(std::string const &) const
~CosmicMuonProducer() override