CMS 3D CMS Logo

L1TMuonOverlapTrackProducer.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <strstream>
3 #include <vector>
4 
7 
10 
16 
18 
20  : m_Reconstruction(cfg, consumesCollector()) {
21  produces<l1t::RegionalMuonCandBxCollection>("OMTF");
22 
23  inputTokenDTPh = consumes<L1MuDTChambPhContainer>(cfg.getParameter<edm::InputTag>("srcDTPh"));
24  inputTokenDTTh = consumes<L1MuDTChambThContainer>(cfg.getParameter<edm::InputTag>("srcDTTh"));
25  inputTokenCSC = consumes<CSCCorrelatedLCTDigiCollection>(cfg.getParameter<edm::InputTag>("srcCSC"));
26  inputTokenRPC = consumes<RPCDigiCollection>(cfg.getParameter<edm::InputTag>("srcRPC"));
27 }
40  m_Reconstruction.beginRun(run, iSetup);
41 }
45  std::ostringstream str;
46 
47  std::unique_ptr<l1t::RegionalMuonCandBxCollection> candidates = m_Reconstruction.reconstruct(iEvent, evSetup);
48 
49  iEvent.put(std::move(candidates), "OMTF");
50 }
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
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 &)
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 &)