Skip to content

Commit

Permalink
Applying code firmat
Browse files Browse the repository at this point in the history
  • Loading branch information
bachtis committed Mar 18, 2024
1 parent e61c68d commit 3dec535
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions L1Trigger/L1TMuonBarrel/src/L1TMuonBarrelKalmanAlgo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,16 @@ l1t::RegionalMuonCand L1TMuonBarrelKalmanAlgo::convertToBMTF(const L1MuKBMTrack&
int processor = track.sector();
int HF = track.hasFineEta();



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;

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 3dec535

Please sign in to comment.