![]() |
AliPhysics
a60a912 (a60a912)
|
Public Types | |
enum | EFlags { kEventInspector = 0x001, kTrackDensity = 0x002, kELossFits = 0x004, kNormal = 0x107 } |
![]() | |
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 } |
Public Member Functions | |
SummaryMCTrackDrawer () | |
TFile * | Init (const char *fname) |
void | Run (const char *fname, UShort_t what=kNormal) |
![]() | |
SummaryDrawer () | |
virtual | ~SummaryDrawer () |
Protected Member Functions | |
void | DrawBetaGammadEdx (TCollection *dir, const char *prefix, UShort_t extra=0x1F) |
void | DrawTrackDensity (TCollection *parent) |
void | DrawELossFits (TCollection *parent) |
void | DrawTitlePage () |
Bethe-bloc | |
void | ScaleGraph (TGraph *graph, bool density=true, double mass=1) |
TGraph * | FromRPPFull () |
TGraph * | FromRPPNoDelta () |
TGraph * | FromRPPNoRad () |
TGraph * | FromRPPMean () |
TGraph * | FromGFMATE () |
TGraph * | GetResp () |
TGraph * | GetCorr () |
![]() | |
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") |
Protected Attributes | |
TCollection * | fSums |
TCollection * | fResults |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
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) |
Class to draw a summary of the AOD production
forward.root
file. If the file isn't merged, it should still work..root
replaced with pdf
Definition at line 25 of file SummaryMCTrackDrawer.C.
Enumerator | |
---|---|
kEventInspector | |
kTrackDensity | |
kELossFits | |
kNormal |
Definition at line 28 of file SummaryMCTrackDrawer.C.
|
inline |
Definition at line 34 of file SummaryMCTrackDrawer.C.
|
inlineprotected |
Definition at line 93 of file SummaryMCTrackDrawer.C.
Referenced by DrawELossFits(), and DrawTrackDensity().
|
inlineprotected |
Definition at line 166 of file SummaryMCTrackDrawer.C.
Referenced by Run().
|
inlineprotected |
Definition at line 229 of file SummaryMCTrackDrawer.C.
Referenced by Run().
|
inlineprotected |
Definition at line 156 of file SummaryMCTrackDrawer.C.
Referenced by Run().
|
inlineprotected |
Draw energy loss as obtained from GEANT 3.21 GFMATE.
Definition at line 456 of file SummaryMCTrackDrawer.C.
Referenced by DrawBetaGammadEdx().
|
inlineprotected |
Draw pure Bethe-Bloc from Review of Particle Physics, fig. 27.1
Definition at line 298 of file SummaryMCTrackDrawer.C.
Referenced by DrawBetaGammadEdx().
|
inlineprotected |
Draw pure Bethe-Bloc from Review of Particle Physics, fig. 27.6
Definition at line 419 of file SummaryMCTrackDrawer.C.
Referenced by DrawBetaGammadEdx().
|
inlineprotected |
Draw pure Bethe-Bloc from Review of Particle Physics, fig. 27.1, but without delta electrons
Definition at line 340 of file SummaryMCTrackDrawer.C.
Referenced by DrawBetaGammadEdx().
|
inlineprotected |
Draw pure Bethe-Bloc from Review of Particle Physics, fig. 27.1, but without delta electrons
Definition at line 381 of file SummaryMCTrackDrawer.C.
Referenced by DrawBetaGammadEdx().
|
inlineprotected |
Get the correction to Bethe-Bloc from Review of Particle Physics (fig 27.8).
Definition at line 613 of file SummaryMCTrackDrawer.C.
|
inlineprotected |
Get the response functin \( f(\Delta_p/x)\) from Review of Particle Physics (fig. 27.7). It is scaled to the value at MPV.
Definition at line 575 of file SummaryMCTrackDrawer.C.
|
inline |
Definition at line 40 of file SummaryMCTrackDrawer.C.
Referenced by Run().
fname | |
what |
Definition at line 69 of file SummaryMCTrackDrawer.C.
Referenced by RerunTrackELoss().
|
inlineprotected |
Scale a graph by density (multiply) and mass (divide).
graph | Graph to scale |
density | If true , scale by the Si density ( \( \rho=2.33/\mbox{cm}^3\)). The y axis is assumed to have units of \( MeVg^{-1}cm^2\). |
mass | Mass to scale with. The x axis is assumed to be the kinetic energy of the particles in units of GeV. |
Definition at line 288 of file SummaryMCTrackDrawer.C.
Referenced by FromRPPFull(), FromRPPMean(), FromRPPNoDelta(), and FromRPPNoRad().
|
protected |
Definition at line 645 of file SummaryMCTrackDrawer.C.
|
protected |
Definition at line 644 of file SummaryMCTrackDrawer.C.
Referenced by DrawTitlePage(), Init(), and Run().