From 4fa6297ae6401c74a85cf29bf6609bc8f76aee95 Mon Sep 17 00:00:00 2001 From: laphecet Date: Wed, 4 Mar 2015 09:27:09 +0100 Subject: [PATCH] Adding small protection --- MUON/MUONevaluation/AliMUONCheck.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MUON/MUONevaluation/AliMUONCheck.cxx b/MUON/MUONevaluation/AliMUONCheck.cxx index 0ae52324e8d..d892c78a3af 100644 --- a/MUON/MUONevaluation/AliMUONCheck.cxx +++ b/MUON/MUONevaluation/AliMUONCheck.cxx @@ -309,7 +309,10 @@ AliMUONCheck::CheckESD(Bool_t pdc06TriggerResponse) AliInfo(Form("Terminate %s:", GetName())) ; - effMatch=100*fnTrackTrig/ftracktot; + if ( ftracktot > 0 ) + { + effMatch=100*fnTrackTrig/ftracktot; + } if(pdc06TriggerResponse) { -- 2.39.3