]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/analysis2/MakeMCCorr.C
Multiple fixes:
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / MakeMCCorr.C
CommitLineData
269cc80d 1/**
56236b95 2 * @file MakeMCCorr.C
290052e7 3 * @author Christian Holm Christensen <cholm@nbi.dk>
56236b95 4 * @date Tue Jul 12 10:06:07 2011
269cc80d 5 *
56236b95 6 * @brief Generate MC corrections
269cc80d 7 *
bd6f5206 8 * @ingroup pwglf_forward_scripts_makers
269cc80d 9 */
56236b95 10//====================================================================
269cc80d 11/**
290052e7 12 * Generate MC corrections
269cc80d 13 *
290052e7 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
269cc80d 19 *
bd6f5206 20 * @ingroup pwglf_forward_corr
269cc80d 21 */
290052e7 22void MakeMCCorr(TString name = "mcCorr",
23 TString options = "help",
24 TString runs = "",
25 Int_t nEvents = -1)
269cc80d 26{
290052e7 27 if (name.IsNull()) Fatal("MakeMCCorr", "Must specify a name");
28 gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/trains/RunTrain.C");
269cc80d 29
290052e7 30 RunTrain("MakeMCCorrTrain", name, options, runs, nEvents);
269cc80d 31}
32//
33// EOF
34//