From: skowron Date: Thu, 29 Nov 2001 19:16:49 +0000 (+0000) Subject: Better error reporting X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=017253748dd15e41a54799f2144a311ef5c0a1d9;ds=sidebyside Better error reporting --- 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; }