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)) {
50 out.emplace_back((*chamber).first,digi->strip(),(*chamber).first.layer(),digi->bx());
69 auto chamber = gemDigis->begin();
70 auto chend = gemDigis->end();
72 auto digi = (*chamber).second.first;
73 auto dend = (*chamber).second.second;
74 for( ; digi != dend; ++digi ) {
75 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