AliPhysics  449db5a (449db5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DrawMultCuts.C
Go to the documentation of this file.
1 void
2 DrawMultCuts(ULong_t runNo=999,
3  UShort_t sys=0,
4  UShort_t sNN=0,
5  Short_t field=999,
6  Bool_t mc=false,
7  const Char_t* local=0)
8 {
9  const char* fwd = "$ALICE_PHYSICS/PWGLF/FORWARD/analysis2";
10  if (gSystem->Getenv("ANA_SRC"))
11  fwd = gSystem->Getenv("ANA_SRC");
12  gROOT->SetMacroPath(Form("%s/scripts:%s/corrs:%s",
13  gROOT->GetMacroPath(), fwd, fwd));
14  if (!gROOT->GetClass("AliForwardCorrectionManager"))
15  gROOT->Macro(Form("%s/scripts/LoadLibs.C", fwd));
16  gSystem->AddIncludePath(Form("-I$ALICE_ROOT/include "
17  "-I$ALICE_PHYSICS/include "
18  "-I%s/scripts -I%s/corrs -I%s",
19  fwd, fwd, fwd));
20  gROOT->LoadMacro(Form("%s/scripts/SummaryDrawer.C++", fwd));
21  gROOT->LoadMacro(Form("%s/corrs/MultCutDrawer.C++", fwd));
22 
23  MultCutDrawer* mcd = new MultCutDrawer();
24  mcd->Run(runNo, sys, sNN, field, mc, local);
25 }
TSystem * gSystem
char Char_t
Definition: External.C:18
void Run(ULong_t runNo=999, UShort_t sys=0, UShort_t sNN=0, Short_t field=999, Bool_t mc=false, const Char_t *local=0)
void DrawMultCuts(ULong_t runNo=999, UShort_t sys=0, UShort_t sNN=0, Short_t field=999, Bool_t mc=false, const Char_t *local=0)
Definition: DrawMultCuts.C:2
unsigned long ULong_t
Definition: External.C:38
short Short_t
Definition: External.C:23
const char * fwd
unsigned short UShort_t
Definition: External.C:28
bool Bool_t
Definition: External.C:53