CMS 3D CMS Logo

L1TMuonOverlapTrackProducer.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <vector>
3 
6 
9 
15 
17 
19  : m_Reconstruction(cfg, consumesCollector()) {
20  produces<l1t::RegionalMuonCandBxCollection>("OMTF");
21 
22  inputTokenDTPh = consumes<L1MuDTChambPhContainer>(cfg.getParameter<edm::InputTag>("srcDTPh"));
23  inputTokenDTTh = consumes<L1MuDTChambThContainer>(cfg.getParameter<edm::InputTag>("srcDTTh"));
24  inputTokenCSC = consumes<CSCCorrelatedLCTDigiCollection>(cfg.getParameter<edm::InputTag>("srcCSC"));
25  inputTokenRPC = consumes<RPCDigiCollection>(cfg.getParameter<edm::InputTag>("srcRPC"));
26 }
39  m_Reconstruction.beginRun(run, iSetup);
40 }
44  std::ostringstream str;
45 
46  std::unique_ptr<l1t::RegionalMuonCandBxCollection> candidates = m_Reconstruction.reconstruct(iEvent, evSetup);
47 
48  iEvent.put(std::move(candidates), "OMTF");
49 }
edm::EDGetTokenT< L1MuDTChambPhContainer > inputTokenDTPh
void produce(edm::Event &, edm::EventSetup const &) override
void beginRun(edm::Run const &, edm::EventSetup const &) override
int iEvent
Definition: GenABIO.cc:224
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)
Definition: MakerMacros.h:16
edm::EDGetTokenT< RPCDigiCollection > inputTokenRPC
edm::EDGetTokenT< L1MuDTChambThContainer > inputTokenDTTh
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCSC
#define str(s)
def move(src, dest)
Definition: eostools.py:511
Definition: Run.h:45
L1TMuonOverlapTrackProducer(const edm::ParameterSet &)