]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/MakedNdeta.C
Multiple fixes:
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / MakedNdeta.C
1 /**
2  * @file   MakedNdeta.C
3  * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
4  * @date   Wed Mar 23 09:41:56 2011
5  * 
6  * @brief  Run second pass analysis - make @f$ dN/d\eta@f$
7  * 
8  * @ingroup pwglf_forward_scripts_makers
9  */
10 //====================================================================
11 /** 
12  * Run second pass analysis - make @f$ dN/d\eta@f$
13  * 
14  * If PROOF mode is selected, then Terminate will be run on the master node 
15  * in any case. 
16  *
17  * @param name       Name of train - free form.  This will be the name
18  *                   of the output directory if the plug-in is used 
19  * @param options    Option string
20  * @param runs       List of runs, or file name of file contain runs
21  * @param nEvents    Number of events to process.  If 0 or less, then 
22  *                   all events are analysed
23  *
24  * @ingroup pwglf_forward_aod
25  */
26 void MakedNdeta(TString     name     = "dndeta", 
27                 TString     options  = "help", 
28                 TString     runs     = "",
29                 Int_t       nEvents  = -1)
30 {
31   if (name.IsNull()) Fatal("MakedNdeta", "Must specify a name");
32   gROOT->LoadMacro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/trains/RunTrain.C");
33
34   RunTrain("MakedNdetaTrain", name, options, runs, nEvents);
35 }
36 //
37 // EOF
38 //