![]() |
AliPhysics
a5cd6b6 (a5cd6b6)
|
Static Public Member Functions | |
static const char * | PlotPrefix () |
static void | LoadOther () |
static TMultiGraph * | GetOther (UShort_t sys, UShort_t sNN, UShort_t trg, UShort_t exps=0xf, Int_t verbose=3) |
static TMultiGraph * | GetOther (const TString &system, UShort_t sNN, const TString &trigger, Int_t verbose=0) |
static TMultiGraph * | GetOther (const TString &system, UShort_t sNN, const TString &trigger, const TString &exps, Int_t verbose=0) |
static Int_t | AliceBlue () |
static Int_t | AliceRed () |
static Int_t | AlicePurple () |
static Int_t | AliceYellow () |
static Color_t | Brighten (Color_t origNum, Int_t nTimes=2) |
static TString | SNNString (const TString &system, UShort_t sNN) |
static TGraphErrors * | H2G (TH1 *h, Double_t xOff, Int_t sign=1) |
static TGraphAsymmErrors * | H2GA (TH1 *h, TH1 *sA, TH1 *sC) |
static void | ErrorGraphs (const TGraph *g, TGraph *&low, TGraph *&up) |
static void | ErrorGraphs (const TGraphErrors *g, TGraph *&low, TGraph *&up) |
static void | ErrorGraphs (const TGraphAsymmErrors *g, TGraph *&low, TGraph *&up) |
static TH1 * | ErrorHist (const TH1 *h, Bool_t aSide, Double_t factor=0.076) |
static TH1 * | HOverG (const TH1 *h, const TGraph *g, const TGraph *l, const TGraph *u, Bool_t err=false) |
static TGraph * | GOverG (const TGraph *num, const TGraph *den, const TGraph *dlow, const TGraph *dup, Double_t dx=0) |
static THStack * | GetStack (TLegend *legend, const TString &system, UShort_t sNN, const TString &trigger, Bool_t rebinned=true, Bool_t empirical=true, Int_t marker=20) |
static TCanvas * | MakeCanvas (const TString &system, UShort_t sNN, const TString &trigger, Bool_t rebinned=true, Bool_t empirical=true) |
static void | PrintCanvas (TCanvas *canvas, const TString &types) |
static Double_t * | FixTriggerEff (const TString &sys, UShort_t sNN, TString &trigger) |
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) |
static TGraphAsymmErrors * | Combine (TMultiGraph *mg) |
static Int_t | FindCentBin (Color_t c) |
static void | Export (const TString &system, UShort_t sNN, const TString &trigger, Bool_t rebinned=false, Bool_t empirical=true) |
static void | AddSystematics (THStack *stack, Double_t sys) |
static THStack * | Symmetrice (THStack *s1, THStack *s2) |
static THStack * | Symmetrice (THStack *s) |
static void | pPbSym (const TString &trigger, const Option_t *option="e3", Bool_t rebinned=true, Bool_t empirical=true) |
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) |
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) |
static void | Add2Out (TString &out, const char *what) |
static void | Add2Out (TString &out, UShort_t sNN) |
static void | DrawAll (const char **syss, UShort_t *sNNs, const char **trgS, UShort_t flags=0x0) |
static TLatex * | MakeTitle (Double_t x, Double_t y, const TString &system, UShort_t sNN, const TString &trigger) |
static TLegend * | MakeUniqueLegend (Double_t x1, Double_t y1, Double_t x2, Double_t y2, TObjArray &unique, Int_t nSNN) |
static TLegend * | MakeUniqueLegend (TLegend *uleg, TObjArray &unique, Int_t nSNN) |
static Float_t | MarkerSize (Int_t style) |
static const char * | CentLimitName (Bool_t isMult, Float_t v) |
static TPair * | GetDataOther (TLegend *leg, TObjArray &unique, const TString &system, UShort_t sNN, const char **trigs, const char **exps, Option_t *errOpt="e5", Bool_t rebinned=false, Bool_t empirical=true, const Double_t *effs=0) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Get ALICE Blue
Definition at line 202 of file Drawer.C.
Referenced by DrawAll(), GetDataOther(), MakeTitle(), MakeUniqueLegend(), and WithSysError().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 233 of file Drawer.C.
Referenced by GetDataOther().
Definition at line 1758 of file Drawer.C.
Referenced by GetDataOther().
|
inlinestatic |
Get error bands from vanilla graph
g | |
low | |
up |
Definition at line 337 of file Drawer.C.
Referenced by Add2Ratio(), GOverG(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
REturn a pair of a stack (data) and multi-graph (other)
leg | Possible legend to fill |
unique | For re-entrant calling to set unique names |
system | Collision system |
sNN | Collision energy |
trigs | Triggers to draw |
exps | Other to get the data for |
errOpt | Error option |
rebinned | Rebinned or full |
empirical | Empirical correction or not |
effs | Efficiencies |
Definition at line 1781 of file Drawer.C.
Referenced by Draw(), DrawAll(), GetUs(), and WithSysError().
|
inlinestatic |
Get other data
sys | System |
sNN | Center of mass energy |
trg | Trigger type |
exps | Experiments |
verbose | Be verbose |
Definition at line 81 of file Drawer.C.
Referenced by Export(), GetDataOther(), GetMine(), GetOther(), pPbSym(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Get a result stack
legend | Optional legend to fill |
system | Collision system |
sNN | Collision energy [GeV] |
trigger | Trigger |
rebinned | If to get rebinned result |
empirical | If to get empirical result |
marker | Marker style |
Definition at line 554 of file Drawer.C.
Referenced by Export(), GetDataOther(), GetMine(), pPbSym(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Calculate the ratio of two graphs
num | Numerator |
den | Denominator |
dlow | Low error |
dup | High error |
dx | Change in X x |
Definition at line 467 of file Drawer.C.
Referenced by Add2Ratio(), CompareMuonRatio(), Ratio2Peripheral(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Convert a histogram to a graph
h | Histogram |
xOff | X offset |
sign | if negative, mirror around this point |
Definition at line 263 of file Drawer.C.
Referenced by Add2Ratio(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
|
inlinestatic |
Calculate and return ratio of a histogram to a graph
h | Histogram |
g | Graph |
l | Lower error band on g |
u | Upper error band on g |
err | Calculate errors |
Definition at line 421 of file Drawer.C.
Referenced by ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Make sure we have loaded the RefData class
Definition at line 54 of file Drawer.C.
Referenced by GetOther().
|
inlinestatic |
Make a canvas
system | System |
sNN | Energy |
trigger | Trigger |
rebinned | Rebin |
empirical | Empirical |
Definition at line 649 of file Drawer.C.
Referenced by Draw(), pPbSym(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Definition at line 1684 of file Drawer.C.
Referenced by WithSysError().
|
inlinestatic |
Definition at line 1706 of file Drawer.C.
Referenced by DrawAll(), and WithSysError().
Get the marker size based on marker type
style | Style of marker |
Definition at line 1748 of file Drawer.C.
Referenced by GetDataOther().
|
inlinestatic |
Definition at line 49 of file Drawer.C.
Referenced by DrawAll(), PrintCanvas(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Print canvas
canvas | canvas |
types | file types |
Definition at line 678 of file Drawer.C.
Referenced by Draw(), DrawAll(), pPbSym(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Draw a result scaled by pp result
system | Collision system |
sNN | Collision energy [GeV] |
ppsNN | pp Collision energy [GeV] |
trigger | Trigger |
ppTrigger | pp Trigger |
etaShift | Possible eta shift |
rebinned | If to get rebinned result |
empirical | If to get empirical result |
write | Whether to write out |
Definition at line 1220 of file Drawer.C.
Referenced by ScaleBypp().
Definition at line 244 of file Drawer.C.
Referenced by Export(), GetDataOther(), MakeCanvas(), MakeTitle(), pPbSym(), ScaleBypp(), and SymScaleBypp().
|
inlinestatic |
Symmetrice between two stacks
s1 | Stack |
s2 | Stack |
Definition at line 1040 of file Drawer.C.
Referenced by GetMine(), pPbSym(), and SymScaleBypp().
|
inlinestatic |
|
inlinestatic |
Symmetrice distribution and scale by pp
ppsNN | PP center of mass energy |
trigger | Numerator trigger |
ppTrigger | PP trigger |
option | Drawing option |
rebinned | If true, use rebinned data |
empirical | If true, use data corrected by empirical corr. |
write | If true, also write to ROOT file |
Definition at line 1346 of file Drawer.C.
Referenced by ScaleBypp().