X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PWG2%2FFORWARD%2Fanalysis2%2FPass2.C;h=694b697bd711f3e57e20b8ada0838482642fc1d0;hp=14fc2d2d81f01c667b3871c27030293720014d36;hb=f4494b7a5eeb251d50c595b8b0fe9a11b1b00247;hpb=6afac6e9de0b32ab975aa8103613e707b876aca3;ds=sidebyside diff --git a/PWG2/FORWARD/analysis2/Pass2.C b/PWG2/FORWARD/analysis2/Pass2.C index 14fc2d2d81f..694b697bd71 100644 --- a/PWG2/FORWARD/analysis2/Pass2.C +++ b/PWG2/FORWARD/analysis2/Pass2.C @@ -19,7 +19,9 @@ Pass2(const char* file="AliAODs.root", Double_t vzMin=-10, Double_t vzMax=10, Int_t rebin=5, - const char* title="") + const char* title="", + bool hhd=false, + bool comp=true) { gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/Compile.C"); Compile("$ALICE_ROOT/PWG2/FORWARD/analysis2/DrawRes.C","g"); @@ -51,13 +53,16 @@ Pass2(const char* file="AliAODs.root", " Trigger mask: 0x%02x (%s)\n" " Energy: %dGeV\n" " Title: %s\n" + " HHD comp.: %s\n" + " Other comp.: %s\n" "--------------------------------------\n", - file, vzMin, vzMax, rebin, trgMask, trgs.Data(), energy, title); + file, vzMin, vzMax, rebin, trgMask, trgs.Data(), energy, title, + hhd ? "yes" : "no", comp ? "yes" : "no"); DrawRes dr; TStopwatch t; t.Start(); - dr.Run(file, vzMin, vzMax, rebin, trgMask, energy, title); + dr.Run(file, vzMin, vzMax, rebin, trgMask, energy, title, hhd, comp); t.Stop(); t.Print(); }