AliPhysics  41af4b0 (41af4b0)
Compare.C File Reference
#include <TFile.h>
#include <THStack.h>
#include <TH1.h>
#include <TError.h>
#include <TMath.h>
#include <TClass.h>
#include <TCanvas.h>
#include <TSystem.h>
Include dependency graph for Compare.C:

Go to the source code of this file.

Functions

void PrintH (TH1 *h, Int_t prec=2)
 
TObjectGetO (TDirectory *dir, const char *name="result", TClass *cls=0)
 
THStack * GetHS (TDirectory *dir, const char *name="result")
 
TH1GetH1 (TDirectory *dir, const char *name="result")
 
TListGetHists (UShort_t flags, const char *var, const char *stackName="result", const char *sub="")
 
TH1GetMid (UShort_t flags, const char *var)
 
TH1GetCent (UShort_t flags, const char *var)
 
void AddLine (TH1 *h)
 
TH1Compare (TH1 *def, TH1 *oth)
 
void CompareVars (UShort_t flags, const char *var, Bool_t noTruth=true)
 
TH1GetPubl ()
 
void PrintAxis (TAxis *axis)
 
void CompareMids (UShort_t flags, const char *var)
 
void CompareFlgs (UShort_t f1, UShort_t f2, const char *var, Bool_t noTruth=true)
 
void CompareSubs (UShort_t flgs, const char *var, Bool_t noTruth=false)
 
void CentPlot (UShort_t flags)
 
void Compare (const char *var)
 

Variables

const Bool_t kCompareVarLoaded = true
 
Int_t cW = 1200
 
Int_t cH = 800
 
const char * obs = "\\mathrm{d}N_{\\mathrm{ch}}/\\mathrm{d}\\eta"
 

Function Documentation

void AddLine ( TH1 h)

Definition at line 115 of file Compare.C.

Referenced by CompareFlgs(), CompareMids(), CompareSubs(), and CompareVars().

void CentPlot ( UShort_t  flags)

Definition at line 386 of file Compare.C.

Referenced by Compare().

void Compare ( const char *  var)

Definition at line 421 of file Compare.C.

void CompareFlgs ( UShort_t  f1,
UShort_t  f2,
const char *  var,
Bool_t  noTruth = true 
)

Definition at line 288 of file Compare.C.

void CompareMids ( UShort_t  flags,
const char *  var 
)

Definition at line 214 of file Compare.C.

Referenced by Compare().

void CompareSubs ( UShort_t  flgs,
const char *  var,
Bool_t  noTruth = false 
)

Definition at line 329 of file Compare.C.

void CompareVars ( UShort_t  flags,
const char *  var,
Bool_t  noTruth = true 
)

Definition at line 148 of file Compare.C.

Referenced by Compare().

TH1* GetCent ( UShort_t  flags,
const char *  var 
)

Definition at line 105 of file Compare.C.

Referenced by CentPlot().

TH1* GetH1 ( TDirectory *  dir,
const char *  name = "result" 
)

Definition at line 76 of file Compare.C.

Referenced by CompareSubs(), GetCent(), and GetMid().

TList* GetHists ( UShort_t  flags,
const char *  var,
const char *  stackName = "result",
const char *  sub = "" 
)
THStack* GetHS ( TDirectory *  dir,
const char *  name = "result" 
)

Definition at line 72 of file Compare.C.

Referenced by GetHists().

TH1* GetMid ( UShort_t  flags,
const char *  var 
)

Definition at line 96 of file Compare.C.

Referenced by CompareMids().

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

Definition at line 41 of file Compare.C.

Referenced by GetH1(), and GetHS().

TH1* GetPubl ( )

Definition at line 193 of file Compare.C.

Referenced by CompareMids().

void PrintAxis ( TAxis axis)

Definition at line 207 of file Compare.C.

void PrintH ( TH1 h,
Int_t  prec = 2 
)

Print a histogram

Parameters
hHistgram to print
precPrecision to use

Definition at line 29 of file Compare.C.

Variable Documentation

Int_t cH = 800

Definition at line 19 of file Compare.C.

Referenced by CentPlot(), CompareFlgs(), CompareMids(), CompareSubs(), and CompareVars().

Int_t cW = 1200

Definition at line 18 of file Compare.C.

Referenced by CentPlot(), CompareFlgs(), CompareMids(), CompareSubs(), and CompareVars().

const Bool_t kCompareVarLoaded = true

Definition at line 17 of file Compare.C.

const char* obs = "\\mathrm{d}N_{\\mathrm{ch}}/\\mathrm{d}\\eta"

Definition at line 20 of file Compare.C.

Referenced by Combine(), CompareFlgs(), CompareSubs(), and CompareVars().