]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTrackMap.cxx
Return to the original methods from AliLoader (Marco)
[u/mrichter/AliRoot.git] / STEER / AliTrackMap.cxx
index 8ad47a03abb1ec32e8cf19542d52fe85ba0e02c6..8f2b6609c88303bd4fb281346988cce089ac9230 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.3  2002/10/22 15:02:15  alibrary
-Introducing Riostream.h
-
-Revision 1.2  2002/10/14 14:57:33  hristov
-Merging the VirtualMC branch to the main development branch (HEAD)
-
-Revision 1.1.2.1  2002/10/14 09:45:57  hristov
-Updating VirtualMC to v3-09-02
-
-Revision 1.1  2002/09/17 08:37:12  jchudoba
-Classes to create and store tracks maps - correcpondence between track label and entry number in the TreeH
-
-*/
+/* $Id$ */
 
 ////////////////////////////////////////////////////////////////////////
 //
@@ -48,13 +34,9 @@ Classes to create and store tracks maps - correcpondence between track label and
 
 #include <Riostream.h>
 
-#include "TTree.h"
-#include "TROOT.h"
-
+#include "AliLog.h"
 #include "AliTrackMap.h"
 
-#include "AliRun.h"
-
 ClassImp(AliTrackMap)
 
 //_______________________________________________________________________
@@ -92,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");
 }
 
 //_______________________________________________________________________
@@ -114,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];