#include <GFHistManager.h>
Public Member Functions | |
virtual TLegendEntry * | AddHist (TH1 *hist, Int_t layer=0, const char *legendTitle=NULL, const char *legOpt=NULL) |
virtual void | AddHists (TCollection *hists, Int_t layer=0, const char *legendTitle=NULL, const char *legOpt=NULL) |
virtual TLegendEntry * | AddHistSame (TH1 *hist, Int_t layer, Int_t nPad, const char *legendTitle=NULL, const char *legOpt=NULL) |
virtual void | AddHistsOption (Option_t *option) |
virtual void | AddHistsOption (Option_t *option, Int_t layer) |
virtual void | AddHistsSame (GFHistArray *hists, Int_t layer, const char *legendTitle=NULL, const char *legOpt=NULL) |
virtual void | AddHistsSame (GFHistArray *hists, Int_t layer, Int_t nPad) |
virtual void | AddLayer (GFHistManager *other, Int_t layer) |
virtual void | AddLayers (GFHistManager *other) |
virtual TLegend * | AddLegend (Int_t layer, Int_t nPad, const char *header=NULL, Bool_t referAll=kTRUE) |
virtual void | AddLegend (TLegend *leg, Int_t layer, Int_t nPad) |
virtual void | AddObject (TObject *obj, Int_t layer, Int_t histoNum, Option_t *opt=NULL) |
virtual void | Clear (Bool_t deleteHists) |
void | Clear (Option_t *="") |
void | Delete (Option_t *="") |
virtual void | Draw (Option_t *opt="") |
virtual void | Draw (Int_t layer) |
Bool_t | DrawDiffStyle (Bool_t yesNo) |
virtual void | ExpandTo (Int_t newDepth) |
virtual TCanvas * | GetCanvas (Int_t layer, Int_t number=0) |
virtual Int_t | GetCanvasHeight () const |
virtual Int_t | GetCanvasWidth () const |
virtual GFHistArray * | GetHistsOf (Int_t layer, Int_t histNum, Bool_t mayExpand=kFALSE) |
virtual TLegend * | GetLegendOf (Int_t layer, Int_t nPad) |
virtual void | GetLegendX1Y1X2Y2 (Double_t &x1, Double_t &y1, Double_t &x2, Double_t &y2) const |
virtual Int_t | GetNumHistsOf (Int_t layer) |
virtual Int_t | GetNumHistsX (Int_t layer) const |
virtual Int_t | GetNumHistsY (Int_t layer) const |
Int_t | GetNumLayers () const |
virtual TList * | GetObjectsOf (Int_t layer, Int_t histNum) |
virtual TVirtualPad * | GetPad (Int_t layer, Int_t histNum) |
GFHistManager () | |
GFHistManager (TH1 *hist) | |
GFHistManager (TCollection *hists) | |
virtual Bool_t | IsBatch () const |
virtual Double_t | MaxOfHist (const TH1 *h) const |
virtual Double_t | MaxOfHists (const TObjArray *hists) const |
virtual Double_t | MinOfHist (const TH1 *h) const |
virtual Double_t | MinOfHists (const TObjArray *hists) const |
virtual void | Overlay (GFHistManager *other, Int_t otherLayer, Int_t myLayer, const char *legendTitle) |
virtual void | Print (const char *filename, Bool_t add=kFALSE) |
virtual Bool_t | RemoveLegend (Int_t layer, Int_t nPad) |
Bool_t | SameWithStats (Bool_t yesNo) |
virtual Bool_t | SetBatch (Bool_t set=kTRUE) |
virtual void | SetCanvasHeight (Int_t h) |
void | SetCanvasName (const TString &name) |
virtual void | SetCanvasWidth (Int_t w) |
virtual void | SetHistsFillColor (Color_t color) |
virtual void | SetHistsFillColor (Color_t color, Int_t layer) |
virtual void | SetHistsLineColor (Color_t color) |
virtual void | SetHistsLineColor (Color_t color, Int_t layer) |
virtual void | SetHistsLineStyle (Int_t style) |
virtual void | SetHistsLineStyle (Int_t style, Int_t layer, Int_t numHistInPad=-1) |
virtual void | SetHistsLineWidth (Width_t width) |
virtual void | SetHistsLineWidth (Width_t width, Int_t layer) |
virtual void | SetHistsMinMax (Double_t minMax, Bool_t min) |
virtual void | SetHistsMinMax (Double_t minMax, Bool_t min, Int_t layer) |
virtual void | SetHistsOption (Option_t *option) |
virtual void | SetHistsOption (Option_t *option, Int_t layer) |
virtual void | SetHistsXTitle (const char *title) |
virtual void | SetHistsXTitle (const char *title, Int_t layer) |
virtual void | SetHistsYTitle (const char *title) |
virtual void | SetHistsYTitle (const char *title, Int_t layer) |
virtual void | SetLegendX1 (Double_t x1) |
virtual void | SetLegendX1Y1X2Y2 (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
virtual void | SetLegendX2 (Double_t x2) |
virtual void | SetLegendY1 (Double_t y1) |
virtual void | SetLegendY2 (Double_t y2) |
virtual void | SetLogY (Bool_t yesNo=kTRUE) |
virtual void | SetLogY (Int_t layer, Bool_t yesNo=kTRUE) |
virtual void | SetNumHistsX (UInt_t numX) |
virtual void | SetNumHistsX (UInt_t numX, Int_t layer) |
virtual void | SetNumHistsXY (UInt_t numX, UInt_t numY) |
virtual void | SetNumHistsXY (UInt_t numX, UInt_t numY, Int_t layer) |
virtual void | SetNumHistsY (UInt_t numY) |
virtual void | SetNumHistsY (UInt_t numY, Int_t layer) |
virtual void | SetStatsX1Y1X2Y2 (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
virtual void | Update () |
virtual void | Update (Int_t layer) |
virtual void | WriteCanvases (TFile *file) |
virtual void | WriteHistos (TFile *file) |
virtual | ~GFHistManager () |
Static Public Member Functions | |
static void | MakeDifferentStyle (GFHistArray *hists) |
static Int_t | NumberOfSubPadsOf (TCanvas *can) |
static void | SetLegendEntryOption (const char *option) |
Static Public Attributes | |
static const Int_t | kDefaultDepth |
static const Int_t | kDefaultPadsPerCanX |
static const Int_t | kDefaultPadsPerCanY |
Protected Member Functions | |
virtual Bool_t | CheckDepth (const char *method, Int_t layer, Bool_t mayExpand=kTRUE) |
virtual Bool_t | CheckHistNum (const char *method, Int_t layer, Int_t histNum, Bool_t mayExpand=kFALSE) |
void | ColourFuncs (GFHistArray *hists) const |
void | ColourStatsBoxes (GFHistArray *hists) const |
void | DrawFuncs (const TH1 *hist) const |
virtual void | DrawLegend (Int_t layer, Int_t histNo) |
virtual void | DrawObjects (Int_t layer, Int_t histNo) |
virtual void | DrawReally (Int_t layer) |
virtual void | Initialise () |
virtual void | MakeCanvases (Int_t layer) |
virtual TObjArray * | MakeLegends (Int_t layer) |
virtual TList * | MakeObjList (Int_t layer, Int_t histoNum) |
Private Attributes | |
Bool_t | fBatch |
TObjArray * | fCanArrays |
Int_t | fCanvasHeight |
TString | fCanvasName |
Int_t | fCanvasWidth |
Int_t | fDepth |
Bool_t | fDrawDiffStyle |
TObjArray * | fHistArrays |
TObjArray * | fLegendArrays |
Double_t | fLegendX1 |
Double_t | fLegendX2 |
Double_t | fLegendY1 |
Double_t | fLegendY2 |
TArrayC | fLogY |
TArrayI | fNoX |
TArrayI | fNoY |
TObjArray * | fObjLists |
Bool_t | fSameWithStats |
Double_t | fStatsX1 |
Double_t | fStatsX2 |
Double_t | fStatsY1 |
Double_t | fStatsY2 |
Static Private Attributes | |
static TString | fgLegendEntryOption |
Definition at line 20 of file GFHistManager.h.
GFHistManager::GFHistManager | ( | ) |
|
explicit |
|
explicit |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Referenced by Delete().
|
inline |
Definition at line 52 of file GFHistManager.h.
References Clear().
Referenced by Clear().
|
protected |
|
protected |
|
inline |
Definition at line 53 of file GFHistManager.h.
References Clear().
|
virtual |
|
virtual |
|
inline |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
virtual |
|
virtual |
|
protectedvirtual |
|
inlinevirtual |
|
protectedvirtual |
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Definition at line 70 of file GFHistManager.h.
References fCanvasHeight, and h.
void GFHistManager::SetCanvasName | ( | const TString & | name | ) |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinestatic |
Definition at line 75 of file GFHistManager.h.
References fgLegendEntryOption, and fileinputsource_cfi::option.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
private |
Definition at line 162 of file GFHistManager.h.
Referenced by IsBatch(), and SetBatch().
|
private |
Definition at line 161 of file GFHistManager.h.
|
private |
Definition at line 156 of file GFHistManager.h.
Referenced by GetCanvasHeight(), and SetCanvasHeight().
|
private |
Definition at line 154 of file GFHistManager.h.
|
private |
Definition at line 155 of file GFHistManager.h.
Referenced by GetCanvasWidth(), and SetCanvasWidth().
|
private |
Definition at line 142 of file GFHistManager.h.
Referenced by GetNumLayers().
|
private |
Definition at line 163 of file GFHistManager.h.
Referenced by DrawDiffStyle().
|
staticprivate |
Definition at line 157 of file GFHistManager.h.
Referenced by SetLegendEntryOption().
|
private |
Definition at line 158 of file GFHistManager.h.
|
private |
Definition at line 159 of file GFHistManager.h.
|
private |
Definition at line 146 of file GFHistManager.h.
|
private |
Definition at line 148 of file GFHistManager.h.
|
private |
Definition at line 147 of file GFHistManager.h.
|
private |
Definition at line 149 of file GFHistManager.h.
|
private |
Definition at line 145 of file GFHistManager.h.
|
private |
Definition at line 143 of file GFHistManager.h.
|
private |
Definition at line 144 of file GFHistManager.h.
|
private |
Definition at line 160 of file GFHistManager.h.
|
private |
Definition at line 164 of file GFHistManager.h.
Referenced by SameWithStats().
|
private |
Definition at line 150 of file GFHistManager.h.
|
private |
Definition at line 151 of file GFHistManager.h.
|
private |
Definition at line 152 of file GFHistManager.h.
|
private |
Definition at line 153 of file GFHistManager.h.
|
static |
Definition at line 117 of file GFHistManager.h.
|
static |
Definition at line 115 of file GFHistManager.h.
|
static |
Definition at line 116 of file GFHistManager.h.