CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
tuple cfg
Definition: looper.py:296
#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 &)
def move
Definition: eostools.py:511
edm::EDGetTokenT< RPCDigiCollection > inputTokenRPC
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDGetTokenT< L1MuDTChambThContainer > inputTokenDTTh
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCSC
#define str(s)
Definition: Run.h:45
L1TMuonOverlapTrackProducer(const edm::ParameterSet &)