Update master to aliroot
[u/mrichter/AliRoot.git] / PHOS / macros / AliReadESD.h
CommitLineData
09b86459 1#if !defined(__CINT__) || defined(__MAKECINT__)
2
3// Root include files
4#include <Riostream.h>
5#include <TString.h>
6#include <TChain.h>
7#include <TSystem.h>
8
9// AliROOT include files
10#include <AliLog.h>
11
12#else
13#endif
14
15// Define global parameters
184da226 16// const TString kgESDTreeName = "esdTree" ;
17// const UInt_t kgeventsToRead = 1 ;
18// const char * kgPattern = "Evt" ;
09b86459 19
184da226 20TChain * AliReadESDfromdisk(const UInt_t eventsToRead,
09b86459 21 const TString dirName,
184da226 22 const TString esdTreeName = "esdTree",
23 const char * pattern = "Evt") ;
24TChain * AliReadESD(const UInt_t eventsToRead = 1,
25 TString fileName = "",
26 const TString esdTreeName = "esdTree",
27 const char * pattern = "Evt" ) ;
09b86459 28
29// Needed for AliLog (return the macro name)
30char * ClassName() { return "macro" ; }
31