![]() |
AliPhysics
cc1c0ba (cc1c0ba)
|
#include <TMultiGraph.h>
#include <TString.h>
#include <TCanvas.h>
#include <TROOT.h>
#include <TGraphAsymmErrors.h>
#include <TGraphErrors.h>
#include <TError.h>
#include <TLegend.h>
#include <TLegendEntry.h>
#include <TH1.h>
#include <TAxis.h>
#include <THStack.h>
Go to the source code of this file.
Functions | |
Int_t | Marker (Int_t sys, Int_t style) |
TMultiGraph * | GetOneFwd (UShort_t sys, const char *meth, Int_t style) |
TMultiGraph * | GetOneCen (UShort_t sys, const char *meth, Int_t style) |
void | FlipG (TGraphErrors *g) |
void | FlipG (TGraphAsymmErrors *g) |
void | FlipG (TGraph *g) |
TMultiGraph * | FlipMG (TMultiGraph *mg) |
void | RatioGG (TGraphErrors *num, TGraph *denom) |
void | RatioGG (TGraphAsymmErrors *num, TGraph *denom) |
void | RatioGG (TGraph *num, TGraph *denom) |
TMultiGraph * | RatioMG (TMultiGraph *num, TMultiGraph *denom) |
void | FixFrame (TObject *o, Bool_t hasFwd, Double_t fac=1.2, const char *ytitle="1/#it{N} d#it{N}_{ch}/d#it{#eta}") |
const char * | ExtractCent (const char *name) |
void | CompareOne (const char *meth, Int_t style) |
void | ComparepPb () |
void CompareOne | ( | const char * | meth, |
Int_t | style | ||
) |
Compare one set of centrality graphs
meth | The method to use |
style | The base style |
Definition at line 403 of file ComparepPb.C.
Referenced by ComparepPb().
void ComparepPb | ( | ) |
Definition at line 541 of file ComparepPb.C.
const char* ExtractCent | ( | const char * | name | ) |
Extract the centrality string from a name
name | The name |
Definition at line 383 of file ComparepPb.C.
Referenced by CompareOne().
void FixFrame | ( | TObject * | o, |
Bool_t | hasFwd, | ||
Double_t | fac = 1.2 , |
||
const char * | ytitle = "1/#it{N} d#it{N}_{ch}/d#it{#eta}" |
||
) |
Fix the frame of a multi-graph
o | The frame |
hasFwd | Whether we have forward data or not |
fac | Scale factor for y axis |
ytitle | Title on y axis |
Definition at line 338 of file ComparepPb.C.
Referenced by CompareOne().
void FlipG | ( | TGraphErrors * | g | ) |
void FlipG | ( | TGraphAsymmErrors * | g | ) |
void FlipG | ( | TGraph * | g | ) |
TMultiGraph* FlipMG | ( | TMultiGraph * | mg | ) |
Flip all graphs in a multi-graph
mg | Mulitgraph |
Definition at line 215 of file ComparepPb.C.
Referenced by CompareOne().
Get the data for central
sys | System |
meth | Centrality method |
style | Base style |
Definition at line 92 of file ComparepPb.C.
Referenced by CompareOne().
Get the data for forward
sys | System |
meth | Centrality method |
style | Base style |
Definition at line 39 of file ComparepPb.C.
Referenced by CompareOne().
Get the marker style
sys | Collision system |
style | Base style |
Definition at line 23 of file ComparepPb.C.
Referenced by CompareOne(), GetOneCen(), and GetOneFwd().
void RatioGG | ( | TGraphErrors * | num, |
TGraph * | denom | ||
) |
Take the ratio of two graphs
num | Numerator - on return the ratio |
denom | Denominator |
Definition at line 233 of file ComparepPb.C.
void RatioGG | ( | TGraphAsymmErrors * | num, |
TGraph * | denom | ||
) |
Take the ratio of two graphs
num | Numerator - on return the ratio |
denom | Denominator |
Definition at line 267 of file ComparepPb.C.
Take the ratio of two graphs
num | Numerator - on return the ratio |
denom | Denominator |
Definition at line 293 of file ComparepPb.C.
TMultiGraph* RatioMG | ( | TMultiGraph * | num, |
TMultiGraph * | denom | ||
) |
Take the ratio of all graphs in two multi-graphs
num | Multi-graph of numerators |
denom | Multi-graph of denominators |
Definition at line 315 of file ComparepPb.C.
Referenced by CompareOne().