3 * @author Christian Holm Christensen <cholm@master.hehi.nbi.dk>
4 * @date Fri Nov 23 02:23:03 2012
9 * @ingroup pwglf_forward_scripts_makers
11 //====================================================================
15 * @param name Name of train - free form. This will be the name
16 * of the output directory if the plug-in is used
17 * @param cls Class name
18 * @param options Options string
19 * @param url Execution and input URL
21 * @ingroup pwglf_forward_aod
23 void MakeTrain(TString name = "aod",
26 TString options = "help")
28 if (cls.IsNull()) Fatal("MakeTrain", "Must specify a class name");
29 if (name.IsNull()) Fatal(cls, "Must specify a name");
30 gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/trains/RunTrain.C");
31 gROOT->SetMacroPath(Form("%s:$ALICE_ROOT/PWGLF/FORWARD/analysis2/trains",
32 gROOT->GetMacroPath()));
34 RunTrain(name, cls, uri, options);