AliPhysics  cc1c0ba (cc1c0ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnalyseTuple.C
Go to the documentation of this file.
1 void
2 AnalyseTuple(Bool_t proof=true, Long64_t maxEvents=-1, const char* opt="")
3 {
4  const char* fwd = "$(ALICE_PHYSICS)/PWGLF/FORWARD/analysis2";
5  gSystem->AddIncludePath("-I${ANA_SRC} -I${ALICE_PHYSICS}/include");
6  gROOT->Macro(Form("%s/scripts/LoadLibs.C",fwd));
7  gROOT->LoadMacro(Form("%s/scripts/TupleSelector.C+%s",fwd,opt));
8 
9  if (proof) TupleSelector::Proof(maxEvents, opt);
10  else TupleSelector::Run(maxEvents);
11 }
long long Long64_t
Definition: External.C:43
TSystem * gSystem
static Bool_t Run(Long64_t maxEvents=-1, const char *title="")
static Bool_t Proof(Long64_t maxEvents, const char *opt="", const char *title="")
const char * fwd
bool Bool_t
Definition: External.C:53
void AnalyseTuple(Bool_t proof=true, Long64_t maxEvents=-1, const char *opt="")
Definition: AnalyseTuple.C:2