Skip to content

Commit

Permalink
update BMTF Emulator for backport to CMSSW_14_0_X
Browse files Browse the repository at this point in the history
  • Loading branch information
gmelachr committed Mar 26, 2024
1 parent 1ab1183 commit 1dab1f2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion L1Trigger/L1TMuonBarrel/src/L1TMuonBarrelKalmanAlgo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,16 @@ l1t::RegionalMuonCand L1TMuonBarrelKalmanAlgo::convertToBMTF(const L1MuKBMTrack&
int processor = track.sector();
int HF = track.hasFineEta();

int quality = 12 | (rank(track) >> 6);
int quality;
int r = rank(track);
if (r < 192)
quality = 12;
else if (r < 204)
quality = 13;
else if (r < 220)
quality = 14;
else
quality = 15;

int dxy = abs(track.dxy()) >> 8;
if (dxy > 3)
Expand Down

0 comments on commit 1dab1f2

Please sign in to comment.