Added class AliForwarddNdetaTask to do the dN/deta
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / Pass2.C
CommitLineData
7c1a1f1d 1/**
2 * @file
3 *
4 * @ingroup pwg2_forward_scripts
5 */
7e4038b5 6/**
7 * Read in AOD and generate @f$ dN/d\eta@f$ for the selected
8 * trigger classes and vertex ranges
9 *
10 * @param file Input file (AOD)
11 * @param triggers Triggers to investigate
12 * @param energy Energy (only used for comparisons)
13 * @param vzMin Minimum interaction point z coordinate
14 * @param vzMax Maximum interaction point z coordinate
15 * @param rebin How many bins to group
16 * @param title Title to put on the plot
c389303e 17 * @param hhd Whether to do HHD comparison
18 * @param comp Whether to do comparisons
7e4038b5 19 *
7c1a1f1d 20 * @ingroup pwg2_forward_scripts
7e4038b5 21 */
22void
b2e7f2d6 23Pass2(const char* aoddir=".",
24 Int_t nEvents=-1,
7e4038b5 25 const char* triggers="INEL",
7e4038b5 26 Double_t vzMin=-10,
b2e7f2d6 27 Double_t vzMax=10,
28 Int_t proof=0)
7e4038b5 29{
b2e7f2d6 30 gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/MakedNdeta.C");
0bd4b00f 31
b2e7f2d6 32 MakedNdeta(aoddir, nEvents, triggers, vzMin, vzMax, proof);
7e4038b5 33}
34//
35// EOF
36//
37
38