![]() |
AliPhysics
06e4d4b (06e4d4b)
|
![]() |
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) |
TH1 * | Rebin (TH1 *h, Int_t rebin) |
TH1 * | Ratio (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) |
Quality assurance scripts and functions
Add a histogram to the all stack
all | Stack |
h | Histogram |
singleStep | Showing individual steps? |
Definition at line 129 of file DrawSteps.C.
Referenced by DrawStep().
Dim an entry
thisId | This step |
step | Current step |
e | Entry in legend |
Definition at line 150 of file DrawSteps.C.
Referenced by DrawStep().
void Draw123 | ( | const char * | filename = "forward.root" , |
const char * | folder = "ForwardResults" |
||
) |
void DrawBeforeAfter | ( | const char * | filename = "forward.root" , |
const char * | folder = "ForwardResults" |
||
) |
Draw the before/after sharing image for all rings
filename | Input file name |
folder | Input folder in file |
Definition at line 75 of file DrawBeforeAfter.C.
Referenced by DrawQA().
void DrawCuts | ( | const char * | filename = "forward.root" | ) |
Draw cuts used in analysis
filename | Input 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
filename | File to read |
folder | Folder in file |
xmax | Minimum X |
xmin | Maximum X |
Definition at line 193 of file DrawELossPoisson.C.
Referenced by DrawQA().
Draw MC results
filename | Input file name |
rebin | Rebinning factor |
ratios | Whether to show ratios |
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
filename | Input file name |
folder | Input folder name in file |
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
filename | Input file name |
folder | Input folder name in file |
Definition at line 94 of file DrawOccupancy.C.
Referenced by DrawQA().
void DrawQA | ( | const char * | file, |
bool | full = false |
||
) |
Draw most QA stuff
file | File to read |
full | If true, assume output of analysis |
void DrawRecAnaEloss | ( | const char * | filename = "forward.root" , |
const char * | folder = "ForwardResults" |
||
) |
Draw energy loss before/after merging
filename | Input file name |
folder | Input folder name in file |
Definition at line 163 of file DrawRecAnaEloss.C.
Referenced by DrawQA().
Draw the before/after merging image for a single ring
p | Parent list |
d | Detector |
r | Ring |
Definition at line 38 of file DrawBeforeAfter.C.
Referenced by DrawBeforeAfter().
Draw the poisson \(N_{ch}\) estimate against the \(\Delta\) \(N_{ch}\) estimate and do a regression line between the two
p | List |
d | Detector |
r | Ring |
xmin | Minimum |
xmax | Maximum |
Definition at line 48 of file DrawELossPoisson.C.
Referenced by DrawELossPoisson().
Draw the correlation of neighboring strips before/after merging
p | List |
d | Detector |
r | Ring |
Definition at line 37 of file DrawNeighbors.C.
Referenced by DrawNeighbors().
Draw the Poisson estimate of the occupancy in a given ring.
p | List |
d | Detector |
r | Ring |
Definition at line 41 of file DrawOccupancy.C.
Referenced by DrawOccupancy().
Draw the energy loss before/after mergin for a single ring
p | List 1 |
p2 | List 2 |
lowCut | Low cut |
d | Detector |
r | Ring |
Definition at line 60 of file DrawRecAnaEloss.C.
Referenced by DrawRecAnaEloss().
Draw a step
deltas | From energy loss |
nchs | After 2nd correction |
prims | Primaries |
dndeta | Result |
step | Step 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
filename | Input file |
single | Whether to show individial steps |
Definition at line 304 of file DrawSteps.C.
Referenced by DrawQA().
Draw some text
l | LaTeX object |
x | x coordinate |
y | y coordinate (incremented on return) |
c1 | First string |
c2 | Second string |
Definition at line 41 of file DrawRecAnaEloss.C.
Referenced by DrawRingRecAnaEloss().
THStack * GetStack | ( | const TList & | forward, |
const char * | sub, | ||
const char * | name | ||
) |
forward | Forward folder |
sub | Sub-folder to get |
name | Name of stack |
Get a stack
forward | Input list |
sub | Sub-list |
name | Name of stack |
Definition at line 25 of file DrawMCResult.C.
Referenced by DrawMCResult().
Take ratio of two histograms
h1 | Numerator |
h2 | Denominator |
Ratio of two histograms
h1 | numerator |
h2 | denominator |
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
r | Return stack of ratios |
h1 | Numerators |
h2 | Denominators |
Ratio all histograms in stacks
r | Result |
h1 | Numerators |
h2 | Denominators |
Definition at line 96 of file DrawMCResult.C.
Rebin a histogram
h | Histogram |
rebin | Rebinning factor |
Rebin a histogram
h | Histogram |
rebin | Rebinning factor |
Definition at line 50 of file DrawMCResult.C.
Referenced by DrawMCResult().