AliPhysics  d37ed96 (d37ed96)
Inheritance diagram for AliTrackletdNdeta:

Public Types

enum  {
  kGeneral = 0x00001, kParameters = 0x00002, kWeights = 0x00004, kdNdetas = 0x00010,
  kDeltas = 0x00020, kBackgrounds = 0x00040, kAlphas = 0x00080, kPDF = 0x01000,
  kPNG = 0x01000, kPause = 0x02000, kLandscape = 0x04000, kAltMarker = 0x08000,
  kDefaultViz = 0x30ff
}
 
enum  {
  kRealComb = 0x00001, kSimComb = 0x00002, kScaleNone = 0x00010, kScaleFix = 0x00020,
  kScaleAverage = 0x00040, kScaleFull = 0x00080, kScaleEta = 0x00100, kScaleDouble = 0x00200,
  kClosure = 0x01000, kDefaultProc = 0x00083
}
 
enum  { kTopBackground = kAzure-8 }
 
- Public Types inherited from AliTrackletAODUtils
typedef TList Container
 

Public Member Functions

 AliTrackletdNdeta ()
 
Canvas functions
void ClearCanvas ()
 
void CreateCanvas (const TString &outputName)
 
void CloseCanvas ()
 
void PrintCanvas (const char *title, const char *shortTitle="page", Float_t size=.7)
 
TLegend * DrawInPad (TVirtualPad *c, Int_t pad, TObject *o, Option_t *opt)
 
Some utilities
TFile * OpenFile (const char *filename)
 
TH1SetAttr (TH1 *h, Color_t color, Style_t marker=20, Double_t size=1., Style_t fill=0, Style_t line=1, Width_t width=1)
 
Drawing parameters
void DrawParam (const char *name, Double_t &y, const char *val)
 
void DrawParam (const char *name, Double_t &y, Double_t val)
 
void DrawParam (const char *name, Double_t &y, Int_t val)
 
void DrawParam (const char *name, Double_t &y, Bool_t val)
 
void DrawParams (Container *pars, const char *title, Bool_t comb)
 
void DrawParams (Container *realSums, Container *simSums)
 
General information
THStack * Make2Stack (const char *name, const char *title, Container *realList, Container *simList, Option_t *dataOpt="", Option_t *simOpt="")
 
void DrawGeneral (Container *realList, Container *simList)
 
void DrawWeights (Container *simList)
 
Functions related to single centrality bins
TH1FindDelta (Container *ress, const char *sub, Bool_t scaled=false)
 
TH1FindDelta (Container *realList, Container *simList, const char *sub, TH2 *&scaleH, Double_t &scale, Double_t &scaleE)
 
TH1FindSub (Container *ress, const char *sub, const char *name)
 
void DrawDeltas (Container *realList, Container *simList)
 
void DrawScalars (Container *realList, Container *simList)
 
Double_t DrawBackground (TVirtualPad *c, Int_t pad, Container *ress, const char *name, const char **which, const char *pretty)
 
void DrawBackground (Container *realList, Container *simList)
 
TH2CutAlpha (TH2 *alpha)
 
void DrawAlpha (Container *realList, Container *simList)
 
dN/deta stuff
const char * ObsTitle () const
 
Style_t MS (Int_t what, Bool_t sim, Bool_t alt) const
 
TH2GetScaledCombi (TH2 *h, Container *realList, Container *simList, TH1 *&scale)
 
TH2GetRealBackground (Container *realList, Container *simList, TH1 *&scale)
 
TH2GetRealSignal (Container *realList, Container *simList, TH1 *&scale)
 
TH2GetSim (Container *simList, const char *name, const char *newName)
 
TF1 * DrawdNdeta (Container *realList, Container *simList, Color_t color=kBlack, THStack *stack=0, TDirectory *out=0, Bool_t alt=false)
 
void ProcessBin (Int_t bin, Double_t c1, Double_t c2, Container *realList, Container *simList, THStack *stack=0, TDirectory *out=0, TH1 *mid=0)
 
void Run (UInt_t proc=kDefaultProc, UInt_t viz=kDefaultViz, UShort_t maxBins=9, const char *dataName="data.root", const char *simName="sim.root", const char *output=0)
 
void Run (const char *proc, const char *viz, const char *dataName="data.root", const char *simName="sim.root", const char *output=0, UShort_t maxBins=9)
 
- Public Member Functions inherited from AliTrackletAODUtils
 AliTrackletAODUtils ()
 
virtual ~AliTrackletAODUtils ()
 

Public Attributes

TCanvas * fCanvas
 
TPad * fTop
 
TPad * fBody
 
UInt_t fViz
 
UInt_t fProc
 
TString fLastTitle
 
TString fLastBin
 
TLatex * fHeader
 
Double_t fDeltaCut
 
Double_t fTailDelta
 
Double_t fMaxDelta
 
Double_t fCombinatoricsScale
 
Double_t fAlphaMin
 
Double_t fAlphaMax
 

Additional Inherited Members

- Static Public Member Functions inherited from AliTrackletAODUtils
static void PdgAttr (Int_t pdg, TString &nme, Color_t &c, Style_t &s)
 
static const char * CentName (Double_t c1, Double_t c2)
 
static Color_t CentColor (const TAxis &axis, Double_t c1, Double_t c2)
 
static Color_t CentColor (Int_t bin)
 
static TFile * OpenFile (const char *filename)
 
static Bool_t CheckAxisNBins (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxisLimits (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxisBins (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxisLabels (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxis (const char *which, const TAxis *a1, const TAxis *a2, Bool_t alsoLbls)
 
static Bool_t CheckConsistency (const TH1 *h1, const TH1 *h2)
 
static TObjectGetO (Container *parent, const char *name, TClass *cls=0, Bool_t verb=true)
 
static TObjectGetO (TDirectory *parent, const char *name, TClass *cls=0, Bool_t verb=true)
 
static TH1GetH1 (Container *parent, const char *name, Bool_t verb=true)
 
static TH1GetH1 (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TProfile * GetP1 (Container *parent, const char *name, Bool_t verb=true)
 
static TH2GetH2 (Container *parent, const char *name, Bool_t verb=true)
 
static TH2GetH2 (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TH3GetH3 (Container *parent, const char *name, Bool_t verb=true)
 
static TH3GetH3 (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TProfile2D * GetP2 (Container *parent, const char *name, Bool_t verb=true)
 
static TProfile * GetP (Container *parent, const char *name, Bool_t verb=true)
 
static THStack * GetHS (Container *parent, const char *name, Bool_t verb=true)
 
static THStack * GetHS (TDirectory *parent, const char *name, Bool_t verb=true)
 
static ContainerGetC (Container *parent, const char *name, Bool_t verb=true)
 
static ContainerGetC (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TDirectory * GetT (TDirectory *parent, const char *name, Bool_t verb=true)
 
static Double_t GetD (Container *parent, const char *name, Double_t def=-1, Bool_t verb=true)
 
static Int_t GetI (Container *parent, const char *name, Int_t def=-1, Bool_t verb=true)
 
static Int_t GetB (Container *parent, const char *name, Bool_t def=false, Bool_t verb=true)
 
static TH1CopyH1 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true)
 
static TH2CopyH2 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true)
 
static TH3CopyH3 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true)
 
static void CopyAttr (const TH1 *src, TH1 *dest)
 
static TH1Make1D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis)
 
static TProfile * Make1P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis)
 
static TH2Make2D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis)
 
static TH3Make3D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis, const TAxis &zAxis)
 
static TProfile2D * Make2P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis)
 
static TH1Scale (TH1 *h, Double_t x, Double_t xe)
 
static TH2Scale (TH2 *h, Double_t x, Double_t xe)
 
static TH2Scale (TH2 *h, TH1 *s)
 
static void FixAxis (TAxis &axis, const char *title=0)
 
static void ScaleAxis (TAxis &ret, Double_t fact=1)
 
static void SetAxis (TAxis &axis, Int_t n, Double_t *borders)
 
static void SetAxis (TAxis &axis, const TString &spec, const char *sep=":,")
 
static void SetAxis (TAxis &axis, Int_t n, Double_t l, Double_t h)
 
static void SetAxis (TAxis &axis, Int_t n, Double_t m)
 
static void PrintAxis (const TAxis &axis, Int_t nSig=2, const char *alt=0)
 
static TH2ScaleToIPz (TH2 *h, TH1 *ipZ, Bool_t full=false)
 
static TH3ScaleToIPz (TH3 *h, TH1 *ipZ, Bool_t full=false)
 
static TH3ScaleDelta (TH3 *h, TH2 *scale)
 
static TH2ProjectEtaDelta (TH3 *h)
 
static TH1ProjectDelta (TH2 *h)
 
static TH1ProjectDeltaFull (TH3 *h)
 
static TH1AverageOverIPz (TH2 *h, const char *name, UShort_t mode, TH1 *ipz, Double_t ipEff=0, TH2 *mask=0, Bool_t verb=false)
 
static TObjectCloneAndAdd (Container *c, TObject *o)
 
static Double_t Integrate (TH1 *h, Double_t min, Double_t max, Double_t &err)
 
static Double_t RatioE (Double_t n, Double_t en, Double_t d, Double_t ed, Double_t &er)
 
static Double_t RatioE2 (Double_t n, Double_t e2n, Double_t d, Double_t e2d, Double_t &e2r)
 
static TH1RatioH (const TH1 *num, const TH1 *denom, const char *name=0)
 
static void FixMinMax (TH1 *h, Bool_t ignoreZero=true)
 
static void FixMinMax (THStack *h, Bool_t ignoreZero=true)
 
static Int_tPdgArray (Int_t &size)
 
static const TAxisPdgAxis ()
 
static Int_t PdgBin (Int_t pdg)
 

Detailed Description

Post processing

Definition at line 58 of file AliTrackletdNdeta.C.

Member Enumeration Documentation

anonymous enum

Display options

Enumerator
kGeneral 

Draw general information

kParameters 

Draw parameters

kWeights 

Draw weights

kdNdetas 

Draw dNch/deta

kDeltas 

Draw delta information

kBackgrounds 

Draw backgrounds

kAlphas 

Draw alphas

kPDF 

Whether to make a PDF

kPNG 
kPause 

Whether to pause after each plot

kLandscape 

Draw in landscape

kAltMarker 

Alternative markers

kDefaultViz 

Default options

Definition at line 64 of file AliTrackletdNdeta.C.

anonymous enum

Calculation options

Enumerator
kRealComb 

Use combinatorial background for real data

kSimComb 

Use combinatorial background for simulated data

kScaleNone 

Use Unit scaling (that is, no scaling) of backgrond

kScaleFix 

Use fixed scaling of background

kScaleAverage 

Use average scaling of background

kScaleFull 

Use full scaling of background

kScaleEta 
kScaleDouble 

In case of average or full scale, should we do double fraction

kClosure 

MC closure test

kDefaultProc 

Default processing options

Definition at line 95 of file AliTrackletdNdeta.C.

anonymous enum
Enumerator
kTopBackground 

Definition at line 116 of file AliTrackletdNdeta.C.

Constructor & Destructor Documentation

AliTrackletdNdeta::AliTrackletdNdeta ( )

Constructor

Definition at line 612 of file AliTrackletdNdeta.C.

Member Function Documentation

void AliTrackletdNdeta::ClearCanvas ( )
void AliTrackletdNdeta::CloseCanvas ( )

Close the canvas for good

Definition at line 732 of file AliTrackletdNdeta.C.

Referenced by Run().

void AliTrackletdNdeta::CreateCanvas ( const TString outputName)

Create our canvas

Parameters
outputNameOutput file name

Definition at line 671 of file AliTrackletdNdeta.C.

Referenced by Run().

TH2 * AliTrackletdNdeta::CutAlpha ( TH2 alpha)

Cut \(\alpha\) edges between fMinAlpha and fMaxAlpha

Parameters
alphaAlpha histogram to modify
Returns
alpha

Definition at line 1597 of file AliTrackletdNdeta.C.

Referenced by DrawdNdeta().

void AliTrackletdNdeta::DrawAlpha ( Container realList,
Container simList 
)

Draw all background estimates for a centrality bin

Parameters
realListResults from real data
simListResults from simulated data

Definition at line 1617 of file AliTrackletdNdeta.C.

Referenced by ProcessBin().

Double_t AliTrackletdNdeta::DrawBackground ( TVirtualPad *  c,
Int_t  pad,
Container ress,
const char *  name,
const char **  which,
const char *  pretty 
)

Draw background estimates in a single bin for a single estimate

Parameters
cTop pad
padSub pad
ressResults
nameName of the results
whichHistogram names (null terminated)
prettyPretty container name
Returns
Maximum of histograms

Definition at line 1461 of file AliTrackletdNdeta.C.

Referenced by DrawBackground(), and ProcessBin().

void AliTrackletdNdeta::DrawBackground ( Container realList,
Container simList 
)

Draw all background estimates for a centrality bin

Parameters
realListResults from real data
simListResults from simulated data

Definition at line 1515 of file AliTrackletdNdeta.C.

void AliTrackletdNdeta::DrawDeltas ( Container realList,
Container simList 
)

Draw \(\Delta\) distributions for a single bin

Parameters
realList
simList

Definition at line 1199 of file AliTrackletdNdeta.C.

Referenced by ProcessBin().

TF1 * AliTrackletdNdeta::DrawdNdeta ( Container realList,
Container simList,
Color_t  color = kBlack,
THStack *  stack = 0,
TDirectory *  out = 0,
Bool_t  alt = false 
)

Calculates the result as

\[ R = \frac{P}{(1-\beta\prime)M\prime} (1-\beta)M \]

where

  • \( P\) is the input primary particle distribution
  • \( \beta\prime\) is background correction for simulated data
  • \( M\prime\) is the observed distribution in simulations
  • \( \beta\) is background correction for real data
  • \( M\) is the observed distribution in real data

In case we use MC-labels for the background correction in simulations, we have that

\[ (1-\beta\prime)M\prime = (1-C\prime/M\prime)M\prime = M\prime-C\prime \]

where

  • \( C\prime\) is the observed number of tracklets for which the constituent clusters have different parent simulated traks.

In case we use MC-labels for the background correction for real data, we have that

\[ (1-\beta)M = (1-k\beta\prime)M = (1-kC/M\prime)M \]

where \( k\) is a constant scaling factor (1.3).

If we use injected clusters as an estimator for the background correction in simulations, we have

\[ (1-\beta\prime)M\prime = (1-B\prime/M\prime)M\prime = M\prime-B\prime \]

where

  • \( B\prime\) is the observed number of tracklets when injecting fake clusters, scaled so that the corresponding \(\Delta\) distribution match the measured (in simulations) \(\Delta\) distribution in the tails ( \(\Delta\in[5,20]\))

The same expression holds for the case when we use injected clusters to estimate the background in real data.

\[ (1-\beta)M = (1-B/M)M = M-B \]

where \( B\) has the same meaning as \( B\prime\) except we use real data.

Note, if we use MC-labels for both the simulated and real data backgrounds, and \( k=1\) we find that

\[ R = \frac{P}{M\prime}M \]

Parameters
realListList of real data histograms
simListList of simulated data histograms
colorColor to use
stackStack to add results to
out(optional) output directory
altSet alternative marker set
Returns
Fit to mid rapidity ( \( |\eta|<0.5\))

Definition at line 1858 of file AliTrackletdNdeta.C.

Referenced by ObsTitle(), and ProcessBin().

void AliTrackletdNdeta::DrawGeneral ( Container realList,
Container simList 
)

Draw general information

Parameters
realListResults from real data
simListResults from simulated data

Definition at line 993 of file AliTrackletdNdeta.C.

Referenced by Run().

TLegend * AliTrackletdNdeta::DrawInPad ( TVirtualPad *  c,
Int_t  pad,
TObject o,
Option_t opt 
)

Draw an object in a sub-pad

Parameters
cCanvas (or pad)
padSub-pad number
oObject to draw
optDrawing options
Returns
if a legend is drawn, return that

Definition at line 807 of file AliTrackletdNdeta.C.

Referenced by DrawAlpha(), DrawBackground(), DrawDeltas(), DrawdNdeta(), DrawGeneral(), DrawScalars(), DrawWeights(), and Run().

void AliTrackletdNdeta::DrawParam ( const char *  name,
Double_t y,
const char *  val 
)

Draw parameter name and value

Parameters
nameName of parameter
yCurrent y coordinate
valValue

Definition at line 847 of file AliTrackletdNdeta.C.

Referenced by DrawParam(), and DrawParams().

void AliTrackletdNdeta::DrawParam ( const char *  name,
Double_t y,
Double_t  val 
)

Draw a real valued paraemeter

Parameters
nameName of parameter
yCurrent y coordinate
valValue

Definition at line 864 of file AliTrackletdNdeta.C.

void AliTrackletdNdeta::DrawParam ( const char *  name,
Double_t y,
Int_t  val 
)

Draw an integer valued paraemeter

Parameters
nameName of parameter
yCurrent y coordinate
valValue

Definition at line 871 of file AliTrackletdNdeta.C.

void AliTrackletdNdeta::DrawParam ( const char *  name,
Double_t y,
Bool_t  val 
)

Draw a boolean valued paraemeter

Parameters
nameName of parameter
yCurrent y coordinate
valValue

Definition at line 878 of file AliTrackletdNdeta.C.

void AliTrackletdNdeta::DrawParams ( Container pars,
const char *  title,
Bool_t  comb 
)

Draw all parameters in a container

Parameters
pars
title
combif true, write for combinatorial background

Definition at line 885 of file AliTrackletdNdeta.C.

Referenced by DrawParams(), and Run().

void AliTrackletdNdeta::DrawParams ( Container realSums,
Container simSums 
)

Draw parameters from both real and simulated analysis

Parameters
realSumsReal data
simSumssimulated data

Definition at line 908 of file AliTrackletdNdeta.C.

void AliTrackletdNdeta::DrawScalars ( Container realList,
Container simList 
)

Draw scalar \( k\) distributions for a single bin

Parameters
realList
simList

Definition at line 1334 of file AliTrackletdNdeta.C.

Referenced by DrawDeltas().

void AliTrackletdNdeta::DrawWeights ( Container simList)

Draw the used simulation weights

Parameters
simListSimulation list

Definition at line 1087 of file AliTrackletdNdeta.C.

Referenced by Run().

TH1 * AliTrackletdNdeta::FindDelta ( Container ress,
const char *  sub,
Bool_t  scaled = false 
)

Service function to find \(\Delta\) distribution

Parameters
ressResults
subSub set
scaledWhether to find the scaled value
Returns
Histogram or null

Definition at line 1136 of file AliTrackletdNdeta.C.

Referenced by DrawDeltas().

TH1 * AliTrackletdNdeta::FindDelta ( Container realList,
Container simList,
const char *  sub,
TH2 *&  scaleH,
Double_t scale,
Double_t scaleE 
)

Definition at line 1151 of file AliTrackletdNdeta.C.

TH1 * AliTrackletdNdeta::FindSub ( Container ress,
const char *  sub,
const char *  name 
)

utility function to find a sub-element

Parameters
ressContainer
subSub-path
nameName
Returns
Histogram or null

Definition at line 1117 of file AliTrackletdNdeta.C.

TH2 * AliTrackletdNdeta::GetRealBackground ( Container realList,
Container simList,
TH1 *&  scale 
)

Get the real data background

Parameters
realListReal data container
simListSimulated data container
scaleOn return, scalar histogram (if not given)
Returns
The signal distribution

Definition at line 1793 of file AliTrackletdNdeta.C.

Referenced by DrawdNdeta(), and ObsTitle().

TH2 * AliTrackletdNdeta::GetRealSignal ( Container realList,
Container simList,
TH1 *&  scale 
)

Get the real data signal

Parameters
realListReal data container
simListSimulated data container
scaleOn return, scalar histogram (if not given)
Returns
The signal distribution

Definition at line 1810 of file AliTrackletdNdeta.C.

Referenced by DrawdNdeta(), and ObsTitle().

TH2 * AliTrackletdNdeta::GetScaledCombi ( TH2 h,
Container realList,
Container simList,
TH1 *&  scale 
)

Get scaled combinatorial background

Parameters
hThe histogram to use as template
realListReal data list
simListSimlated data list
scaleOn return the scalar histogram (if not given)
Returns

Definition at line 1681 of file AliTrackletdNdeta.C.

Referenced by GetRealBackground(), GetRealSignal(), and ObsTitle().

TH2 * AliTrackletdNdeta::GetSim ( Container simList,
const char *  name,
const char *  newName 
)

Get simulation histogram

Parameters
simListSimulation list
nameName of histogram
newNameNew name of histogram
Returns

Definition at line 1842 of file AliTrackletdNdeta.C.

Referenced by DrawdNdeta(), and ObsTitle().

THStack * AliTrackletdNdeta::Make2Stack ( const char *  name,
const char *  title,
Container realList,
Container simList,
Option_t dataOpt = "",
Option_t simOpt = "" 
)

Make a stack of histograms for real and simulated data.

Parameters
nameName of stack
titleTitle of stack
realListContainer of real data
simListContainer of simulated data
dataOptOptions for real data
simOptOptions for simulated data
Returns
The created stack

Definition at line 960 of file AliTrackletdNdeta.C.

Referenced by DrawGeneral().

Style_t AliTrackletdNdeta::MS ( Int_t  what,
Bool_t  sim,
Bool_t  alt 
) const

Get marker style to use

Parameters
whatFor what
simFor sim?
altAlternate set?
Returns
Marker style

Definition at line 1660 of file AliTrackletdNdeta.C.

Referenced by DrawdNdeta(), and ObsTitle().

const char* AliTrackletdNdeta::ObsTitle ( ) const
inline

The observable title

Returns
Observable title

Definition at line 412 of file AliTrackletdNdeta.C.

Referenced by DrawdNdeta(), and Run().

TFile * AliTrackletdNdeta::OpenFile ( const char *  filename)

Open a file

Parameters
filenameFile name
Returns
Opened file handle or null

Definition at line 776 of file AliTrackletdNdeta.C.

Referenced by Run().

void AliTrackletdNdeta::PrintCanvas ( const char *  title,
const char *  shortTitle = "page",
Float_t  size = .7 
)

Print the canvas

Parameters
titleTitle of this page
shortTitlePage short title
sizeSize of title

Definition at line 747 of file AliTrackletdNdeta.C.

Referenced by DrawAlpha(), DrawBackground(), DrawDeltas(), DrawdNdeta(), DrawGeneral(), DrawParams(), DrawScalars(), DrawWeights(), and Run().

void AliTrackletdNdeta::ProcessBin ( Int_t  bin,
Double_t  c1,
Double_t  c2,
Container realList,
Container simList,
THStack *  stack = 0,
TDirectory *  out = 0,
TH1 mid = 0 
)

Process a single bin

Parameters
binCentrality bin number
c1Least centrality
c2Largest centrality
realListResults from real data
simListResults from simulated data
stackPossible stack to add dN/deta to
outOutput directory
midHistogram to fill with \(|\eta|<0.5\) results

Definition at line 2075 of file AliTrackletdNdeta.C.

Referenced by ObsTitle(), and Run().

void AliTrackletdNdeta::Run ( UInt_t  proc = kDefaultProc,
UInt_t  viz = kDefaultViz,
UShort_t  maxBins = 9,
const char *  dataName = "data.root",
const char *  simName = "sim.root",
const char *  output = 0 
)

Run it

Parameters
procProcess mask
vizVisualisation mask
maxBinsMaximum number of bins to look at
dataNameName of file from real data
simNameName of file from simulated data
outputOutput file name

Definition at line 2156 of file AliTrackletdNdeta.C.

Referenced by ObsTitle(), and Run().

void AliTrackletdNdeta::Run ( const char *  proc,
const char *  viz,
const char *  dataName = "data.root",
const char *  simName = "sim.root",
const char *  output = 0,
UShort_t  maxBins = 9 
)

Run it

Parameters
procProcess mask
vizVisualisation mask
dataNameName of file from real data
simNameName of file from simulated data
outputOutput file name
maxBinsMaximum number of bins to look at

Definition at line 2123 of file AliTrackletdNdeta.C.

TH1 * AliTrackletdNdeta::SetAttr ( TH1 h,
Color_t  color,
Style_t  marker = 20,
Double_t  size = 1.,
Style_t  fill = 0,
Style_t  line = 1,
Width_t  width = 1 
)

Set attributes on a histogram

Parameters
hHistogram
colorColor of histogram
markerMarker style
sizeMarker size
fillFill style
lineLine style
widthLine width
Returns
The modified histogram

Definition at line 786 of file AliTrackletdNdeta.C.

Referenced by DrawDeltas(), and DrawdNdeta().

Member Data Documentation

Double_t AliTrackletdNdeta::fAlphaMax

Largest value of \(\alpha\)

Definition at line 147 of file AliTrackletdNdeta.C.

Referenced by CutAlpha(), DrawAlpha(), and DrawParams().

Double_t AliTrackletdNdeta::fAlphaMin

Least value of \(\alpha\)

Definition at line 145 of file AliTrackletdNdeta.C.

Referenced by DrawAlpha(), and DrawParams().

TPad* AliTrackletdNdeta::fBody
TCanvas* AliTrackletdNdeta::fCanvas

The canvas to draw in

Definition at line 121 of file AliTrackletdNdeta.C.

Referenced by ClearCanvas(), CloseCanvas(), CreateCanvas(), and PrintCanvas().

Double_t AliTrackletdNdeta::fCombinatoricsScale

The scalar on combinatorial background for real data

Definition at line 143 of file AliTrackletdNdeta.C.

Referenced by DrawParams(), DrawScalars(), and GetScaledCombi().

Double_t AliTrackletdNdeta::fDeltaCut

Cut on \( \Delta\) read from real data input file

Definition at line 137 of file AliTrackletdNdeta.C.

Referenced by DrawDeltas(), and Run().

TLatex* AliTrackletdNdeta::fHeader

The page header text

Definition at line 135 of file AliTrackletdNdeta.C.

Referenced by CreateCanvas(), and PrintCanvas().

TString AliTrackletdNdeta::fLastBin

Cache of centrality bin title

Definition at line 133 of file AliTrackletdNdeta.C.

Referenced by DrawAlpha(), DrawBackground(), DrawDeltas(), DrawdNdeta(), DrawScalars(), and ProcessBin().

TString AliTrackletdNdeta::fLastTitle

Cache of last title

Definition at line 131 of file AliTrackletdNdeta.C.

Referenced by CloseCanvas(), and PrintCanvas().

Double_t AliTrackletdNdeta::fMaxDelta

Highest value of \(\Delta\) read from real data input file

Definition at line 141 of file AliTrackletdNdeta.C.

Referenced by Run().

UInt_t AliTrackletdNdeta::fProc
Double_t AliTrackletdNdeta::fTailDelta

Lower cut on \(\Delta\) tail read from real data input file

Definition at line 139 of file AliTrackletdNdeta.C.

Referenced by DrawDeltas(), and Run().

TPad* AliTrackletdNdeta::fTop

Top bar to put title in

Definition at line 123 of file AliTrackletdNdeta.C.

Referenced by ClearCanvas(), CreateCanvas(), and PrintCanvas().

UInt_t AliTrackletdNdeta::fViz

Vizualisation options

Definition at line 127 of file AliTrackletdNdeta.C.

Referenced by CloseCanvas(), CreateCanvas(), PrintCanvas(), ProcessBin(), and Run().


The documentation for this struct was generated from the following file: