18 auto chamber = cscDigis->begin();
19 auto chend = cscDigis->end();
21 auto digi = (*chamber).second.first;
22 auto dend = (*chamber).second.second;
23 for( ; digi != dend; ++digi ) {
25 out.emplace_back((*chamber).first,*digi);
42 auto chamber = rpcDigis->begin();
43 auto chend = rpcDigis->end();
45 auto digi = (*chamber).second.first;
46 auto dend = (*chamber).second.second;
47 for( ; digi != dend; ++digi ) {
48 if ((*chamber).first.region() != 0) {
49 if ((*chamber).first.station() <= 2 && (*chamber).first.ring() == 3)
continue;
50 if ((*chamber).first.station() >= 3 && (*chamber).first.ring() == 1)
continue;
52 out.emplace_back((*chamber).first,digi->strip(),(*chamber).first.layer(),digi->bx());
70 auto chamber = gemDigis->begin();
71 auto chend = gemDigis->end();
73 auto digi = (*chamber).second.first;
74 auto dend = (*chamber).second.second;
75 for( ; digi != dend; ++digi ) {
76 out.emplace_back((*chamber).first,*digi);
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void extractPrimitives(T tag, const edm::Event &iEvent, const edm::EDGetToken &token, TriggerPrimitiveCollection &out)
L1TMuon::TriggerPrimitiveCollection TriggerPrimitiveCollection