Skip to content

Commit

Permalink
Merge pull request #32818 from cms-l1t-offline/pr113x-L1T-uGT-unconst…
Browse files Browse the repository at this point in the history
…rainedPT-impactParameter-fix-step2

Pr113x L1T Bug fix : uGT emulator of displaced muons - step2
  • Loading branch information
cmsbuild committed Feb 5, 2021
2 parents ebf81a8 + 123d208 commit 49910c3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions L1Trigger/L1TGlobal/src/MuCondition.cc
Expand Up @@ -470,18 +470,6 @@ const bool l1t::MuCondition::checkObjectParameter(const int iCondition,
return false;
}

// check impact parameter ( bit check ) with impact parameter LUT
// sanity check on candidate impact parameter
if (cand.hwDXY() > 3) {
LogDebug("L1TGlobal") << "\t\t l1t::Candidate has out of range hwDXY = " << cand.hwDXY() << std::endl;
return false;
}
bool passImpactParameterLUT = ((objPar.impactParameterLUT >> cand.hwDXY()) & 1);
if (!passImpactParameterLUT) {
LogDebug("L1TGlobal") << "\t\t l1t::Candidate failed impact parameter requirement" << std::endl;
return false;
}

// A number of values is required to trigger (at least one).
// "Don’t care" means that all values are allowed.
// Qual = 000 means then NO MUON (GTL module)
Expand Down

0 comments on commit 49910c3

Please sign in to comment.