]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Better error reporting
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Nov 2001 19:16:49 +0000 (19:16 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Nov 2001 19:16:49 +0000 (19:16 +0000)
HBTAN/AliHBTAnalysis.cxx

index cee3c2e947c8d325ebf32316cc43e3da5263368c..334695405104804cfb92eb4078a243ec6a79dd5d 100644 (file)
@@ -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;
       }