/**
* @file MakeFlow.C
* @author Alexander Hansen
- * @date Wed Mar 23 12:11:33 2011
*
* @brief
*
- * @ingroup pwg2_forward_scripts_makers
+ * @ingroup pwglf_forward_scripts_makers
*
*/
//====================================================================
/**
* Script to analyse AOD input for flow
*
- * Takes either a single (AOD) .root file as input or a .txt
- * The .txt file is expected to contain the path to the files
- * from the current directory or the absolute path.
- *
- * @par Inputs:
- *
- *
- * @par Outputs:
- * -
- *
* @param name Name of train
* @param options Options @see RunTrain
* @param mode Which execution environment
- * @param datadir Data directory
- * @param urlOpts URL options
+ * @param datadir Data directory/proof path
+ * @param urlOpts URL options
*
* @ingroup pwglf_forward_flow
*/
gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/trains/RunTrain.C");
- if (!datadir.EndsWith("/")) datadir.Append("/");
+ if (!datadir.EndsWith("/") && !mode.Contains("proof")) datadir.Append("/");
TUrl url(datadir.Data());
url.SetProtocol(mode.Data());