]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGPP/PWGPPmacros/runPWGPPTrain.C
Moving PWG1 to PWGPP
[u/mrichter/AliRoot.git] / PWGPP / PWGPPmacros / runPWGPPTrain.C
similarity index 91%
rename from PWG1/PWG1macros/runPWG1Train.C
rename to PWGPP/PWGPPmacros/runPWGPPTrain.C
index 05a9b138b8aedb1fea1840f882df5fc693d318e7..74c9b1da02d962cf3e88cf72c033a3a42696d96b 100644 (file)
@@ -1,14 +1,14 @@
 /*
-  Macros to run PWG1 train:
+  Macros to run PWGPP train:
   
-  void runPWG1Train(const char *macros = "AddTask*.C", const char *fname="AliESDs.root");
+  void runPWGPPTrain(const char *macros = "AddTask*.C", const char *fname="AliESDs.root");
   //Parameters:
   //    macros: run the train for selected tasks
   //            tasks are expected to be in the working  directory
   //    fname : name of the input file or input list
 
 
-  .L $ALICE_ROOT/PWG1/PWG1macros/runPWG1Train.C
+  .L $ALICE_ROOT/PWGPP/PWGPPmacros/runPWGPPTrain.C
 
 
 */
@@ -17,7 +17,7 @@ void LoadTrainLibs(){
   //
   // load libraries needed for train
   //
-  gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT/ITS -I$ALICE_ROOT -I$ALICE_ROOT/TRD -I$ALICE_ROOT/PWG1/TRD/macros/ ");
+  gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT/ITS -I$ALICE_ROOT -I$ALICE_ROOT/TRD -I$ALICE_ROOT/PWGPP/TRD/macros/ ");
   gSystem->Load("libANALYSIS.so");
   gSystem->Load("libANALYSISalice.so");
   gSystem->Load("libTENDER.so");
@@ -25,7 +25,7 @@ void LoadTrainLibs(){
   gSystem->Load("libPWG0base.so");
   gSystem->Load("libPWG0dep.so");
   gSystem->Load("libPWG0selectors.so");
-  gSystem->Load("libPWG1.so");
+  gSystem->Load("libPWGPP.so");
   gSystem->Load("libPWG2.so");
   gSystem->Load("libPWG3muon.so");
   gSystem->Load("libPWG3muondep.so");
@@ -96,7 +96,7 @@ void PrintSysInfo(){
   printf("SysInfoTime:\t%f\n",f1->GetParameter(1));
 }
 
-void runPWG1Train(const char *macros = "AddTask*.C", TString inputList ="esd.list", Int_t debugLevel=0) {
+void runPWGPPTrain(const char *macros = "AddTask*.C", TString inputList ="esd.list", Int_t debugLevel=0) {
   //Parameters:
   //    macros: run the train for selected tasks
   //            tasks are expected to be in the working  directory