21 if (!script || script[0] ==
'\0') {
22 std::cerr <<
"No script to compile!" << std::endl;
26 gSystem->Load(
"libANALYSISalice");
27 gSystem->Load(
"libPWGLFforward2");
28 TString macroPath(gROOT->GetMacroPath());
29 macroPath.Append(
":${ALICE_PHYSICS}/PWGLF/FORWARD/analysis2");
30 macroPath.Append(
":${ALICE_PHYSICS}/PWGLF/FORWARD/analysis2/scripts");
31 gROOT->SetMacroPath(macroPath.Data());
32 gSystem->SetIncludePath(
"-I`root-config --incdir` "
34 "-I${ALICE_PHYSICS}/include "
35 "-I${ALICE_PHYSICS}/PWGLF/FORWARD/analysis2 "
36 "-I${ALICE_PHYSICS}/PWGLF/FORWARD/analysis2 ");
37 Long_t ret = gROOT->ProcessLine(Form(
".L %s+%s", script, option));
Bool_t Compile(const char *script, Option_t *option="g")