Skip to content

Commit 769d333

Browse files
authored
Merge pull request #47571 from Parsifal-2045/stubsFix
Fix endcap assignment of L1 Muon stubs
2 parents 0dc8768 + 035bdd8 commit 769d333

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

L1Trigger/Phase2L1GMT/src/L1TPhase2GMTEndcapStubProcessor.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ l1t::MuonStub L1TPhase2GMTEndcapStubProcessor::buildCSCOnlyStub(const CSCDetId&
3737
int eta1 = int(gp.eta() / eta1LSB_);
3838

3939
int wheel = 0;
40-
int sign = endcap == 1 ? -1 : 1;
40+
// endcap: 1=forward (+Z), 2=backward(-Z) from CSCDetId
41+
int sign = endcap == 2 ? -1 : 1;
4142

4243
if (ring == 3)
4344
wheel = sign * 3;

0 commit comments

Comments
 (0)