![]() |
AliPhysics
a56b849 (a56b849)
|
Public Member Functions | |
MultCutDrawer () | |
MultCutDrawer (const MultCutDrawer &o) | |
MultCutDrawer & | operator= (const MultCutDrawer &o) |
~MultCutDrawer () | |
void | Run (ULong_t runNo=999, UShort_t sys=0, UShort_t sNN=0, Short_t field=999, Bool_t mc=false, const Char_t *local=0) |
void | DrawMethodLegend (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
void | DrawValueLegend (THStack *stack, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
THStack * | AllStack (Int_t i) |
TMultiGraph * | AllSummary (const TString &method, const TString &title) |
TGraphErrors * | FindSummary (TMultiGraph *summaries, const TString &n, const TString &method, Color_t col, Style_t style) |
THStack * | CutStack (const TString &method, Double_t *param, THStack *all, TMultiGraph *summaries) |
Bool_t | Init (ULong_t runNo=999, UShort_t sys=0, UShort_t sNN=0, Short_t field=999, Bool_t mc=false, Bool_t sat=false, const Char_t *local=0) |
![]() | |
SummaryDrawer () | |
virtual | ~SummaryDrawer () |
Static Public Member Functions | |
static Style_t | CutStyle (UShort_t m) |
static void | Statistics (Double_t y, Int_t &cnt, Double_t &mean, Double_t &var) |
static void | HistStatistics (const TH1 *h, Double_t &mean, Double_t &var, Double_t &min, Double_t &max, Int_t &rCnt, Double_t &rMean, Double_t &rVar) |
Public Attributes | |
UShort_t | fMinQuality |
TList | fCuts |
TList | fStacks |
TList | fMultiGraphs |
Bool_t | fMC |
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 } |
![]() | |
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") |
![]() | |
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 25 of file MultCutDrawer.C.
|
inline |
Constructor
Definition at line 36 of file MultCutDrawer.C.
|
inline |
|
inline |
Destructor
Definition at line 98 of file MultCutDrawer.C.
|
inline |
Get stack at i. If the stack doesn't exist, make it
i | Location (0-based) |
Definition at line 324 of file MultCutDrawer.C.
Referenced by Run().
Get multigraph at i. If the stack doesn't exist, make it
method | Method used |
title | Title on plot |
Definition at line 341 of file MultCutDrawer.C.
Referenced by Run().
|
inline |
Create a stack from cuts
method | Method to use |
param | Parameters |
all | Stack to add for this set of parameters |
summaries | List of summaries |
Definition at line 470 of file MultCutDrawer.C.
Referenced by Run().
|
inlinestatic |
Get the marker styoe associated with a cut
m | Cut identifier |
Definition at line 391 of file MultCutDrawer.C.
Referenced by CutStack(), DrawMethodLegend(), and DrawValueLegend().
Draw legend of methods
x1 | Left x |
y1 | Lower y |
x2 | Right x |
y2 | Upper y |
Definition at line 255 of file MultCutDrawer.C.
Referenced by Run().
|
inline |
Draw a value legend
stack | Stack to take values from |
x1 | Left x |
y1 | Lower y |
x2 | Right x |
y2 | Upper y |
Definition at line 286 of file MultCutDrawer.C.
Referenced by Run().
|
inline |
Find summary
summaries | List of summaries |
n | Which name |
method | Which method |
col | The color to use |
style | The style to use |
Definition at line 360 of file MultCutDrawer.C.
Referenced by CutStack().
|
inlinestatic |
Calculate statistics for a histogram
h | Histogram |
mean | On return, the mean of y |
var | On return, the variance in y |
min | On return, the least y |
max | On return, the largest y |
rCnt | In/out: Current count |
rMean | In/out: Current mean |
rVar | In/out: Current variance |
Definition at line 434 of file MultCutDrawer.C.
Referenced by CutStack().
|
inline |
Initialize
runNo | Run number (or 999 for don't care) |
sys | System (or 0 for don't care) |
sNN | Collision energy in GeV (or 0 for don't care) |
field | L3 Field in kG (or 999 for don't care) |
mc | True of MC |
sat | True for including satellite collisions |
local | Possible local database |
Definition at line 584 of file MultCutDrawer.C.
Referenced by Run().
|
inline |
Assignment operator
o | Obejct to assign from |
Definition at line 86 of file MultCutDrawer.C.
|
inline |
Run the class
runNo | Run number (or 999 for don't care) |
sys | System (or 0 for don't care) |
sNN | Collision energy in GeV (or 0 for don't care) |
field | L3 Field in kG (or 999 for don't care) |
mc | True of MC |
local | Possible local database |
Definition at line 113 of file MultCutDrawer.C.
Referenced by DrawMultCuts().
|
inlinestatic |
Update statistics
y | Current value |
cnt | Current count |
mean | Current mean |
var | Current variance |
Definition at line 412 of file MultCutDrawer.C.
Referenced by HistStatistics().
TList MultCutDrawer::fCuts |
Definition at line 28 of file MultCutDrawer.C.
Referenced by DrawMethodLegend(), MultCutDrawer(), operator=(), and Run().
Bool_t MultCutDrawer::fMC |
Definition at line 31 of file MultCutDrawer.C.
Referenced by CutStack(), and Init().
UShort_t MultCutDrawer::fMinQuality |
Definition at line 27 of file MultCutDrawer.C.
Referenced by operator=().
TList MultCutDrawer::fMultiGraphs |
Definition at line 30 of file MultCutDrawer.C.
Referenced by AllSummary(), and Run().
TList MultCutDrawer::fStacks |
Definition at line 29 of file MultCutDrawer.C.
Referenced by AllStack(), operator=(), and Run().