4 * @ingroup pwg2_forward_scripts
7 * Run first pass of the analysis - that is read in ESD and produce AOD
9 * @param esddir ESD input directory. Any file matching the pattern
10 * *AliESDs*.root are added to the chain
11 * @param nEvents Number of events to process. If 0 or less, then
12 * all events are analysed
13 * @param proof Proof mode
14 * @param mc Monte-Carlo truth handler installed
16 * @ingroup pwg2_forward_scripts
19 Pass1(const char* esddir=".",
24 Printf(" MC: %s", mc ? "yes" : "no");
25 Printf(" Proof mode %s", proof > 0 ? "yes" : "no");
27 gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/MakeAOD.C");
29 MakeAOD(esddir, nEvents, proof, mc);