CMS 3D CMS Logo

RPCCollector.cc
Go to the documentation of this file.
5 
9 
10 using namespace L1TMuon;
11 
13 
15  const edm::EventSetup& es,
16  std::vector<TriggerPrimitive>& out) const {
18  ev.getByLabel(_src, rpcDigis);
19 
20  auto chamber = rpcDigis->begin();
21  auto chend = rpcDigis->end();
22  for (; chamber != chend; ++chamber) {
23  auto digi = (*chamber).second.first;
24  auto dend = (*chamber).second.second;
25  for (; digi != dend; ++digi) {
26  out.push_back(TriggerPrimitive((*chamber).first, *digi));
27  }
28  }
29 }
30 
Handle.h
L1TMuon::SubsystemCollector
Definition: SubsystemCollector.h:23
RPCCollector.h
L1TMuon::RPCCollector
Definition: RPCCollector.h:17
edm::Handle< RPCDigiCollection >
TriggerPrimitive
L1TMuon::TriggerPrimitive TriggerPrimitive
Definition: Common.h:31
L1TMuon::RPCCollector::RPCCollector
RPCCollector(const edm::ParameterSet &)
Definition: RPCCollector.cc:12
RPCDigi.h
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
SubsystemCollectorFactory.h
RPCDetId.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edmplugin::PluginFactory
Definition: PluginFactory.h:34
edm::EventSetup
Definition: EventSetup.h:57
L1TMuon
Definition: L1TMuonSubsystems.h:4
L1TMuon::SubsystemCollector::_src
edm::InputTag _src
Definition: SubsystemCollector.h:31
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
EventSetup.h
RPCDigiCollection.h
L1TMuon::RPCCollector::extractPrimitives
void extractPrimitives(const edm::Event &, const edm::EventSetup &, std::vector< TriggerPrimitive > &) const override
Definition: RPCCollector.cc:14
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
edm::Event
Definition: Event.h:73