AliPhysics  a5cd6b6 (a5cd6b6)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ScaleBypp.C
Go to the documentation of this file.
1 // Draw scaled result
2 void ScaleBypp(const TString& system,
3  UShort_t sNN,
4  UShort_t ppsNN,
5  const TString& trigger,
6  const TString& ppTrigger,
7  Double_t etaShift=0,
8  Bool_t rebinned=true,
9  Bool_t empirical=true,
10  Bool_t symmetrice=false,
11  Bool_t write=false)
12 {
13  if (gSystem->Getenv("FWD"))
14  fwd = gSystem->Getenv("FWD");
15  else
16  fwd = gSystem->ExpandPathName("$ALICE_PHYSICS/PWGLF/FORWARD/analysis2");
17  gROOT->SetMacroPath(Form("%s/dndeta:%s", gROOT->GetMacroPath(),fwd));
18 
19  if (!gROOT->GetClass("Drawer")) gROOT->LoadMacro("Drawer.C+");
20 
21  if (symmetrice && system.EqualTo("pPb"))
22  Drawer::SymScaleBypp(ppsNN, trigger, ppTrigger, "",
23  rebinned, empirical, write);
24  else
25  Drawer::ScaleBypp(system, sNN, ppsNN, trigger, ppTrigger,
26  etaShift, rebinned, empirical, write);
27 }
28 void ScaleBypp()
29 {
30  ScaleBypp("pPb", 5023, 7000, "CENTZNX", "NSD", 0, true, true, true, true);
31  ScaleBypp("pPb", 5023, 7000, "CENTV0X", "NSD", 0, true, true, true, true);
32  ScaleBypp("pPb", 5023, 7000, "CENTZNX", "INEL", 0, true, true, true, true);
33  ScaleBypp("pPb", 5023, 7000, "CENTV0X", "INEL", 0, true, true, true, true);
34 }
35 
36 // EOF
37 
38 
39 
40 
double Double_t
Definition: External.C:58
TSystem * gSystem
void ScaleBypp(const TString &system, UShort_t sNN, UShort_t ppsNN, const TString &trigger, const TString &ppTrigger, Double_t etaShift=0, Bool_t rebinned=true, Bool_t empirical=true, Bool_t symmetrice=false, Bool_t write=false)
Definition: ScaleBypp.C:2
const char * fwd
static void ScaleBypp(const TString &system, UShort_t sNN, UShort_t ppsNN, const TString &trigger, const TString &ppTrigger, Double_t etaShift=0, Bool_t rebinned=true, Bool_t empirical=true, Bool_t write=false)
Definition: Drawer.C:1220
unsigned short UShort_t
Definition: External.C:28
static void SymScaleBypp(UShort_t ppsNN, const TString &trigger, const TString &ppTrigger, const Option_t *option="e2", Bool_t rebinned=true, Bool_t empirical=true, Bool_t write=false)
Definition: Drawer.C:1346
bool Bool_t
Definition: External.C:53