diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonPerformanceAlg.cxx b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonPerformanceAlg.cxx index d0cd9c98c7b2bfd40533eedc9717375132f131b2..ab5f240433e119a5d91617062a6c176cbb6abff1 100644 --- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonPerformanceAlg.cxx +++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonTrackPerformance/src/MuonPerformanceAlg.cxx @@ -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 );