CMS 3D CMS Logo

CSCCollector.cc
Go to the documentation of this file.
4 
8 
9 using namespace L1TMuon;
10 
12 
14  const edm::EventSetup& es,
15  std::vector<TriggerPrimitive>& out) const {
17  ev.getByLabel(_src, cscDigis);
18 
19  auto chamber = cscDigis->begin();
20  auto chend = cscDigis->end();
21  for (; chamber != chend; ++chamber) {
22  auto digi = (*chamber).second.first;
23  auto dend = (*chamber).second.second;
24  for (; digi != dend; ++digi) {
25  out.push_back(TriggerPrimitive((*chamber).first, *digi));
26  }
27  }
28 }
29 
Handle.h
CSCCorrelatedLCTDigiCollection.h
L1TMuon::SubsystemCollector
Definition: SubsystemCollector.h:23
L1TMuon::CSCCollector::CSCCollector
CSCCollector(const edm::ParameterSet &)
Definition: CSCCollector.cc:11
edm::Handle< CSCCorrelatedLCTDigiCollection >
CSCCollector.h
CSCDetId.h
TriggerPrimitive
L1TMuon::TriggerPrimitive TriggerPrimitive
Definition: Common.h:31
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
SubsystemCollectorFactory.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edmplugin::PluginFactory
Definition: PluginFactory.h:34
edm::EventSetup
Definition: EventSetup.h:58
L1TMuon
Definition: L1TMuonSubsystems.h:4
L1TMuon::CSCCollector::extractPrimitives
void extractPrimitives(const edm::Event &, const edm::EventSetup &, std::vector< TriggerPrimitive > &) const override
Definition: CSCCollector.cc:13
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
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
edm::Event
Definition: Event.h:73
L1TMuon::CSCCollector
Definition: CSCCollector.h:17