3 * @author Christian Holm Christensen <cholm@nbi.dk>
4 * @date Tue Jul 12 10:06:07 2011
6 * @brief Generate MC corrections
8 * @ingroup pwglf_forward_scripts_makers
10 //====================================================================
12 * Generate MC corrections
14 * @param name Name of train
15 * @param options Comma separated list options, pass "help" for list
16 * @param runs Comma separated list of run numbers
17 * @param nEvents Number of events to process. If 0 or less, then
18 * all events are analysed
20 * @ingroup pwglf_forward_corr
22 void MakeMCCorr(TString name = "mcCorr",
23 TString options = "help",
27 if (name.IsNull()) Fatal("MakeMCCorr", "Must specify a name");
28 gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/trains/RunTrain.C");
30 RunTrain("MakeMCCorrTrain", name, options, runs, nEvents);