]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/MakeFlow.C
Improvements
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / MakeFlow.C
index 4109afef22620a9cdbe6d0ef20c5b1a3c309887b..049259dbff9251e5532e7764430dd875697a28b4 100644 (file)
@@ -1,32 +1,21 @@
 /**
  * @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
  */
@@ -42,7 +31,7 @@ void MakeFlow(TString name    = "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());