]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTrackMap.cxx
Updated geometry
[u/mrichter/AliRoot.git] / STEER / AliTrackMap.cxx
index c5b8a8cf52301953be2bcd043a542f3d02db324d..8f2b6609c88303bd4fb281346988cce089ac9230 100644 (file)
@@ -13,7 +13,7 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Header$ */
+/* $Id$ */
 
 ////////////////////////////////////////////////////////////////////////
 //
 
 #include <Riostream.h>
 
-#include "TTree.h"
-#include "TROOT.h"
-
+#include "AliLog.h"
 #include "AliTrackMap.h"
 
-#include "AliRun.h"
-
 ClassImp(AliTrackMap)
 
 //_______________________________________________________________________
@@ -78,9 +74,9 @@ AliTrackMap::AliTrackMap(Int_t size, Int_t *array):
 }
 
 //_______________________________________________________________________
-void AliTrackMap::Copy(AliTrackMap& ) const
+void AliTrackMap::Copy(TObject& ) const
 {
-  Fatal("Copy","Not implemented\n");
+  AliFatal("Not implemented");
 }
 
 //_______________________________________________________________________
@@ -100,7 +96,7 @@ Int_t AliTrackMap::At(Int_t label) const
   // label label
   //
   if (label < 0 || label >= fSize) {
-    cerr<<"AliTrackMap::At: label "<<label<<" out of range, fSize = "<<fSize<<endl;
+    AliError(Form("label %d out of range, fSize = %d", label, fSize));
     return kOutOfBounds;
   }
   return fArray[label];