46 theSeedCollectionToken =consumes<edm::View<TrajectorySeed> >( iConfig.
getParameter<
std::string>(
"MuonSeedCollectionLabel"));
62 produces<reco::TrackCollection>();
63 produces<TrackingRecHitCollection>();
64 produces<reco::TrackExtraCollection>();
65 produces<std::vector<Trajectory> >();
66 produces<TrajTrackAssociationCollection>();
73 if (theService)
delete theService;
74 if (theTrackFinder)
delete theTrackFinder;
82 LogInfo(
"CosmicMuonProducer") <<
"Analyzing event number: " << iEvent.
id();
85 iEvent.
getByToken(theSeedCollectionToken,seeds);
88 theService->update(iSetup);
89 theTrackFinder->reconstruct(seeds,iEvent);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
CosmicMuonProducer(const edm::ParameterSet &)