]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FORWARD/analysis2/Pass1.C
New implementation of the forward multiplicity analysis.
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / Pass1.C
1 /** 
2  * Run first pass of the analysis - that is read in ESD and produce AOD
3  * 
4  * @param file           ESD input file
5  * @param nEvents        Number of events to process
6  * @param nCutBins       Number of additional bins to cut off
7  * @param correctionCut  Threshold for when to use secondary map 
8  *
9  * @ingroup pwg2_forward_analysis_scripts
10  */
11 void
12 Pass1(const char* file="AliESDs.root", 
13       Int_t       nEvents=1000, 
14       Int_t       nCutBins=1, 
15       Int_t       correctionCut=0.1)
16 {
17   gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/RunManager.C"); 
18
19   RunManager(file, kFALSE, nEvents, nCutBins, correctionCut);
20 }
21 //
22 // EOF
23 //