Skip to content
Snippets Groups Projects
Commit 8f300c72 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'cherry-pick-7abc6fcb-master' into 'master'

Sweeping !30642 from 21.3 to master.
Fix printout logic in MuonPerformanceAlg

See merge request atlas/athena!30740
parents 815de9b6 8dd71320
No related branches found
No related tags found
No related merge requests found
......@@ -253,10 +253,10 @@ StatusCode MuonPerformanceAlg::execute()
} else print(" Muon not found by Loose ", truthMu);
if (medium) {
m_nfound[9] += 1;
} else if (!loose) print(" Muon not found by Medium ", truthMu);
} else if (loose) print(" Muon not found by Medium ", truthMu);
if (tight) {
m_nfound[8] += 1;
} else if (!medium) print(" Muon not found by Tight ", truthMu);
} else if (medium) print(" Muon not found by Tight ", truthMu);
m_nfound[6] += 1;
if (truthMu->pt() > 5000.) {
if (loose) m_nfound5[10] += 1;
......@@ -336,12 +336,12 @@ StatusCode MuonPerformanceAlg::execute()
m_nfound[9] += 1;
if (truthMu->pt() > 5000.) m_nfound5[9] += 1;
if (truthMu->pt() > 10000.) m_nfound10[9] += 1;
} else if (!loose) print(" Muon not found by Medium endcap ", truthMu);
} else if (loose) print(" Muon not found by Medium endcap ", truthMu);
if (tight) {
m_nfound[8] += 1;
if (truthMu->pt() > 5000.) m_nfound5[8] += 1;
if (truthMu->pt() > 10000.) m_nfound10[8] += 1;
} else if (!medium) print(" Muon not found by Tight endcap ", truthMu);
} else if (medium) print(" Muon not found by Tight endcap ", truthMu);
}
} else {
print(" No link Muon not found by CaloTag and Calolikelihood ", truthMu );
......
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