-#include "AliReaderESDTree.h"
-//_______________________________________________________________________
-/////////////////////////////////////////////////////////////////////////
-//
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/* $Id$ */
+
+//***********************************************************************
// class AliReaderESDTree
-//
// Reader for MUON ESD Tree (only for rec)
-//
// finck@subatech.in2p3.fr
-//
-/////////////////////////////////////////////////////////////////////////
+//***********************************************************************
#include <TString.h>
#include <TTree.h>
#include <TFile.h>
-
-#include <AliRun.h>
-#include <AliRunLoader.h>
-
-#include <AliESD.h>
#include "AliAOD.h"
+#include "AliESD.h"
+#include "AliLog.h"
+#include "AliReaderESDTree.h"
+#include "AliRunLoader.h"
+
ClassImp(AliReaderESDTree)
//reads next event from fFile
//fRunLoader is for reading Kine
- if (AliVAODParticle::GetDebug())
- Info("ReadNext","Entered");
+ AliDebug(1,"Entered");
if (fEventSim == 0x0) fEventSim = new AliAOD();
if (fEventRec == 0x0) fEventRec = new AliAOD();
if (!status)
{
- if (AliVAODParticle::GetDebug() > 2 )
- {
- Info("ReadNext","Can not find event# %d in Tree", fCurrentEvent);
- }
+ AliDebug(2,Form("Cannot find event# %d in Tree", fCurrentEvent));
fCurrentDir++;
delete fTree;
fTree = 0x0;