removed iostream
[u/mrichter/AliRoot.git] / PHOS / AliPHOSMemoryWatcher.cxx
index bb2843aad95ae60116c40cd403453d7069312f76..a19084a7c00767fb4eb9e25ecdf84865dbabcba7 100644 (file)
 */             
 //*-- Author: Laurent Aphecetche(SUBATECH)
 // --- std system ---
-#include <iostream>
-#include <cstdio>
-#include <cstdlib>
-#include <cassert>
+#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
 // --- AliRoot header files ---
 #include "AliPHOSMemoryWatcher.h"
 // --- ROOT system ---
@@ -108,7 +107,7 @@ void AliPHOSMemoryWatcher::watch(int x)
   }
   else {
     fDisabled=true;
-    cerr << "AliPHOSMemoryWatcher::watch : I'm full !" << endl;
+    Error("watch", "I'm full !" ) ;
   }
 }
 //_____________________________________________________________________________
@@ -179,4 +178,4 @@ AliPHOSMemoryWatcher::write(void)
   if ( graphVSIZE() ) graphVSIZE()->Write("VSIZE",TObject::kOverwrite);
   if ( graphRSSIZE() ) graphRSSIZE()->Write("RSSIZE",TObject::kOverwrite);
   if ( graphTIME() ) graphTIME()->Write("TIME",TObject::kOverwrite);
-}
\ No newline at end of file
+}