#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 |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Referenced by SameWithStats().
|
protectedvirtual |
Referenced by SameWithStats().
|
virtual |
Referenced by Delete().
|
inline |
Definition at line 52 of file GFHistManager.h.
References Clear().
Referenced by Clear().
|
protected |
Referenced by SameWithStats().
|
protected |
Referenced by SameWithStats().
|
inline |
Definition at line 53 of file GFHistManager.h.
References Clear(), dataset::name, SetCanvasName(), SetLegendX1(), SetLegendX1Y1X2Y2(), SetLegendX2(), SetLegendY1(), SetLegendY2(), SetLogY(), SetNumHistsX(), SetNumHistsXY(), SetNumHistsY(), SetStatsX1Y1X2Y2(), globals_cff::x1, and globals_cff::x2.
|
virtual |
|
virtual |
|
inline |
|
protected |
Referenced by SameWithStats().
|
protectedvirtual |
Referenced by SameWithStats().
|
protectedvirtual |
Referenced by SameWithStats().
|
protectedvirtual |
Referenced by SameWithStats().
|
virtual |
Referenced by IsBatch().
|
virtual |
Referenced by GetCanvasHeight().
|
inlinevirtual |
Definition at line 103 of file GFHistManager.h.
References fCanvasHeight, GetCanvas(), GetNumHistsX(), GetNumHistsY(), GetPad(), MaxOfHist(), MaxOfHists(), MinOfHist(), and MinOfHists().
|
inlinevirtual |
|
virtual |
Referenced by IsBatch().
|
virtual |
Referenced by IsBatch().
|
virtual |
Referenced by GetNumLayers().
|
virtual |
Referenced by IsBatch().
|
virtual |
Referenced by GetCanvasHeight().
|
virtual |
Referenced by GetCanvasHeight().
|
inline |
|
virtual |
Referenced by IsBatch().
|
virtual |
Referenced by GetCanvasHeight().
|
protectedvirtual |
Referenced by SameWithStats().
|
inlinevirtual |
Definition at line 95 of file GFHistManager.h.
References ExpandTo(), fBatch, GetHistsOf(), GetLegendOf(), GetNumHistsOf(), and GetObjectsOf().
|
protectedvirtual |
Referenced by SameWithStats().
|
static |
|
protectedvirtual |
Referenced by SameWithStats().
|
protectedvirtual |
Referenced by SameWithStats().
|
virtual |
Referenced by GetCanvasHeight().
|
virtual |
Referenced by GetCanvasHeight().
|
virtual |
Referenced by GetCanvasHeight().
|
virtual |
Referenced by GetCanvasHeight().
|
static |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Definition at line 123 of file GFHistManager.h.
References CheckDepth(), CheckHistNum(), ColourFuncs(), ColourStatsBoxes(), DrawFuncs(), DrawLegend(), DrawObjects(), DrawReally(), fSameWithStats, Initialise(), MakeCanvases(), MakeLegends(), MakeObjList(), and AlcaSiPixelAliHarvester0T_cff::method.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 70 of file GFHistManager.h.
References fCanvasHeight, h, min(), TSGForRoadSearch_cfi::option, SetHistsMinMax(), and SetHistsOption().
void GFHistManager::SetCanvasName | ( | const TString & | name | ) |
Referenced by Delete().
|
inlinevirtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
Referenced by SetCanvasHeight().
|
virtual |
|
virtual |
Referenced by SetCanvasHeight().
|
virtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
inlinestatic |
Definition at line 75 of file GFHistManager.h.
References AddHistsOption(), create_public_lumi_plots::color, fgLegendEntryOption, FrontierConditions_GlobalTag_cff::file, TSGForRoadSearch_cfi::option, SetHistsFillColor(), SetHistsLineColor(), SetHistsLineStyle(), SetHistsLineWidth(), SetHistsXTitle(), SetHistsYTitle(), fftjetcommon_cfi::title, Update(), ApeEstimator_cff::width, WriteCanvases(), and WriteHistos().
|
virtual |
Referenced by Delete().
|
virtual |
Referenced by Delete().
|
virtual |
Referenced by Delete().
|
virtual |
Referenced by Delete().
|
virtual |
Referenced by Delete().
|
virtual |
Referenced by Delete().
|
virtual |
|
virtual |
Referenced by Delete().
|
virtual |
|
virtual |
Referenced by Delete().
|
virtual |
|
virtual |
Referenced by Delete().
|
virtual |
|
virtual |
Referenced by Delete().
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
|
virtual |
Referenced by SetLegendEntryOption().
|
virtual |
Referenced by SetLegendEntryOption().
|
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.