]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONGeometrySVMap.cxx
Reversing previous commit (Gines)
[u/mrichter/AliRoot.git] / MUON / AliMUONGeometrySVMap.cxx
index ff429b5438424dcb6b6c9fc38ba52c4404cb31b2..27c15a0f791b7303e25bd71ef7633d4fd9ec80b1 100644 (file)
@@ -20,7 +20,6 @@
 #include <TObjString.h>
 
 #include "AliMUONGeometrySVMap.h"
-#include "AliLog.h"
 
 ClassImp(AliMUONGeometrySVMap)
 
@@ -44,7 +43,8 @@ AliMUONStringIntMap::AliMUONStringIntMap()
 AliMUONStringIntMap::AliMUONStringIntMap(const AliMUONStringIntMap& rhs)
   : TObject(rhs)
 {
-  AliFatal("Copy constructor is not implemented.");
+  Fatal("Copy constructor", 
+        "Copy constructor is not implemented.");
 }
 
 //______________________________________________________________________________
@@ -54,7 +54,8 @@ AliMUONStringIntMap::operator = (const AliMUONStringIntMap& rhs)
   // check assignement to self
   if (this == &rhs) return *this;
 
-  AliFatal("Assignment operator is not implemented.");
+  Fatal("operator=", 
+        "Assignment operator is not implemented.");
     
   return *this;  
 }
@@ -76,7 +77,7 @@ Bool_t  AliMUONStringIntMap::Add(const TString& first, Int_t second)
 
   Int_t second2 = Get(first);
   if ( second2 > 0 ) {
-    AliError(Form("%s is already present in the map", first.Data()));
+    Error("Add", "%s is already present in the map", first.Data());
     return false;
   }
   
@@ -188,7 +189,8 @@ AliMUONGeometrySVMap::AliMUONGeometrySVMap()
 AliMUONGeometrySVMap::AliMUONGeometrySVMap(const AliMUONGeometrySVMap& rhs)
   : TObject(rhs)
 {
-  AliFatal("Copy constructor is not implemented.");
+  Fatal("Copy constructor", 
+        "Copy constructor is not implemented.");
 }
 
 //______________________________________________________________________________
@@ -204,7 +206,8 @@ AliMUONGeometrySVMap::operator = (const AliMUONGeometrySVMap& rhs)
   // check assignement to self
   if (this == &rhs) return *this;
 
-  AliFatal("Assignment operator is not implemented.");
+  Fatal("operator=", 
+        "Assignment operator is not implemented.");
     
   return *this;  
 }
@@ -323,10 +326,16 @@ void  AliMUONGeometrySVMap::PrintPositions() const
 
     const double* translation = matrix->GetTranslation();
     cout << "   translation: "
+#if defined (__DECCXX)
+         << translation[0] << ", " 
+         << translation[1] << ", "
+         << translation[2] << endl;
+#else
          << std::fixed
          << std::setw(7) << std::setprecision(4) << translation[0] << ", " 
          << std::setw(7) << std::setprecision(4) << translation[1] << ", "
          << std::setw(7) << std::setprecision(4) << translation[2] << endl;
+#endif
   }
 }