AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExtractGSE.C File Reference
#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 ExtractGSE.C:

Go to the source code of this file.

Functions

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, 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 ExtractGSE (const char *input)
 
void ExtractGSE (Int_t flags)
 

Detailed Description

Author
Christian Holm Christensen cholm.nosp@m.@nbi.nosp@m..dk
Date
Mon Aug 15 09:38:59 2016

Definition in file ExtractGSE.C.

Function Documentation

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

Evaluate a centrality dependent systematic error

Parameters
xCentrality
sMinLeast error
sMaxLargest error
Returns
Systematic error

Definition at line 89 of file ExtractGSE.C.

Referenced by MakeGSE().

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

Evaluate an \( \eta\) dependent systematic error

Parameters
x\( \eta\)
sMinLeast error
sMaxLargest error
Returns
Systematic error

Definition at line 102 of file ExtractGSE.C.

void ExtractGSE ( const char *  input)

Steering

Parameters
inputInput file

Definition at line 253 of file ExtractGSE.C.

Referenced by ExtractGSE().

void ExtractGSE ( Int_t  flags)

Create GSE

Parameters
flagsFlags of input file

Definition at line 295 of file ExtractGSE.C.

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

Get a directory from a directory/collection

Parameters
dirDirectory/collection
nameName of object
Returns
Pointer to read object or null

Definition at line 228 of file ExtractGSE.C.

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

Get a histogram from a directory/collection

Parameters
dirDirectory/collection
nameName of object
Returns
Pointer to read object or null

Definition at line 242 of file ExtractGSE.C.

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

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

Get an object from a directory/collection

Parameters
dirDirectory/collection
nameName of object
clsOptionally, the type
Returns
Pointer to read object (if type is specified, only if of the right type), or null

Definition at line 198 of file ExtractGSE.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 39 of file ExtractGSE.C.

Referenced by MakeGSE().

TObject* MakeGSE ( TDirectory *  d,
Double_t  c1,
Double_t  c2 
)

Make a GraphSysErr object

Parameters
dDirectory
c1Least centrality
c2Largest centrality
Returns
Newly created GraphSysErr

Definition at line 117 of file ExtractGSE.C.

Referenced by ExtractGSE().

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 56 of file ExtractGSE.C.

Referenced by MakeGSE().

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

Evaluate a systematic error

Parameters
xWhere
sMinLeast error
sMaxLargest error
xMaxLargest \( x\)
Returns
Systematic error

Definition at line 76 of file ExtractGSE.C.

Referenced by CSysEval(), and EtaSysEval().