From 58e1d4edca9e8b4255ce184ec1452e9d82668423 Mon Sep 17 00:00:00 2001 From: laphecet Date: Wed, 1 Jul 2009 16:01:56 +0000 Subject: [PATCH] Adding paranoiac protection to be 200% sure to get physical charges --- MUON/AliMUONDigitCalibrator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MUON/AliMUONDigitCalibrator.cxx b/MUON/AliMUONDigitCalibrator.cxx index dac8bcbc38d..75f6868a961 100644 --- a/MUON/AliMUONDigitCalibrator.cxx +++ b/MUON/AliMUONDigitCalibrator.cxx @@ -379,7 +379,7 @@ AliMUONDigitCalibrator::CalibrateDigit(Int_t detElemId, Int_t manuId, Int_t manu } } - return charge; + return ( charge > 0.0 ? charge : 0.0 ); } //_____________________________________________________________________________ -- 2.43.0