26 omtfParamsEsToken(esConsumes<L1TMuonOverlapParams, L1TMuonOverlapParamsRcd, edm::Transition::BeginRun>()),
27 muonGeometryTokens({esConsumes<RPCGeometry, MuonGeometryRecord, edm::Transition::BeginRun>(),
28 esConsumes<CSCGeometry, MuonGeometryRecord, edm::Transition::BeginRun>(),
29 esConsumes<DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun>()}),
31 magneticFieldEsToken(esConsumes<MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun>()),
32 propagatorEsToken(esConsumes<Propagator, TrackingComponentsRecord, edm::Transition::BeginRun>(
34 omtfEmulation(edmParameterSet,
36 consumes<L1Phase2MuDTPhContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"srcDTPhPhase2"))) {
37 produces<l1t::RegionalMuonCandBxCollection>(
"OMTF");
40 if (edmParameterSet.exists(
"simTracksTag"))
41 mayConsume<edm::SimTrackContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"simTracksTag"));
42 if (edmParameterSet.exists(
"simVertexesTag"))
43 mayConsume<edm::SimVertexContainer>(edmParameterSet.getParameter<
edm::InputTag>(
"simVertexesTag"));
60 std::ostringstream
str;
MuonGeometryTokens muonGeometryTokens
void beginRun(edm::Run const &run, edm::EventSetup const &iSetup) override
T getParameter(std::string const &) const
L1TMuonOverlapPhase2TrackProducer(const edm::ParameterSet &)
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorEsToken
void produce(edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< L1TMuonOverlapParams, L1TMuonOverlapParamsRcd > omtfParamsEsToken
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)
OmtfEmulation omtfEmulation
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldEsToken
needed by tools/CandidateSimMuonMatcher.h