Skip to content
Snippets Groups Projects
Commit a0bb1b41 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'master-derivations-JetEtmiss' into 'master'

Fixing FPE warning

See merge request atlas/athena!38740
parents b9ad28df bd40fcde
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
// System includes
......@@ -172,8 +172,16 @@ namespace ORUtils
// Don't reject jets with high track multiplicity and
// high relative PT ratio
bool highNumTrk = nTrk >= m_numJetTrk;
bool highRelPt = (muon->pt()/jet->pt() < m_muJetPtRatio ||
muon->pt()/sumTrkPt < m_muJetTrkPtRatio);
bool highRelPt = false;
if (sumTrkPt < FLT_MIN){
highRelPt = (muon->pt()/jet->pt() < m_muJetPtRatio);
}
else{
highRelPt = (muon->pt()/jet->pt() < m_muJetPtRatio ||
muon->pt()/sumTrkPt < m_muJetTrkPtRatio);
}
if(highNumTrk && (!m_applyRelPt || highRelPt)) continue;
if(m_dRMatchCone1->objectsMatch(*muon, *jet)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment