From 017253748dd15e41a54799f2144a311ef5c0a1d9 Mon Sep 17 00:00:00 2001 From: skowron Date: Thu, 29 Nov 2001 19:16:49 +0000 Subject: [PATCH] Better error reporting --- HBTAN/AliHBTAnalysis.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HBTAN/AliHBTAnalysis.cxx b/HBTAN/AliHBTAnalysis.cxx index cee3c2e947c..33469540510 100644 --- a/HBTAN/AliHBTAnalysis.cxx +++ b/HBTAN/AliHBTAnalysis.cxx @@ -80,7 +80,7 @@ void AliHBTAnalysis::Process(Option_t* option) // if (!fReader) { - Error("AliHBTAnalysis::Process","The reader is not set"); + Error("Process","The reader is not set"); return; } @@ -92,18 +92,18 @@ void AliHBTAnalysis::Process(Option_t* option) { if (fReader->GetNumberOfPartEvents() <1) { - Error("AliHBTAnalysis::Process","There is no Particles. Maybe change the option?"); + Error("Process","There is no Particles. Maybe change the option?"); return; } if (fReader->GetNumberOfTrackEvents() <1) { - Error("AliHBTAnalysis::Process","There is no Tracks. Maybe change the option?"); + Error("Process","There is no Tracks. Maybe change the option?"); return; } if ( RunCoherencyCheck() ) { - Error("AliHBTAnalysis::Process", + Error("Process", "Coherency check not passed. Maybe change the option?\n"); return; } -- 2.31.1