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