AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExtractGSEs.C File Reference

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)
 
TObjectGetObject (TDirectory *d, const char *name, TClass *cls=0, Bool_t verb=true)
 
TObjectGetObject (TCollection *d, const char *name, TClass *cls=0, Bool_t verb=true)
 
TCollectionGetCollection (TDirectory *d, const char *name, Bool_t verb=true)
 
TCollectionGetCollection (TCollection *d, const char *name, Bool_t verb=true)
 
TH2GetH2 (TCollection *c, const char *name, Bool_t verb=true)
 
TH1GetH1 (TCollection *c, const char *name, Bool_t verb=true)
 
THStack * GetStack (TCollection *c, const char *name, Bool_t verb=true)
 
TAxisGetAxis (TCollection *c, const char *name, Bool_t verb=true)
 
TParameter< double > * GetParam (TCollection *c, const char *name, Bool_t verb=false)
 
void AddPath (const TString &dir, Bool_t before=true)
 
void AddRelPath (const char *rel, Bool_t first=true)
 
TH1Rebin (TH1 *h, Int_t rebin, Bool_t cutEdges) const
 
TObjectDoOne (TCollection *c, const TString &dir, const TString &name, Int_t rebin, Double_t eff, void *oa, Bool_t cutEdges=false, TLegend *l=0)
 
void ModOne (TObject *o, TString &sys, UInt_t sNN, TString trg, Color_t col)
 
TH1DrawOne (TObject *o, Option_t *opt, Double_t &min, Double_t &max)
 
TListExtractGSEs (const char *filename="forward_dndeta.root", Int_t rebin=5, Double_t eff=1, Bool_t raw=false, Bool_t cutEdges=false, const char *name="Forward")
 

Function Documentation

void AddPath ( const TString dir,
Bool_t  before = true 
)

Definition at line 142 of file ExtractGSEs.C.

Referenced by AddRelPath(), DoOne(), and ExtractGSEs().

void AddRelPath ( const char *  rel,
Bool_t  first = true 
)

Definition at line 154 of file ExtractGSEs.C.

Referenced by ExtractGSEs().

TObject* DoOne ( TCollection c,
const TString dir,
const TString name,
Int_t  rebin,
Double_t  eff,
void *  oa,
Bool_t  cutEdges = false,
TLegend *  l = 0 
)

Definition at line 228 of file ExtractGSEs.C.

Referenced by ExtractGSEs().

TH1* DrawOne ( TObject o,
Option_t opt,
Double_t min,
Double_t max 
)

Definition at line 290 of file ExtractGSEs.C.

Referenced by ExtractGSEs().

TList* ExtractGSEs ( const char *  filename = "forward_dndeta.root",
Int_t  rebin = 5,
Double_t  eff = 1,
Bool_t  raw = false,
Bool_t  cutEdges = false,
const char *  name = "Forward" 
)

Definition at line 308 of file ExtractGSEs.C.

TAxis* GetAxis ( TCollection c,
const char *  name,
Bool_t  verb = true 
)

Definition at line 127 of file ExtractGSEs.C.

Referenced by ExtractGSEs().

TCollection* GetCollection ( TDirectory *  d,
const char *  name,
Bool_t  verb = true 
)

Definition at line 97 of file ExtractGSEs.C.

Referenced by DoOne(), and ExtractGSEs().

TCollection* GetCollection ( TCollection d,
const char *  name,
Bool_t  verb = true 
)

Definition at line 103 of file ExtractGSEs.C.

TH1* GetH1 ( TCollection c,
const char *  name,
Bool_t  verb = true 
)

Definition at line 115 of file ExtractGSEs.C.

Referenced by DoOne().

TH2* GetH2 ( TCollection c,
const char *  name,
Bool_t  verb = true 
)

Definition at line 109 of file ExtractGSEs.C.

TObject* GetObject ( TDirectory *  d,
const char *  name,
TClass *  cls = 0,
Bool_t  verb = true 
)

Definition at line 42 of file ExtractGSEs.C.

Referenced by ExtractGSEs(), GetAxis(), GetCollection(), GetH1(), GetH2(), GetParam(), and GetStack().

TObject* GetObject ( TCollection d,
const char *  name,
TClass *  cls = 0,
Bool_t  verb = true 
)

Definition at line 70 of file ExtractGSEs.C.

TParameter<double>* GetParam ( TCollection c,
const char *  name,
Bool_t  verb = false 
)

Definition at line 133 of file ExtractGSEs.C.

THStack* GetStack ( TCollection c,
const char *  name,
Bool_t  verb = true 
)

Definition at line 121 of file ExtractGSEs.C.

void ModOne ( TObject o,
TString sys,
UInt_t  sNN,
TString  trg,
Color_t  col 
)

Definition at line 268 of file ExtractGSEs.C.

Referenced by ExtractGSEs().

static Int_t PbPbBin ( Double_t  c1,
Double_t  c2 
)
static

Definition at line 1 of file ExtractGSEs.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 24 of file ExtractGSEs.C.

Referenced by AliBasedNdetaTask::AddCentralityBin(), and ExtractGSEs().

TH1* Rebin ( TH1 h,
Int_t  rebin,
Bool_t  cutEdges 
) const

Definition at line 167 of file ExtractGSEs.C.

Referenced by DoOne().