AliPhysics  45843cc (45843cc)
TestAuxPAR.C
Go to the documentation of this file.
1 void
3 {
4  gROOT->Macro("$ALICE_PHYSICS/PWGLF/FORWARD/analysis2/scripts/LoadLibs.C");
5  gSystem->Load("libProof");
6  gSystem->AddIncludePath("-I${ALICE_ROOT}/include");
7  gSystem->AddIncludePath("-I${ALICE_PHYSICS}/include");
8 
9  gROOT->LoadMacro("Railway.C++");
10  gROOT->LoadMacro("ParUtilities.C++");
11 
12  TList files;
13  files.Add(new TObjString("AAFRailway.C"));
14  files.Add(new TObjString("GridRailway.C"));
15  files.Add(new TObjString("analysis2/trains/../ForwardAODConfig.C"));
16 
17  ParUtilities::MakeAuxFilePAR(files, "test", true);
18 
19  TProof::Open("lite://");
20  gProof->UploadPackage("test.par");
21  gProof->EnablePackage("test.par");
22 }
23 
24 
TSystem * gSystem
void TestAuxPAR()
Definition: TestAuxPAR.C:2
static Bool_t MakeAuxFilePAR(const TList &files, const TString &name, Bool_t verbose=false)
Definition: ParUtilities.C:538