/**
- * @defgroup pwg2_forward_scripts_makers Maker scripts
- * @ingroup pwg2_forward_scripts
+ * @defgroup pwglf_forward_scripts_makers Maker scripts
+ * @ingroup pwglf_forward_scripts
*/
//====================================================================
/**
*
* @brief Run first pass of the analysis - AOD generation
*
- * @ingroup pwg2_forward_scripts_makers
+ * @ingroup pwglf_forward_scripts_makers
*/
//====================================================================
/**
* @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,
// --- 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");
}
// --- 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;
}
// --- 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()));