28 omtfParamsEsToken(esConsumes<L1TMuonOverlapParams, L1TMuonOverlapParamsRcd, edm::Transition::BeginRun>()),
29 muonGeometryTokens({esConsumes<RPCGeometry, MuonGeometryRecord, edm::Transition::BeginRun>(),
30 esConsumes<CSCGeometry, MuonGeometryRecord, edm::Transition::BeginRun>(),
31 esConsumes<DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun>()}),
32 magneticFieldEsToken(esConsumes<MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun>()),
33 propagatorEsToken(esConsumes<Propagator, TrackingComponentsRecord, edm::Transition::BeginRun>(
36 omtfReconstruction(edmParameterSet, muStubsInputTokens) {
37 produces<l1t::RegionalMuonCandBxCollection>(
"OMTF");
39 if (edmParameterSet.exists(
"simTracksTag"))
40 mayConsume<edm::SimTrackContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"simTracksTag"));
41 if (edmParameterSet.exists(
"simVertexesTag"))
42 mayConsume<edm::SimVertexContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"simVertexesTag"));
43 if (edmParameterSet.exists(
"trackingParticleTag"))
44 mayConsume<TrackingParticleCollection>(edmParameterSet.getParameter<
edm::InputTag>(
"trackingParticleTag"));
46 if (edmParameterSet.exists(
"genParticleTag"))
47 mayConsume<reco::GenParticleCollection>(edmParameterSet.getParameter<
edm::InputTag>(
"genParticleTag"));
49 if (edmParameterSet.exists(
"rpcSimHitsInputTag"))
50 mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"rpcSimHitsInputTag"));
51 if (edmParameterSet.exists(
"cscSimHitsInputTag"))
52 mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"cscSimHitsInputTag"));
53 if (edmParameterSet.exists(
"dtSimHitsInputTag"))
54 mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"dtSimHitsInputTag"));
56 if (edmParameterSet.exists(
"rpcDigiSimLinkInputTag"))
58 edmParameterSet.getParameter<
edm::InputTag>(
"rpcDigiSimLinkInputTag"));
59 if (edmParameterSet.exists(
"cscStripDigiSimLinksInputTag"))
61 edmParameterSet.getParameter<
edm::InputTag>(
"cscStripDigiSimLinksInputTag"));
62 if (edmParameterSet.exists(
"dtDigiSimLinksInputTag"))
64 edmParameterSet.getParameter<
edm::InputTag>(
"dtDigiSimLinksInputTag"));
84 std::ostringstream
str;
T getParameter(std::string const &) const
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldEsToken
needed by tools/CandidateSimMuonMatcher.h
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorEsToken
void produce(edm::Event &, const edm::EventSetup &) override
void beginRun(edm::Run const &run, edm::EventSetup const &iSetup) override
MuonGeometryTokens muonGeometryTokens
OMTFReconstruction omtfReconstruction
std::unique_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
void beginRun(edm::Run const &, edm::EventSetup const &)
#define DEFINE_FWK_MODULE(type)
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd > omtfParamsEsToken
L1TMuonOverlapPhase1TrackProducer(const edm::ParameterSet &)
~L1TMuonOverlapPhase1TrackProducer() override
A container for a generic type of digis indexed by some index, implemented with a map<IndexType...