49 theService = std::make_unique<MuonServiceProxy>(serviceParameters, consumesCollector());
52 std::make_unique<GlobalCosmicMuonTrajectoryBuilder>(tbpar, theService.get(), iC),
53 std::make_unique<MuonTrackLoader>(trackLoaderParameters, iC, theService.get()),
56 produces<reco::TrackCollection>();
57 produces<TrackingRecHitCollection>();
58 produces<reco::TrackExtraCollection>();
59 produces<std::vector<Trajectory> >();
60 produces<TrajTrackAssociationCollection>();
62 produces<reco::MuonTrackLinksCollection>();
70 LogTrace(metname) <<
"Global Cosmic Muon Reconstruction started";
75 LogTrace(metname) <<
"Muon Track collection is invalid!!!";
83 LogTrace(metname) <<
"Track Reconstruction";
85 std::vector<MuonTrajectoryBuilder::TrackCand> cosTrackCands;
89 cosTrackCands.push_back(cosCand);
std::pair< const Trajectory *, reco::TrackRef > TrackCand
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const std::string metname
void produce(edm::Event &, const edm::EventSetup &) override
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
std::unique_ptr< MuonTrackFinder > theTrackFinder
~GlobalCosmicMuonProducer() override
T getParameter(std::string const &) const
static int position[264][3]
GlobalCosmicMuonProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken