Skip to content

Commit

Permalink
Merge pull request #21203 from jiafulow/patch-2
Browse files Browse the repository at this point in the history
Fix L1TMuonEndCap warning regarding Phase 2 iRPC hits
  • Loading branch information
cmsbuild committed Nov 15, 2017
2 parents 341daa6 + 989e6d3 commit 56d188b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions L1Trigger/L1TMuonEndCap/src/EMTFSubsystemCollector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ void EMTFSubsystemCollector::extractPrimitives(
auto dend = (*chamber).second.second;
for( ; digi != dend; ++digi ) {
if ((*chamber).first.region() != 0) { // 0 is barrel
if (!((*chamber).first.station() <= 2 && (*chamber).first.ring() == 3)) { // do not include RE1/3, RE2/3
out.emplace_back((*chamber).first,digi->strip(),(*chamber).first.layer(),digi->bx());
}
if ((*chamber).first.station() <= 2 && (*chamber).first.ring() == 3) continue; // do not include RE1/3, RE2/3
if ((*chamber).first.station() >= 3 && (*chamber).first.ring() == 1) continue; // do not include RE3/1, RE4/1

out.emplace_back((*chamber).first,digi->strip(),(*chamber).first.layer(),digi->bx());
}
}
}
Expand Down

0 comments on commit 56d188b

Please sign in to comment.