![]() |
AliPhysics
ed43440 (ed43440)
|
Public Member Functions | |
Trend () | |
void | AddSLCut (const TString &name, const TString &values) |
void | AddSHCut (const TString &name, const TString &values) |
void | AddDCCut (const TString &name, const TString &values) |
void | AddRun (const TString &name) |
void | AddCentrality (UShort_t l, UShort_t h) |
void | SetOrder (const TString &order) |
void | Run (const char *output="trending.root", UShort_t sys=2, UShort_t sNN=2760, UShort_t trg=1) |
void | LoopCuts (const TString &run, const TString &cur, const TList *cuts1, const TList *cuts2, const TList *cuts3, TDirectory *out, Int_t upBin=0, THStack *upMean=0, THStack *upRatios=0) |
Bool_t | NextFile (const TString &run, const TString &now, TDirectory *out, Int_t binx, THStack *mean, THStack *ratios) |
void | MakeStacks (const TString &run, const TObjArray *values, THStack *&mean, THStack *&ratios) |
void | UpdateStacks (TH1 *h, Int_t i, Int_t binx, THStack *stack) |
void | BuildCentLegend (TVirtualPad *p, UInt_t where, THStack *stack=0) |
void | BuildCutLegend (TVirtualPad *p, UInt_t where, THStack *stack) |
void | DrawStacks (TVirtualPad *p, THStack *stack, UInt_t cent=0, UInt_t cuts=0) |
![]() | |
SummaryDrawer () | |
virtual | ~SummaryDrawer () |
Static Public Member Functions | |
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) |
static void | FixMinMax (THStack *stack) |
static TH1 * | G2H (const TGraph *g, const TAxis &axis) |
static TGraph * | GetOther (UShort_t sys, UShort_t sNN, UShort_t trg, UShort_t lowC, UShort_t highC) |
Public Attributes | |
TList | fSLCuts |
TList | fSHCuts |
TList | fDCCuts |
TList | fRuns |
TList | fCents |
TList | fOthers |
TList * | fOrder [3] |
Bool_t | fRebinned |
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 |
Add a centrality bin to analyse
l | Lower bound |
h | Upper bound |
Definition at line 81 of file Trend.C.
Referenced by MakeTrend().
Add a density calculator threshold
name | Name of the cut type (fix,mpv,sig,xi,prob) |
values | Space-separated cut parameters |
Definition at line 60 of file Trend.C.
Referenced by MakeTrend().
|
inline |
Add a run to analyse
name | Run number |
Definition at line 70 of file Trend.C.
Referenced by MakeTrend().
Add a sharing filter high cut
name | Name of the cut type (fix,mpv,sig,xi,prob) |
values | Space-separated cut parameters |
Definition at line 49 of file Trend.C.
Referenced by MakeTrend().
Add a sharing filter low cut
name | Name of the cut type (fix,mpv,sig,xi,prob) |
values | Space-separated cut parameters |
Definition at line 38 of file Trend.C.
Referenced by MakeTrend().
|
inline |
Build a centrality legend
p | Pad |
where | See above |
stack | Stack to make legend for |
Definition at line 537 of file Trend.C.
Referenced by DrawStacks().
|
inline |
Make a cut legend.
p | Pad |
where | See above |
stack | Stack to make legend for |
Definition at line 571 of file Trend.C.
Referenced by DrawStacks().
|
inline |
Draw stacks
p | Pad |
stack | Stacks |
cent | Centrality legend location |
cuts | Cut legend location |
Definition at line 617 of file Trend.C.
Referenced by LoopCuts(), and NextFile().
|
inlinestatic |
Fix the min/max of a stack
stack |
Definition at line 701 of file Trend.C.
Referenced by DrawStacks(), LoopCuts(), and NextFile().
Turn a graph into a histogram
g | Graph |
axis | Axis to use |
Definition at line 726 of file Trend.C.
Referenced by NextFile().
|
inlinestatic |
Calculate histogram statistics
h | Histogram |
mean | On return, the Y-mean |
var | On return, the Y variance |
min | On return, the least Y |
max | On return, the largest Y |
Definition at line 674 of file Trend.C.
Referenced by UpdateStacks().
|
inline |
Make stacks
run | Run number |
values | Cut parameters |
mean | Stack of means |
ratios | Stack of ratios |
Definition at line 443 of file Trend.C.
Referenced by LoopCuts().
|
inline |
Process the next file
run | Run |
now | Time |
out | Output directory |
binx | Bin number |
mean | Graphs of mean +/- variance |
ratios | Ratios stack |
Definition at line 321 of file Trend.C.
Referenced by LoopCuts().
|
inline |
Run it
output | |
sys | |
sNN | |
trg |
Definition at line 129 of file Trend.C.
Referenced by MakeTrend().
|
inline |
Set the order in which to do the comparison. Most important should be last.
order | Permutation of sl, sh, and dc, space separated |
Definition at line 96 of file Trend.C.
Referenced by MakeTrend().
|
inlinestatic |
Update statistics
y | Current observation |
cnt | On entry, last count, on return current count |
mean | On entry, last mean, on return current mean |
var | On entry, last variance, on return current variance |
Definition at line 655 of file Trend.C.
Referenced by HistStatistics().
Update stacks
h | Histogram |
i | Index |
binx | Bin number |
stack | Stack to update |
Definition at line 501 of file Trend.C.
Referenced by LoopCuts(), and NextFile().
TList Trend::fCents |
Definition at line 807 of file Trend.C.
Referenced by AddCentrality(), BuildCentLegend(), LoopCuts(), MakeStacks(), NextFile(), and Run().
TList Trend::fDCCuts |
Definition at line 805 of file Trend.C.
Referenced by AddDCCut(), SetOrder(), and Trend().
TList* Trend::fOrder[3] |
Definition at line 809 of file Trend.C.
Referenced by Run(), SetOrder(), and Trend().
TList Trend::fOthers |
Definition at line 808 of file Trend.C.
Referenced by NextFile(), and Run().
Bool_t Trend::fRebinned |
Definition at line 810 of file Trend.C.
Referenced by NextFile().
TList Trend::fSHCuts |
Definition at line 804 of file Trend.C.
Referenced by AddSHCut(), SetOrder(), and Trend().
TList Trend::fSLCuts |
Definition at line 803 of file Trend.C.
Referenced by AddSLCut(), SetOrder(), and Trend().