AliPhysics  06e4d4b (06e4d4b)
Collaboration diagram for Quality Assurance scripts:

Files

file  Draw123.C
 This scripts draws the energy loss distribution for single, double, and triple hits in the FMD as resolved by the sharing filter.
 
file  DrawBeforeAfter.C
 Script to draw the before/after merging energy loss spectra.
 
file  DrawCuts.C
 Draw the cuts used in the analysis.
 
file  DrawELossPoisson.C
 A script to draw the Poisson vs Energy Loss correlation.
 
file  DrawMCResult.C
 Script to draw steps (deprecated version - use DrawSteps.C)
 
file  DrawNeighbors.C
 Draw corrlation of neighboring strips.
 
file  DrawOccupancy.C
 A script to draw the occupancy as given by Poisson method.
 
file  DrawQA.C
 Script to draw most QA stuff.
 
file  DrawRecAnaEloss.C
 Draw energ-loss before/after merging and used in the density calculations.
 

Functions

void DrawRing123 (TList *p, UShort_t d, Char_t r)
 
void Draw123 (const char *filename="forward.root", const char *folder="ForwardResults")
 
void DrawRingBeforeAfter (TList *p, UShort_t d, Char_t r)
 
void DrawBeforeAfter (const char *filename="forward.root", const char *folder="ForwardResults")
 
void DrawCuts (const char *filename="forward.root")
 
Double_t DrawRingELossPoisson (TList *p, UShort_t d, Char_t r, Double_t xmin, Double_t xmax)
 
void DrawELossPoisson (const char *filename="forward.root", const char *folder="ForwardResults", Double_t xmax=-1, Double_t xmin=-1)
 
THStack * GetStack (const TList &forward, const char *sub, const char *name)
 
TH1Rebin (TH1 *h, Int_t rebin)
 
TH1Ratio (const TH1 *h1, const TH1 *h2)
 
Int_t Ratio (THStack *r, const THStack *h1, const THStack *h2)
 
void DrawMCResult (const char *filename="forward.root", Int_t rebin=1, Bool_t ratios=true)
 
void DrawRingNeighbors (TList *p, UShort_t d, Char_t r)
 
void DrawNeighbors (const char *filename="forward.root", const char *folder="ForwardResults")
 
Double_t DrawRingOccupancy (TList *p, UShort_t d, Char_t r)
 
void DrawOccupancy (const char *filename="forward.root", const char *folder="ForwardResults")
 
void DrawQA (const char *file, bool full=false)
 
void DrawText (TLatex *l, Double_t x, Double_t &y, const char *c1, const char *c2)
 
void DrawRingRecAnaEloss (TList *p, TList *p2, Double_t lowCut, UShort_t d, Char_t r)
 
void DrawRecAnaEloss (const char *filename="forward.root", const char *folder="ForwardResults")
 
void AddToAll (THStack *all, const TH1 *h, Bool_t singleStep)
 
void DimEntry (Int_t thisId, Int_t step, TLegendEntry *e)
 
void DrawStep (THStack *deltas, THStack *nchs, THStack *prims, TH1 *dndeta, Int_t step)
 
void DrawSteps (const char *filename="forward.root", Bool_t single=true)
 

Detailed Description

Quality assurance scripts and functions

Function Documentation

void AddToAll ( THStack *  all,
const TH1 h,
Bool_t  singleStep 
)

Add a histogram to the all stack

Parameters
allStack
hHistogram
singleStepShowing individual steps?

Definition at line 129 of file DrawSteps.C.

Referenced by DrawStep().

void DimEntry ( Int_t  thisId,
Int_t  step,
TLegendEntry *  e 
)

Dim an entry

Parameters
thisIdThis step
stepCurrent step
eEntry in legend

Definition at line 150 of file DrawSteps.C.

Referenced by DrawStep().

void Draw123 ( const char *  filename = "forward.root",
const char *  folder = "ForwardResults" 
)

Draw the energy loss distribution of singles, doubles, and triples as given by the sharing filter

Parameters
filenameInput file name
folderInput folder (TList) in input file
Deprecated:
Use the QATrender instead

Definition at line 92 of file Draw123.C.

Referenced by DrawQA().

void DrawBeforeAfter ( const char *  filename = "forward.root",
const char *  folder = "ForwardResults" 
)

Draw the before/after sharing image for all rings

Parameters
filenameInput file name
folderInput folder in file
Deprecated:
Use QATrender instead

Definition at line 75 of file DrawBeforeAfter.C.

Referenced by DrawQA().

void DrawCuts ( const char *  filename = "forward.root")

Draw cuts used in analysis

Parameters
filenameInput file name

Definition at line 19 of file DrawCuts.C.

void DrawELossPoisson ( const char *  filename = "forward.root",
const char *  folder = "ForwardResults",
Double_t  xmax = -1,
Double_t  xmin = -1 
)

Draw the correlation between the Poisson \(N_{ch}\) estimate and the \(\Delta\) \(N_{ch}\) estimate and do a regression line between the two for each ring

Parameters
filenameFile to read
folderFolder in file
xmaxMinimum X
xminMaximum X
Deprecated:
Use QATrender instead

Definition at line 193 of file DrawELossPoisson.C.

Referenced by DrawQA().

void DrawMCResult ( const char *  filename = "forward.root",
Int_t  rebin = 1,
Bool_t  ratios = true 
)

Draw MC results

Parameters
filenameInput file name
rebinRebinning factor
ratiosWhether to show ratios
Deprecated:
Use DrawSteps.C instead

Definition at line 125 of file DrawMCResult.C.

void DrawNeighbors ( const char *  filename = "forward.root",
const char *  folder = "ForwardResults" 
)

Draw the correlation of neighboring strips before/after merging

Parameters
filenameInput file name
folderInput folder name in file
Deprecated:
Use QATrender instead

Definition at line 96 of file DrawNeighbors.C.

Referenced by DrawQA().

void DrawOccupancy ( const char *  filename = "forward.root",
const char *  folder = "ForwardResults" 
)

Draw the Poisson estimate of the occupancy

Parameters
filenameInput file name
folderInput folder name in file
Deprecated:
Use QATrender instead

Definition at line 94 of file DrawOccupancy.C.

Referenced by DrawQA().

void DrawQA ( const char *  file,
bool  full = false 
)

Draw most QA stuff

Parameters
fileFile to read
fullIf true, assume output of analysis
Deprecated:
Use QATrender instead

Definition at line 21 of file DrawQA.C.

void DrawRecAnaEloss ( const char *  filename = "forward.root",
const char *  folder = "ForwardResults" 
)

Draw energy loss before/after merging

Parameters
filenameInput file name
folderInput folder name in file
Deprecated:
Use QATrender instead

Definition at line 163 of file DrawRecAnaEloss.C.

Referenced by DrawQA().

void DrawRing123 ( TList p,
UShort_t  d,
Char_t  r 
)

Draw the energy loss spectra of single, double, and triple hits in a particular ring

Parameters
pParent list
dDetector
rRing
Deprecated:
Use the QATrender instead

Definition at line 41 of file Draw123.C.

Referenced by Draw123().

void DrawRingBeforeAfter ( TList p,
UShort_t  d,
Char_t  r 
)

Draw the before/after merging image for a single ring

Parameters
pParent list
dDetector
rRing
Deprecated:
Use QATrender instead

Definition at line 38 of file DrawBeforeAfter.C.

Referenced by DrawBeforeAfter().

Double_t DrawRingELossPoisson ( TList p,
UShort_t  d,
Char_t  r,
Double_t  xmin,
Double_t  xmax 
)

Draw the poisson \(N_{ch}\) estimate against the \(\Delta\) \(N_{ch}\) estimate and do a regression line between the two

Parameters
pList
dDetector
rRing
xminMinimum
xmaxMaximum
Returns
The regression coefficient
Deprecated:
Use QATrender instead

Definition at line 48 of file DrawELossPoisson.C.

Referenced by DrawELossPoisson().

void DrawRingNeighbors ( TList p,
UShort_t  d,
Char_t  r 
)

Draw the correlation of neighboring strips before/after merging

Parameters
pList
dDetector
rRing
Deprecated:
Use QATrender instead

Definition at line 37 of file DrawNeighbors.C.

Referenced by DrawNeighbors().

Double_t DrawRingOccupancy ( TList p,
UShort_t  d,
Char_t  r 
)

Draw the Poisson estimate of the occupancy in a given ring.

Parameters
pList
dDetector
rRing
Returns
The occupancy (in percent)
Deprecated:
Use QATrender instead

Definition at line 41 of file DrawOccupancy.C.

Referenced by DrawOccupancy().

void DrawRingRecAnaEloss ( TList p,
TList p2,
Double_t  lowCut,
UShort_t  d,
Char_t  r 
)

Draw the energy loss before/after mergin for a single ring

Parameters
pList 1
p2List 2
lowCutLow cut
dDetector
rRing
Deprecated:
Use QATrender instead

Definition at line 60 of file DrawRecAnaEloss.C.

Referenced by DrawRecAnaEloss().

void DrawStep ( THStack *  deltas,
THStack *  nchs,
THStack *  prims,
TH1 dndeta,
Int_t  step 
)

Draw a step

Parameters
deltasFrom energy loss
nchsAfter 2nd correction
primsPrimaries
dndetaResult
stepStep number

Definition at line 171 of file DrawSteps.C.

Referenced by DrawSteps().

void DrawSteps ( const char *  filename = "forward.root",
Bool_t  single = true 
)

Draw steps

Parameters
filenameInput file
singleWhether to show individial steps

Definition at line 304 of file DrawSteps.C.

Referenced by DrawQA().

void DrawText ( TLatex *  l,
Double_t  x,
Double_t y,
const char *  c1,
const char *  c2 
)

Draw some text

Parameters
lLaTeX object
xx coordinate
yy coordinate (incremented on return)
c1First string
c2Second string
Deprecated:
Use QATrender instead

Definition at line 41 of file DrawRecAnaEloss.C.

Referenced by DrawRingRecAnaEloss().

THStack * GetStack ( const TList forward,
const char *  sub,
const char *  name 
)
Parameters
forwardForward folder
subSub-folder to get
nameName of stack
Returns
Stack, or null
Deprecated:
Use DrawSteps.C instead

Get a stack

Parameters
forwardInput list
subSub-list
nameName of stack
Returns
A stack or null

Definition at line 25 of file DrawMCResult.C.

Referenced by DrawMCResult().

TH1 * Ratio ( const TH1 h1,
const TH1 h2 
)

Take ratio of two histograms

Parameters
h1Numerator
h2Denominator
Returns
Newly allocated histogram containg ratio
Deprecated:
Use DrawSteps.C instead

Ratio of two histograms

Parameters
h1numerator
h2denominator
Returns
Ratio

Definition at line 70 of file DrawMCResult.C.

Referenced by DrawMCResult(), DrawOccupancy(), AliFlowAnalysisCRC::FinalizeFlowGF(), and Ratio().

Int_t Ratio ( THStack *  r,
const THStack *  h1,
const THStack *  h2 
)

Take ratio of histograms in stacks

Parameters
rReturn stack of ratios
h1Numerators
h2Denominators
Returns
How many histograms in the return stack
Deprecated:
Use DrawSteps.C instead

Ratio all histograms in stacks

Parameters
rResult
h1Numerators
h2Denominators
Returns
Number of histograms

Definition at line 96 of file DrawMCResult.C.

TH1 * Rebin ( TH1 h,
Int_t  rebin 
)

Rebin a histogram

Parameters
hHistogram
rebinRebinning factor
Returns
Pointer to histogram
Deprecated:
Use DrawSteps.C instead

Rebin a histogram

Parameters
hHistogram
rebinRebinning factor
Returns
Histogram

Definition at line 50 of file DrawMCResult.C.

Referenced by DrawMCResult().