AliPhysics  3bba2fe (3bba2fe)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExtractGSE2.C File Reference

Extract GraphSysErr from results. More...

#include "GraphSysErr.C"
#include <TFile.h>
#include <TList.h>
#include <TMath.h>
#include <TCanvas.h>
#include <TLegend.h>
#include <TSeqCollection.h>
#include <TLegendEntry.h>
#include <THStack.h>
Include dependency graph for ExtractGSE2.C:

Go to the source code of this file.

Functions

static Int_t PbPbBin (Double_t c1, Double_t c2)
 
static Color_t PbPbColor (Double_t c1, Double_t c2)
 
void MakeCommon (TObject *o, const char *name, Double_t val, Color_t c)
 
Int_t MakeP2P (TObject *o, const char *name, Color_t c)
 
Double_t SysEval (Double_t x, Double_t sMin, Double_t sMax, Double_t xMax)
 
Double_t CSysEval (Double_t x, Double_t sMin, Double_t sMax)
 
Double_t EtaSysEval (Double_t x, Double_t sMin, Double_t sMax)
 
TObjectMakeGSE (TDirectory *d, Int_t dimen, UShort_t sNN, Double_t c1, Double_t c2)
 
TObjectMakeTGSE (TDirectory *d, Int_t dimen, UShort_t sNN, Double_t c1, Double_t c2)
 
TObjectGetO (TDirectory *dir, const char *name, TClass *cls=0)
 
TDirectory * GetD (TDirectory *dir, const char *name)
 
TH1GetH1 (TDirectory *dir, const char *name)
 
void ExtractGSE2 (const char *input, UShort_t sNN=5023)
 
void ExtractGSE (Int_t flags)
 

Detailed Description

Extract GraphSysErr from results.

Author
Christian Holm Christensen cholm.nosp@m.@nbi.nosp@m..dk
Date
Wed Apr 27 16:51:39 2016

Definition in file ExtractGSE2.C.

Function Documentation

Double_t CSysEval ( Double_t  x,
Double_t  sMin,
Double_t  sMax 
)

Definition at line 121 of file ExtractGSE2.C.

Referenced by MakeGSE().

Double_t EtaSysEval ( Double_t  x,
Double_t  sMin,
Double_t  sMax 
)

Definition at line 125 of file ExtractGSE2.C.

void ExtractGSE ( Int_t  flags)

Definition at line 401 of file ExtractGSE2.C.

void ExtractGSE2 ( const char *  input,
UShort_t  sNN = 5023 
)

Steering

Definition at line 340 of file ExtractGSE2.C.

TDirectory* GetD ( TDirectory *  dir,
const char *  name 
)

Definition at line 324 of file ExtractGSE2.C.

TH1* GetH1 ( TDirectory *  dir,
const char *  name 
)

Definition at line 330 of file ExtractGSE2.C.

Referenced by ExtractGSE2(), MakeGSE(), and MakeTGSE().

TObject* GetO ( TDirectory *  dir,
const char *  name,
TClass *  cls = 0 
)

Definition at line 302 of file ExtractGSE2.C.

Referenced by GetD(), and GetH1().

void MakeCommon ( TObject o,
const char *  name,
Double_t  val,
Color_t  c 
)

Define a correlated uncertainty

Parameters
oGraph
nameName
valValue (relative)
cColor

Definition at line 89 of file ExtractGSE2.C.

Referenced by MakeGSE().

TObject* MakeGSE ( TDirectory *  d,
Int_t  dimen,
UShort_t  sNN,
Double_t  c1,
Double_t  c2 
)

Make a GraphSysErr object

Parameters
dDirectory
dimenDimension
sNNCollision energy in GeV
c1Least centrality
c2Largest centrality
Returns
Newly created GraphSysErr

Definition at line 142 of file ExtractGSE2.C.

Referenced by ExtractGSE2().

Int_t MakeP2P ( TObject o,
const char *  name,
Color_t  c 
)

Declare a point-to-point uncertainty

Parameters
oGraph
nameName
cColor
Returns
Id of Syst.unc.

Definition at line 106 of file ExtractGSE2.C.

Referenced by MakeGSE().

TObject* MakeTGSE ( TDirectory *  d,
Int_t  dimen,
UShort_t  sNN,
Double_t  c1,
Double_t  c2 
)

Make a GraphSysErr object for simulations

Parameters
dDirectory
dimenDimension
sNNCollision energy in GeV
c1Least centrality
c2Largest centrality
Returns
Newly created GraphSysErr

Definition at line 233 of file ExtractGSE2.C.

Referenced by ExtractGSE2().

static Int_t PbPbBin ( Double_t  c1,
Double_t  c2 
)
static

Find bin number correspondig to centrality range

Parameters
c1Least centrality
c2Largest centrality
Returns
Bin number

Definition at line 39 of file ExtractGSE2.C.

Referenced by PbPbColor().

static Color_t PbPbColor ( Double_t  c1,
Double_t  c2 
)
static

Get the centrality color for PbPb

Parameters
c1Lower edge
c2Upper edge
Returns
Color

Definition at line 64 of file ExtractGSE2.C.

Referenced by MakeGSE(), and MakeTGSE().

Double_t SysEval ( Double_t  x,
Double_t  sMin,
Double_t  sMax,
Double_t  xMax 
)

Definition at line 116 of file ExtractGSE2.C.

Referenced by CSysEval(), and EtaSysEval().