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 
L1TMuon::TriggerPrimitive TriggerPrimitive
Definition: Common.h:31
RPCCollector(const edm::ParameterSet &)
Definition: RPCCollector.cc:12
void extractPrimitives(const edm::Event &, const edm::EventSetup &, std::vector< TriggerPrimitive > &) const override
Definition: RPCCollector.cc:14
#define DEFINE_EDM_PLUGIN(factory, type, name)