]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/macros/AliReadESD.h
addin Read ESD macro
[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
16const TString kgESDTreeName = "esdTree" ;
17const UInt_t kgeventsToRead = 1 ;
18const char * kgPattern = "Evt" ;
19
20TChain * AliReadESDfromdisk(const UInt_t eventsToRead,
21 const TString dirName,
22 const TString esdTreeName = kgESDTreeName,
23 const char * pattern = kgPattern) ;
24TChain * AliReadESD(const UInt_t eventsToRead = kgeventsToRead,
25 TString fileName = "",
26 const TString esdTreeName = kgESDTreeName,
27 const char * pattern = kgPattern ) ;
28
29// Needed for AliLog (return the macro name)
30char * ClassName() { return "macro" ; }
31