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 }
OMTFReconstruction::reconstruct
std::unique_ptr< l1t::RegionalMuonCandBxCollection > reconstruct(const edm::Event &, const edm::EventSetup &)
Definition: OMTFReconstruction.cc:95
L1TMuonOverlapTrackProducer::L1TMuonOverlapTrackProducer
L1TMuonOverlapTrackProducer(const edm::ParameterSet &)
Definition: L1TMuonOverlapTrackProducer.cc:19
L1TMuonOverlapTrackProducer::m_Reconstruction
OMTFReconstruction m_Reconstruction
Definition: L1TMuonOverlapTrackProducer.h:58
MessageLogger.h
OMTFProcessor.h
edm::Run
Definition: Run.h:45
L1TMuonOverlapTrackProducer::endJob
void endJob() override
Definition: L1TMuonOverlapTrackProducer.cc:36
L1TMuonOverlapTrackProducer::inputTokenDTPh
edm::EDGetTokenT< L1MuDTChambPhContainer > inputTokenDTPh
Definition: L1TMuonOverlapTrackProducer.h:51
RPCConst.h
L1TMuonOverlapTrackProducer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: L1TMuonOverlapTrackProducer.cc:39
MakerMacros.h
OMTFConfiguration.h
L1TMuonOverlapTrackProducer::beginJob
void beginJob() override
Definition: L1TMuonOverlapTrackProducer.cc:33
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
L1TMuonOverlapTrackProducer::inputTokenDTTh
edm::EDGetTokenT< L1MuDTChambThContainer > inputTokenDTTh
Definition: L1TMuonOverlapTrackProducer.h:52
str
#define str(s)
Definition: TestProcessor.cc:51
OMTFReconstruction::beginJob
void beginJob()
Definition: OMTFReconstruction.cc:49
L1TMuonOverlapTrackProducer::produce
void produce(edm::Event &, edm::EventSetup const &) override
Definition: L1TMuonOverlapTrackProducer.cc:44
L1TMuonOverlapParams.h
edm::ParameterSet
Definition: ParameterSet.h:47
OMTFReconstruction::endJob
void endJob()
Definition: OMTFReconstruction.cc:55
L1TMuonOverlapTrackProducer
Definition: L1TMuonOverlapTrackProducer.h:35
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:57
looper.cfg
cfg
Definition: looper.py:297
L1TMuonOverlapTrackProducer::~L1TMuonOverlapTrackProducer
~L1TMuonOverlapTrackProducer() override
Definition: L1TMuonOverlapTrackProducer.cc:30
L1TMuonOverlapTrackProducer::inputTokenCSC
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > inputTokenCSC
Definition: L1TMuonOverlapTrackProducer.h:53
eostools.move
def move(src, dest)
Definition: eostools.py:511
writedatasetfile.run
run
Definition: writedatasetfile.py:27
HLT_FULL_cff.candidates
candidates
Definition: HLT_FULL_cff.py:54985
XMLConfigWriter.h
L1TMuonOverlapParamsRcd.h
OMTFReconstruction::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: OMTFReconstruction.cc:63
ConsumesCollector.h
OMTFinput.h
edm::Event
Definition: Event.h:73
L1TMuonOverlapTrackProducer.h
edm::InputTag
Definition: InputTag.h:15
L1TMuonOverlapTrackProducer::inputTokenRPC
edm::EDGetTokenT< RPCDigiCollection > inputTokenRPC
Definition: L1TMuonOverlapTrackProducer.h:54