AliPhysics  a6017e1 (a6017e1)
SummarydNdetaDrawer Class Reference
Inheritance diagram for SummarydNdetaDrawer:

Public Types

enum  {
  kForward = 0x01, kCentral = 0x02, kSums = 0x04, kResults = 0x08,
  kMinBias = 0x10, kMC = 0x80, kNormal = 0x0F
}
 
- Public Types inherited from SummaryDrawer
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

 SummarydNdetaDrawer ()
 
const char * ColName (const char *prefix, bool results=false)
 
void Run (const char *fname="forward_dndeta.root", UShort_t flags=kNormal)
 
- Public Member Functions inherited from SummaryDrawer
 SummaryDrawer ()
 
virtual ~SummaryDrawer ()
 

Protected Member Functions

TAxisGetCentAxis (const TCollection *parent, Bool_t verbose=false)
 
TCollectionGetCentCollection (const TCollection *sums, const TString &base, Float_t cLow, Float_t cHigh, TString &title)
 
void DrawTitlePage (TFile *file, Bool_t mc, Bool_t onlyMB)
 
void DrawBoth (THStack *rC, THStack *rF, THStack *rM, TFile *file, Bool_t onlyMB)
 
void DrawSums (TDirectory *top, const TString &base, bool onlyMB)
 
void DrawCentSum (const TCollection *sums, const TString &base, Float_t cLow, Float_t cHigh)
 
void DrawResTitle (TCollection *c, Double_t &y, Bool_t onlyMB)
 
THStack * DrawRes (TDirectory *top, const TString &base, Bool_t onlyMB)
 
THStack * MakeMBStack (const TCollection *sums, const TString &base)
 
void DrawCentRes (const TCollection *sums, const TString &base, Float_t cLow, Float_t cHigh)
 
void DrawCentResDetails (const TCollection *sums, const TString &base)
 
THStack * CleanStack (const THStack *stack, TLegend *l, const TAxis *axis)
 
- Protected Member Functions inherited from SummaryDrawer
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)
 
TObjectDrawInPad (TVirtualPad *c, Int_t padNo, TObject *h, Option_t *opts="", UInt_t flags=0x0, const char *title="")
 
virtual TObjectDrawObjClone (TObject *o, Option_t *options, const char *title)
 
virtual TObjectDrawObjClone (THStack *o, Option_t *options, const char *title)
 
virtual TObjectDrawObjClone (TH1 *o, Option_t *options, const char *title)
 
TLegend * MakeLegend (TVirtualPad *p, UInt_t flags, Bool_t autoFill)
 
TObjectDrawInPad (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

- Static Protected Member Functions inherited from SummaryDrawer
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 TObjectGetObject (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 TDoGetObject (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 TCollectionGetCollection (const TObject *parent, const TString &name, Bool_t verb=true)
 
static TH1GetH1 (const TObject *parent, const TString &name, Bool_t verb=true)
 
static TH2GetH2 (const TObject *parent, const TString &name, Bool_t verb=true)
 
static TH3GetH3 (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)
 
- Protected Attributes inherited from SummaryDrawer
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
 

Detailed Description

Definition at line 5 of file SummarydNdetaDrawer.C.

Member Enumeration Documentation

anonymous enum
Enumerator
kForward 
kCentral 
kSums 
kResults 
kMinBias 
kMC 
kNormal 

Definition at line 8 of file SummarydNdetaDrawer.C.

Constructor & Destructor Documentation

SummarydNdetaDrawer::SummarydNdetaDrawer ( )
inline

Definition at line 17 of file SummarydNdetaDrawer.C.

Member Function Documentation

THStack* SummarydNdetaDrawer::CleanStack ( const THStack *  stack,
TLegend *  l,
const TAxis axis 
)
inlineprotected

Definition at line 773 of file SummarydNdetaDrawer.C.

Referenced by DrawBoth(), and DrawRes().

const char* SummarydNdetaDrawer::ColName ( const char *  prefix,
bool  results = false 
)
inline

Definition at line 20 of file SummarydNdetaDrawer.C.

Referenced by DrawBoth(), DrawRes(), DrawSums(), DrawTitlePage(), and Run().

void SummarydNdetaDrawer::DrawBoth ( THStack *  rC,
THStack *  rF,
THStack *  rM,
TFile *  file,
Bool_t  onlyMB 
)
inlineprotected

Definition at line 183 of file SummarydNdetaDrawer.C.

Referenced by Run().

void SummarydNdetaDrawer::DrawCentRes ( const TCollection sums,
const TString base,
Float_t  cLow,
Float_t  cHigh 
)
inlineprotected

Definition at line 616 of file SummarydNdetaDrawer.C.

Referenced by DrawRes().

void SummarydNdetaDrawer::DrawCentResDetails ( const TCollection sums,
const TString base 
)
inlineprotected

Definition at line 726 of file SummarydNdetaDrawer.C.

Referenced by DrawCentRes().

void SummarydNdetaDrawer::DrawCentSum ( const TCollection sums,
const TString base,
Float_t  cLow,
Float_t  cHigh 
)
inlineprotected

Definition at line 389 of file SummarydNdetaDrawer.C.

Referenced by DrawSums().

THStack* SummarydNdetaDrawer::DrawRes ( TDirectory *  top,
const TString base,
Bool_t  onlyMB 
)
inlineprotected

Definition at line 480 of file SummarydNdetaDrawer.C.

Referenced by Run().

void SummarydNdetaDrawer::DrawResTitle ( TCollection c,
Double_t y,
Bool_t  onlyMB 
)
inlineprotected

Definition at line 428 of file SummarydNdetaDrawer.C.

Referenced by DrawRes(), and DrawTitlePage().

void SummarydNdetaDrawer::DrawSums ( TDirectory *  top,
const TString base,
bool  onlyMB 
)
inlineprotected

Definition at line 289 of file SummarydNdetaDrawer.C.

Referenced by Run().

void SummarydNdetaDrawer::DrawTitlePage ( TFile *  file,
Bool_t  mc,
Bool_t  onlyMB 
)
inlineprotected

Definition at line 130 of file SummarydNdetaDrawer.C.

Referenced by Run().

TAxis* SummarydNdetaDrawer::GetCentAxis ( const TCollection parent,
Bool_t  verbose = false 
)
inlineprotected

Definition at line 89 of file SummarydNdetaDrawer.C.

Referenced by DrawBoth(), DrawRes(), DrawResTitle(), and DrawSums().

TCollection* SummarydNdetaDrawer::GetCentCollection ( const TCollection sums,
const TString base,
Float_t  cLow,
Float_t  cHigh,
TString title 
)
inlineprotected

Definition at line 107 of file SummarydNdetaDrawer.C.

Referenced by DrawCentRes(), DrawCentSum(), and MakeMBStack().

THStack* SummarydNdetaDrawer::MakeMBStack ( const TCollection sums,
const TString base 
)
inlineprotected

Definition at line 596 of file SummarydNdetaDrawer.C.

Referenced by DrawRes().

void SummarydNdetaDrawer::Run ( const char *  fname = "forward_dndeta.root",
UShort_t  flags = kNormal 
)
inline

Definition at line 25 of file SummarydNdetaDrawer.C.

Referenced by DrawdNdetaSummary().


The documentation for this class was generated from the following file: