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(
"rpcSimHitsInputTag"))
47 mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"rpcSimHitsInputTag"));
48 if (edmParameterSet.exists(
"cscSimHitsInputTag"))
49 mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"cscSimHitsInputTag"));
50 if (edmParameterSet.exists(
"dtSimHitsInputTag"))
51 mayConsume<edm::PSimHitContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"dtSimHitsInputTag"));
53 if (edmParameterSet.exists(
"rpcDigiSimLinkInputTag"))
55 edmParameterSet.getParameter<
edm::InputTag>(
"rpcDigiSimLinkInputTag"));
56 if (edmParameterSet.exists(
"cscStripDigiSimLinksInputTag"))
58 edmParameterSet.getParameter<
edm::InputTag>(
"cscStripDigiSimLinksInputTag"));
59 if (edmParameterSet.exists(
"dtDigiSimLinksInputTag"))
61 edmParameterSet.getParameter<
edm::InputTag>(
"dtDigiSimLinksInputTag"));
81 std::ostringstream
str;
T getParameter(std::string const &) const
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldEsToken
needed by tools/CandidateSimMuonMatcher.h
#define DEFINE_FWK_MODULE(type)
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 &)
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...