AliPhysics  9c66e61 (9c66e61)
Draw.C
Go to the documentation of this file.
1 // Draw one result
2 void Draw(const TString& system,
3  UShort_t sNN,
4  const TString& trigger,
5  const Option_t* option="e5",
6  Bool_t rebinned=true,
7  Bool_t empirical=true,
8  Bool_t symmetrice=false)
9 {
10  if (gSystem->Getenv("FWD"))
11  fwd = gSystem->Getenv("FWD");
12  else
13  fwd = gSystem->ExpandPathName("$ALICE_PHYSICS/PWGLF/FORWARD/analysis2");
14  gROOT->SetMacroPath(Form("%s/dndeta:%s", gROOT->GetMacroPath(),fwd));
15 
16  if (!gROOT->GetClass("Drawer")) gROOT->LoadMacro("Drawer.C+g");
17 
18  if (symmetrice && system.EqualTo("pPb"))
19  Drawer::pPbSym(trigger, option, rebinned, empirical);
20  else
21  Drawer::Draw(system, sNN, trigger, option, rebinned, empirical);
22 }
23 // EOF
24 
25 
26 
static void Draw(const TString &system, UShort_t sNN, const TString &trigger, const Option_t *option="e3", Bool_t rebinned=true, Bool_t empirical=true)
Definition: Drawer.C:728
TSystem * gSystem
static void pPbSym(const TString &trigger, const Option_t *option="e3", Bool_t rebinned=true, Bool_t empirical=true)
Definition: Drawer.C:1164
const char * fwd
void Draw(const TString &system, UShort_t sNN, const TString &trigger, const Option_t *option="e5", Bool_t rebinned=true, Bool_t empirical=true, Bool_t symmetrice=false)
Definition: Draw.C:2
unsigned short UShort_t
Definition: External.C:28
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53