AliPhysics  5e2c166 (5e2c166)
ProcessEPos.C
Go to the documentation of this file.
1 
10 Bool_t
11 ProcessFast(const char* url,
12  const char* out,
13  const char* opt="g")
14 {
15  TString fwd = ""; // gSystem->Getenv("ANA_SRC");
16  if (fwd.IsNull())
17  fwd = gSystem->ExpandPathName("${ALICE_PHYSICS}/PWGLF/FORWARD/analysis2");
18  gSystem->AddIncludePath(Form("-I${ALICE_ROOT}/include "
19  "-I${ALICE_PHYSICS}/include "
20  "-I%s/include",
21  fwd.Data()));
22  gROOT->SetMacroPath(Form("%s:%s/sim", gROOT->GetMacroPath(), fwd.Data()));
23  gROOT->LoadMacro(Form("%s/sim/FastAnalysis.C+%s",fwd.Data(),opt));
24 
25 
26  return FastAnalysis::Run(url, out, opt);
27 }
28 
29 //
30 // EOF
31 //
32 
Bool_t ProcessFast(const char *url, const char *out, const char *opt="g")
Definition: ProcessEPos.C:11
const char * url
TSystem * gSystem
static Bool_t Run(const char *url, const char *output, FastAnalysis *a, const char *script, Long64_t nev=-1, Long64_t offset=0, Int_t monitor=-1, Bool_t verbose=false, const char *opt="")
Definition: FastAnalysis.C:886
const char * fwd
bool Bool_t
Definition: External.C:53