AliPhysics  6bc8652 (6bc8652)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SummaryMCCorrDrawer Class Reference
Inheritance diagram for SummaryMCCorrDrawer:

Public Types

enum  EFlags {
  kEventInspector = 0x001, kTrackDensity = 0x002, kVertexBins = 0x004, kResults = 0x008,
  kCentral = 0x010, kNormal = 0x01F
}
 
- 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

 SummaryMCCorrDrawer ()
 
virtual ~SummaryMCCorrDrawer ()
 
void Run (const char *fname, UShort_t what=kNormal)
 
- Public Member Functions inherited from SummaryDrawer
 SummaryDrawer ()
 
virtual ~SummaryDrawer ()
 

Protected Member Functions

void DrawTitlePage (TFile *file)
 
TCollectionGetVertexList (TCollection *parent, const TAxis &axis, Int_t bin)
 
void DrawVertexBins (Bool_t forward)
 
void DrawResults (Bool_t forward)
 
- 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")
 

Protected Attributes

TCollectionfSums
 
TCollectionfResults
 
- 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
 

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)
 

Detailed Description

Class to draw a summary of the AOD production

Input:
  • The merged forward.root file. If the file isn't merged, it should still work.
Output:
  • A PDF file named after the input, but with .root replaced with pdf

Definition at line 15 of file SummaryMCCorrDrawer.C.

Member Enumeration Documentation

Enumerator
kEventInspector 
kTrackDensity 
kVertexBins 
kResults 
kCentral 
kNormal 

Definition at line 18 of file SummaryMCCorrDrawer.C.

Constructor & Destructor Documentation

SummaryMCCorrDrawer::SummaryMCCorrDrawer ( )
inline

Definition at line 26 of file SummaryMCCorrDrawer.C.

virtual SummaryMCCorrDrawer::~SummaryMCCorrDrawer ( )
inlinevirtual

Definition at line 31 of file SummaryMCCorrDrawer.C.

Member Function Documentation

void SummaryMCCorrDrawer::DrawResults ( Bool_t  forward)
inlineprotected

Definition at line 196 of file SummaryMCCorrDrawer.C.

Referenced by Run().

void SummaryMCCorrDrawer::DrawTitlePage ( TFile *  file)
inlineprotected

Definition at line 106 of file SummaryMCCorrDrawer.C.

Referenced by Run().

void SummaryMCCorrDrawer::DrawVertexBins ( Bool_t  forward)
inlineprotected

Definition at line 157 of file SummaryMCCorrDrawer.C.

Referenced by Run().

TCollection* SummaryMCCorrDrawer::GetVertexList ( TCollection parent,
const TAxis axis,
Int_t  bin 
)
inlineprotected

Definition at line 141 of file SummaryMCCorrDrawer.C.

Referenced by DrawResults(), and DrawVertexBins().

void SummaryMCCorrDrawer::Run ( const char *  fname,
UShort_t  what = kNormal 
)
inline
Parameters
fname
what

Definition at line 40 of file SummaryMCCorrDrawer.C.

Referenced by DrawMCCorrSummary().

Member Data Documentation

TCollection* SummaryMCCorrDrawer::fResults
protected

Definition at line 338 of file SummaryMCCorrDrawer.C.

Referenced by DrawResults(), and Run().

TCollection* SummaryMCCorrDrawer::fSums
protected

Definition at line 337 of file SummaryMCCorrDrawer.C.

Referenced by DrawResults(), DrawVertexBins(), and Run().


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