]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSGetter.h
Additional protection in case of very high momentum (Yu.Belikov)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGetter.h
index e15f6d6aca628a384f1842c80de00a7ad5fd125e..e4319289be5276b77740c3363106065bdbe9d451 100644 (file)
@@ -27,7 +27,6 @@ class TTask ;
 
 // --- Standard library ---
 #include <stdlib.h>
-#include <iostream.h>
 
 // --- AliRoot header files ---
 
@@ -52,18 +51,17 @@ class AliPHOSGetter : public TObject {
  public:
   
   AliPHOSGetter(){    // ctor: this is a singleton, the ctor should never be called but cint needs it as public
-    cerr << "ERROR: AliPHOSGetter is a singleton default ctor not callable" << endl ;
-    abort() ; 
+    Fatal("ctor", "AliPHOSGetter is a singleton default ctor not callable") ;
   } 
   AliPHOSGetter(const AliPHOSGetter & obj) {
     // cpy ctor requested by Coding Convention 
     // but not yet needed
-    abort() ; 
+    Fatal("cpy ctor", "not implemented") ;
   } 
   
   AliPHOSGetter & operator = (const AliPHOSGetter & ) {
     // assignement operator requested by coding convention, but not needed
-    abort() ;
+    Fatal("operator =", "not implemented") ;
     return *this ; 
   }
   virtual ~AliPHOSGetter() ;