![]() |
AliPhysics
51e3ab4 (51e3ab4)
|
Public Member Functions | |
CorrDrawer () | |
~CorrDrawer () | |
void | Run (const Char_t *what, const Char_t *extra, Option_t *options="", const Char_t *local="") |
void | Run (UShort_t what, const Char_t *extra, Option_t *options="", const Char_t *local="") |
void | Run (const Char_t *what, ULong_t runNo, const Char_t *sys, UShort_t sNN, UShort_t field, Bool_t mc=false, Bool_t sat=false, Option_t *options="", const char *local="") |
void | Run (UShort_t what, ULong_t runNo, UShort_t sys, UShort_t sNN, UShort_t field, Bool_t mc=false, Bool_t sat=false, Option_t *options="", const char *local="") |
virtual void | Draw (const TObject *o) |
virtual void | Draw (const AliFMDCorrAcceptance *acc) |
virtual void | Draw (const AliFMDCorrSecondaryMap *sec) |
virtual void | Draw (const AliFMDCorrELossFit *fits) |
virtual void | Summarize (const TString &what, ULong_t runNo, const Char_t *sys, UShort_t sNN, Short_t field, Bool_t mc=false, Bool_t sat=false, Option_t *options="", const char *local="") |
virtual void | Summarize (UShort_t what, ULong_t runNo, UShort_t sys, UShort_t sNN, Short_t field, Bool_t mc=false, Bool_t sat=false, Option_t *options="", const char *local="") |
virtual void | Summarize (const TObject *o, Bool_t pdf=true) |
virtual void | Summarize (const AliFMDCorrAcceptance *acc, Bool_t pdf=true) |
virtual void | Summarize (const AliFMDCorrSecondaryMap *sec, Bool_t pdf=true) |
virtual void | Summarize (const AliFMDCorrNoiseGain *corr, Bool_t pdf=true) |
virtual void | Summarize (const AliFMDCorrELossFit *fits, Bool_t pdf=true) |
![]() | |
SummaryDrawer () | |
virtual | ~SummaryDrawer () |
Static Public Member Functions | |
static void | MakeFileName (TString &out, const TString &prefix) |
static void | Summarize (const TString &what="", Bool_t=false, const TString &output="", const TString &local="fmd_corrections.root", Option_t *options="") |
static void | Summarize (UShort_t what, Bool_t=false, const TString &output="", const TString &local="fmd_corrections.root", Option_t *options="") |
Public Attributes | |
TString | fELossExtra |
UShort_t | fMinQuality |
Protected Member Functions | |
void | AppendName (TString &what, UShort_t which) |
virtual Bool_t | GetInformation (ULong_t &runNo, UShort_t &sys, UShort_t &sNN, Short_t &fld, Bool_t &mc, Bool_t &sat) |
virtual TString | CanvasName (const char *def) |
virtual void | DrawIt (const TObject *o) |
virtual void | DrawIt (const AliFMDCorrAcceptance *corr, Bool_t details=true) |
virtual void | DrawIt (const AliFMDCorrSecondaryMap *corr, bool details) |
virtual void | DrawIt (const AliFMDCorrNoiseGain *corr, bool) |
virtual void | DrawIt (const AliFMDCorrELossFit *corr, bool details, bool few=true) |
void | DrawELossFits (UShort_t d, Char_t r, TObjArray *ra, TList *dists, TList *resis, bool few) |
TObjArray * | CreateVtxStacks (const TAxis &vtxAxis) |
Bool_t | DrawVtxStacks (TObjArray *stacks, Double_t max=-1) |
![]() | |
TLegend * | DrawRingLegend (TVirtualPad *p, UInt_t flags) |
void | ClearCanvas () |
void | CreateCanvas (const TString &pname, Bool_t landscape=false, Bool_t pdf=true, Bool_t useTop=true) |
void | CloseCanvas () |
void | PrintCanvas (const TString &title, Float_t size=.7) |
void | MakeChapter (const TString &title) |
TObject * | DrawInPad (TVirtualPad *c, Int_t padNo, TObject *h, Option_t *opts="", UInt_t flags=0x0, const char *title="") |
virtual TObject * | DrawObjClone (TObject *o, Option_t *options, const char *title) |
virtual TObject * | DrawObjClone (THStack *o, Option_t *options, const char *title) |
virtual TObject * | DrawObjClone (TH1 *o, Option_t *options, const char *title) |
TLegend * | MakeLegend (TVirtualPad *p, UInt_t flags, Bool_t autoFill) |
TObject * | DrawInPad (TVirtualPad *p, TObject *h, Option_t *opts="", UInt_t flags=0x0, const char *title="") |
void | DrawTwoInPad (TVirtualPad *c, Int_t padNo, TH1 *h1, TH1 *h2, Option_t *opts="", UShort_t flags=0x0) |
void | DrawParameter (Double_t &y, const TString &name, const TString &value, Double_t size=0) |
template<typename T > | |
void | DrawTParameter (Double_t &y, TList *list, const TString &name) |
void | DivideForRings (Bool_t commonX, Bool_t commonY) |
TVirtualPad * | RingPad (UShort_t d, Char_t r) const |
TVirtualPad * | RingPad (const char *name) const |
void | DrawInRingPad (UShort_t d, Char_t r, TObject *h, Option_t *opts="", UShort_t flags=0x0, const char *title="") |
void | DrawInRingPad (const char *name, TObject *h, Option_t *opts="", UShort_t flags=0x0, const char *title="") |
void | DrawInRingPad (TObject *h, Option_t *opts="", UShort_t flags=0x0, const char *title="") |
void | Pause () |
virtual void | DrawEventInspector (TCollection *parent) |
virtual void | DrawESDFixer (TCollection *parent) |
void | DrawTrackDensity (TCollection *parent, const char *folderName="mcTrackDensity") |
Additional Inherited Members | |
![]() | |
enum | { kLogx = 0x1, kLogy = 0x2, kLogz = 0x4, kLegend = 0x10, kGridx = 0x100, kGridy = 0x200, kGridz = 0x400, kSilent = 0x800, kNorth = 0x1000, kMiddle = 0x2000, kSouth = 0x3000, kEast = 0x10000, kCenter = 0x20000, kWest = 0x30000 } |
enum | { kLandscape = 0x100, kPause = 0x200 } |
![]() | |
static const Char_t ** | GetRingNames (Bool_t lower=false) |
static Color_t | RingColor (UShort_t d, Char_t r) |
static void | SysString (UShort_t sys, TString &str) |
static void | SNNString (UShort_t sNN, TString &str) |
static void | AppendAnd (TString &trg, const TString &what) |
static void | TriggerString (ULong_t trigger, TString &str) |
static TObject * | GetObject (const TObject *parent, const TString &name, Bool_t verb=true) |
static Bool_t | CheckType (const TObject *o, const TClass *cl, const TString &src) |
template<typename T > | |
static T * | DoGetObject (TObject *o, const TObject *p) |
template<typename T > | |
static Bool_t | DoGetParameter (TObject *o, const TObject *p, T &value) |
static Bool_t | GetParameter (const TObject *c, const TString &name, Short_t &value, Bool_t verb=true) |
static Bool_t | GetParameter (const TObject *c, const TString &name, UShort_t &value, Bool_t verb=true) |
static Bool_t | GetParameter (const TObject *c, const TString &name, ULong_t &value, Bool_t verb=true) |
static Bool_t | GetParameter (const TObject *c, const TString &name, Int_t &value, Bool_t verb=true) |
static Bool_t | GetParameter (const TObject *c, const TString &name, Double_t &value, Bool_t verb=true) |
static Bool_t | GetParameter (const TObject *c, const TString &name, Bool_t &value, Bool_t verb=true) |
static TCollection * | GetCollection (const TObject *parent, const TString &name, Bool_t verb=true) |
static TH1 * | GetH1 (const TObject *parent, const TString &name, Bool_t verb=true) |
static TH2 * | GetH2 (const TObject *parent, const TString &name, Bool_t verb=true) |
static TH3 * | GetH3 (const TCollection *parent, const TString &name, Bool_t verb=true) |
static THStack * | GetStack (const TObject *parent, const TString &name, const char *sub=0, Bool_t verb=true) |
static void | GetLegendPosition (UInt_t flags, TVirtualPad *p, Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) |
static void | CompileScript (const TString &name, const TString &sub, const TString &check, Bool_t force) |
![]() | |
TCanvas * | fCanvas |
TPad * | fTop |
TPad * | fBody |
TLatex * | fHeader |
TLatex * | fParName |
TLatex * | fParVal |
Bool_t | fPause |
Bool_t | fLandscape |
TVirtualPad ** | fRingMap |
Bool_t | fPDF |
TString | fLastTitle |
Definition at line 23 of file CorrDrawer.C.
|
inline |
|
inline |
Destructor. Closes the PDF
Definition at line 39 of file CorrDrawer.C.
Append a name to output prefix
what | What to append to |
which | Which string to append |
Definition at line 415 of file CorrDrawer.C.
Referenced by Run().
|
inlineprotectedvirtual |
Get the canvas name. If the auxillary file has been set, use that as the base of the canvas name. Otherwise use def.
def | Default value |
Definition at line 491 of file CorrDrawer.C.
Referenced by Summarize().
Create an array of per-vertex bin stacks
vtxAxis | Vertex axis |
Definition at line 1064 of file CorrDrawer.C.
Referenced by DrawIt().
|
inlinevirtual |
|
inlinevirtual |
Draw a single plot of the mean acceptance correction
acc | Acceptance correction |
Definition at line 234 of file CorrDrawer.C.
|
inlinevirtual |
Draw a single plot of the mean secondary correction
sec | Secondary correction |
Definition at line 240 of file CorrDrawer.C.
|
inlinevirtual |
Draw a single plot summarizing the energy loss fits
fits | Energy loss fits |
Definition at line 246 of file CorrDrawer.C.
|
inlineprotected |
CINT does too much when optimizing on a loop, so we take this out to force CINT to not optimize the third nested loop.
d | Detector |
r | Ring |
ra | Ring array |
dists | Distributions (optional) |
resis | Residuals (optional) |
few | A few |
Definition at line 955 of file CorrDrawer.C.
Referenced by DrawIt().
|
inlineprotectedvirtual |
Fall-back method
o | Object to summarize |
Definition at line 505 of file CorrDrawer.C.
Referenced by Run(), and Summarize().
|
inlineprotectedvirtual |
Draw the acceptance correction
corr | Correction |
details | If true, make a multipage PDF, otherwise plot the mean. |
Definition at line 517 of file CorrDrawer.C.
|
inlineprotectedvirtual |
Draw the secondary correction
corr | Correction |
details | If true, make a multipage PDF, otherwise plot the mean. |
Definition at line 640 of file CorrDrawer.C.
|
inlineprotectedvirtual |
Definition at line 732 of file CorrDrawer.C.
|
inlineprotectedvirtual |
Draw the energy loss fits correction
corr | Correction |
details | If true, make a multipage PDF, otherwise plot the parameters. |
few | Only a few |
Definition at line 780 of file CorrDrawer.C.
Draw the vertex stacks in the canvas
stacks | Stacks to draw |
max | Possible maximum of the stacks |
Definition at line 1086 of file CorrDrawer.C.
Referenced by DrawIt().
|
inlineprotectedvirtual |
Get information from auxillary file
runNo | On return, the run number |
sys | On return, the collision system |
sNN | On return, the collision energy |
fld | On return, the L3 magnetic field |
mc | On return, true for MC input |
sat | On return, true for satellite input enabled |
Definition at line 444 of file CorrDrawer.C.
Referenced by Run().
Create output file name
out | Output file name on return |
prefix | Prefix of the file name |
Definition at line 49 of file CorrDrawer.C.
Referenced by Run().
|
inline |
Run the correction drawer, fetching information from extra file
what | What to draw |
extra | Extra file |
options | Options |
local | Local DB |
Definition at line 63 of file CorrDrawer.C.
Referenced by DrawCorrAcc(), DrawCorrSecMap(), Run(), and Summarize().
|
inline |
Run the correction drawer, fetching information from extra file
what | What to draw |
extra | Extra file |
options | Options |
local | Local DB |
Definition at line 79 of file CorrDrawer.C.
|
inline |
Draw corrections using the correction manager to get them
what | What to draw |
runNo | Run Number |
sys | Collision system |
sNN | Center of mass energy |
field | L3 Field |
mc | Simulations or not |
sat | Satellite interactions or not |
options | Options |
local | Local database file |
Definition at line 109 of file CorrDrawer.C.
|
inline |
Draw corrections using the correction manager to get them
what | What to draw |
runNo | Run Number |
sys | Collision system |
sNN | Center of mass energy |
field | L3 Field |
mc | Simulations or not |
sat | Satellite interactions or not |
options | Options |
local | Local database file |
Definition at line 136 of file CorrDrawer.C.
|
inlinevirtual |
A generalized entry to the summarization functions
what | What to show - only one field |
runNo | Run number |
sys | System |
sNN | Center of mass energy in GeV |
field | L3 magnetic field |
mc | Simulation flag |
sat | Satellite interaction flag |
options | Options |
local | Local storage |
Definition at line 262 of file CorrDrawer.C.
Referenced by Draw(), and DrawCorrELoss().
|
inlinevirtual |
A generalized entry to the summarization functions
what | What to show - only one field |
runNo | Run number |
sys | System |
sNN | Center of mass energy in GeV |
field | L3 magnetic field |
mc | Simulation flag |
sat | Satellite interaction flag |
options | Options |
local | Local storage |
Definition at line 291 of file CorrDrawer.C.
Fall-back method
o | Object to draw |
Not used |
Definition at line 309 of file CorrDrawer.C.
|
inlinevirtual |
Draw a single summary plot or multiple plots of the acceptance correction. A new Canvas is created for this.
acc | Acceptance correction |
If true, do multiple plots. Otherwise a single summary plot |
Definition at line 322 of file CorrDrawer.C.
|
inlinevirtual |
Draw a single summary plot multiple plots of the secondary correction. A new canvas is created for this.
sec | Secondary correction |
If true, do multiple plots. Otherwise a single summary plot |
Definition at line 335 of file CorrDrawer.C.
|
inlinevirtual |
Draw a single summary plot multiple plots of the energy loss fits. A new canvas is created for this.
corr | Energy loss fits |
If true, do multiple plots. Otherwise a single summary plot |
Definition at line 348 of file CorrDrawer.C.
|
inlinevirtual |
Draw a single summary plot multiple plots of the energy loss fits. A new canvas is created for this.
fits | Energy loss fits |
If true, do multiple plots. Otherwise a single summary plot |
Definition at line 361 of file CorrDrawer.C.
|
inlinestatic |
Draw a single summary plot/multiple plots of the correction. A new canvas is created for this.
what | What to plot |
output | Output of correction pass (must exist) |
local | Local storage of correction |
options | Various options |
Definition at line 378 of file CorrDrawer.C.
|
inlinestatic |
Draw a single summary plot/multiple plots of the correction. A new canvas is created for this.
what | What to plot |
output | Output of correction pass (must exist) |
local | Local storage of correction |
options | Various options |
Definition at line 399 of file CorrDrawer.C.
TString CorrDrawer::fELossExtra |
Definition at line 26 of file CorrDrawer.C.
Referenced by CanvasName(), CorrDrawer(), DrawCorrELoss(), DrawIt(), GetInformation(), and Run().
UShort_t CorrDrawer::fMinQuality |
Definition at line 27 of file CorrDrawer.C.
Referenced by CorrDrawer(), DrawCorrELoss(), DrawELossFits(), and DrawIt().