CMS 3D CMS Logo

List of all members | Public Member Functions
L1TMuon::RPCCollector Class Reference

#include <RPCCollector.h>

Inheritance diagram for L1TMuon::RPCCollector:
L1TMuon::SubsystemCollector

Public Member Functions

void extractPrimitives (const edm::Event &, const edm::EventSetup &, std::vector< TriggerPrimitive > &) const override
 
 RPCCollector (const edm::ParameterSet &)
 
 ~RPCCollector () override
 
- Public Member Functions inherited from L1TMuon::SubsystemCollector
 SubsystemCollector (const edm::ParameterSet &)
 
virtual ~SubsystemCollector ()
 

Additional Inherited Members

- Protected Attributes inherited from L1TMuon::SubsystemCollector
edm::InputTag _src
 

Detailed Description

Definition at line 17 of file RPCCollector.h.

Constructor & Destructor Documentation

◆ RPCCollector()

RPCCollector::RPCCollector ( const edm::ParameterSet ps)

Definition at line 12 of file RPCCollector.cc.

12 : SubsystemCollector(ps) {}

◆ ~RPCCollector()

L1TMuon::RPCCollector::~RPCCollector ( )
inlineoverride

Definition at line 20 of file RPCCollector.h.

20 {}

Member Function Documentation

◆ extractPrimitives()

void RPCCollector::extractPrimitives ( const edm::Event ev,
const edm::EventSetup es,
std::vector< TriggerPrimitive > &  out 
) const
overridevirtual

Implements L1TMuon::SubsystemCollector.

Definition at line 14 of file RPCCollector.cc.

16  {
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 }

References L1TMuon::SubsystemCollector::_src, relativeConstraints::chamber, ev, and MillePedeFileConverter_cfg::out.

edm::Handle< RPCDigiCollection >
TriggerPrimitive
L1TMuon::TriggerPrimitive TriggerPrimitive
Definition: Common.h:31
L1TMuon::SubsystemCollector::_src
edm::InputTag _src
Definition: SubsystemCollector.h:31
L1TMuon::SubsystemCollector::SubsystemCollector
SubsystemCollector(const edm::ParameterSet &)
Definition: SubsystemCollector.cc:6
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31