]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/MakeAOD.C
Fixed references from PWG2 -> PWGLF - very efficiently done using ETags.
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / MakeAOD.C
index 9d38ba9388cd060aa91e89d079398ebd5038e242..5aecf5373916e1ec89e81b329e1a81f082bdc361 100644 (file)
@@ -1,6 +1,6 @@
 /** 
- * @defgroup pwg2_forward_scripts_makers Maker scripts 
- * @ingroup pwg2_forward_scripts
+ * @defgroup pwglf_forward_scripts_makers Maker scripts 
+ * @ingroup pwglf_forward_scripts
  */
 //====================================================================
 /**
@@ -10,7 +10,7 @@
  * 
  * @brief  Run first pass of the analysis - AOD generation
  * 
- * @ingroup pwg2_forward_scripts_makers
+ * @ingroup pwglf_forward_scripts_makers
  */
 //====================================================================
 /** 
@@ -36,7 +36,7 @@
  * @param name       Name of train - free form.  This will be the name
  *                   of the output directory if the plug-in is used 
  *
- * @ingroup pwg2_forward_aod
+ * @ingroup pwglf_forward_aod
  */
 void MakeAOD(const char* esddir, 
             Int_t       nEvents    = -1, 
@@ -49,7 +49,7 @@ void MakeAOD(const char* esddir,
   // --- Possibly use plug-in for this -------------------------------
   if ((name && name[0] != '\0') && gSystem->Load("libRAliEn") >= 0) {
     const char* builder = 
-      "$(ALICE_ROOT)/PWG2/FORWARD/analysis2/trains/BuildTrain.C";
+      "$(ALICE_ROOT)/PWGLF/FORWARD/analysis2/trains/BuildTrain.C";
     gROOT->LoadMacro(builder);
 
     BuildTrain("MakeAODTrain");
@@ -64,11 +64,11 @@ void MakeAOD(const char* esddir,
   }
 
   // --- Libraries to load -------------------------------------------
-  gROOT->Macro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/LoadLibs.C");
+  gROOT->Macro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/LoadLibs.C");
 
   // --- Check for proof mode, and possibly upload pars --------------
   if (proof> 0) { 
-    gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/LoadPars.C");
+    gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/LoadPars.C");
     if (!LoadPars(proof)) { 
       Error("MakeAOD", "Failed to load PARs");
       return;
@@ -76,13 +76,13 @@ void MakeAOD(const char* esddir,
   }
   
   // --- Our data chain ----------------------------------------------
-  gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/MakeChain.C");
+  gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/MakeChain.C");
   TChain* chain = MakeChain("ESD", esddir,true);
   // If 0 or less events is select, choose all 
   if (nEvents <= 0) nEvents = chain->GetEntries();
   
   // --- Set the macro path ------------------------------------------
-  gROOT->SetMacroPath(Form("%s:$(ALICE_ROOT)/PWG2/FORWARD/analysis2:"
+  gROOT->SetMacroPath(Form("%s:$(ALICE_ROOT)/PWGLF/FORWARD/analysis2:"
                           "$ALICE_ROOT/ANALYSIS/macros",
                           gROOT->GetMacroPath()));