MINT2
|
#include <HyperBinningPainter2D.h>
Public Member Functions | |
HyperBinningPainter2D (BinningBase *binning, HyperPointSet *hyperPoints=0) | |
HyperBinningPainter2D (HyperHistogram *histogram) | |
virtual void | draw (TString path="", TString option="") |
~HyperBinningPainter2D () | |
Public Member Functions inherited from HyperBinningPainter | |
HyperBinningPainter (HyperHistogram *histogram) | |
void | useDensity (bool val) |
virtual | ~HyperBinningPainter () |
Private Member Functions | |
const BinningBase & | getBinning () |
int | getFillColour (double binContents) |
void | addHyperPoints (TH2D *histogram) |
void | drawFilledBins (RootPlotter2D *plotter, bool hashNeg=false) |
void | drawFilledBin (RootPlotter2D *plotter, int bin, bool hashNeg=false) |
void | drawFilledBin (RootPlotter2D *plotter, HyperCuboid *bin, double binContents) |
void | drawFilledBin (RootPlotter2D *plotter, HyperCuboid *bin, int fillColor, int fillStyle) |
void | drawBinEdges (RootPlotter2D *plotter) |
void | drawBinEdge (RootPlotter2D *plotter, int bin) |
void | drawBinEdge (RootPlotter2D *plotter, HyperCuboid *bin) |
void | drawBinEdges2 (RootPlotter2D *plotter) |
void | drawBinEdge2 (RootPlotter2D *plotter, int bin, double minWidX, double minWidY) |
void | drawBinEdge2 (RootPlotter2D *plotter, HyperCuboid *bin, double minWidX, double minWidY) |
void | drawBinEdge2 (RootPlotter2D *plotter, HyperCuboid *bin, int edge, double minWidX, double minWidY) |
void | drawBinNumbers (RootPlotter2D *plotter) |
void | drawBinNumbers (RootPlotter2D *plotter, int bin) |
void | drawBinCont (RootPlotter2D *plotter) |
void | drawBinCont (RootPlotter2D *plotter, int bin) |
Private Attributes | |
BinningBase * | _binning |
HyperPointSet * | _hyperPoints |
Additional Inherited Members | |
Protected Attributes inherited from HyperBinningPainter | |
HyperHistogram * | _histogram |
bool | _density |
HyperPlot, Author: Sam Harnew, sam.h , Date: Dec 2015 arne w@gma il.c om
Class plotting 2D HyperBinningHistograms
Definition at line 29 of file HyperBinningPainter2D.h.
HyperBinningPainter2D::HyperBinningPainter2D | ( | BinningBase * | binning, |
HyperPointSet * | hyperPoints = 0 |
||
) |
Construct a 2D HyperBinningPainter for a given HyperVolumeBinning and HyperPointSet. This option will draw the HyperPointSet as dots over the binning scheme
Definition at line 6 of file HyperBinningPainter2D.cpp.
HyperBinningPainter2D::HyperBinningPainter2D | ( | HyperHistogram * | histogram | ) |
Construct a 2D HyperBinningPainter for a given HyperBinningHistogram
Definition at line 23 of file HyperBinningPainter2D.cpp.
HyperBinningPainter2D::~HyperBinningPainter2D | ( | ) |
|
private |
If HyperPoints provided, add to TH2D
Definition at line 363 of file HyperBinningPainter2D.cpp.
|
virtual |
Draw the HyperBinningHistogram
Reimplemented from HyperBinningPainter.
Definition at line 370 of file HyperBinningPainter2D.cpp.
|
private |
Draw bin contents on the all the bins
Definition at line 296 of file HyperBinningPainter2D.cpp.
|
private |
Draw bin content on a single bin
Definition at line 302 of file HyperBinningPainter2D.cpp.
|
private |
add the bin edges to the Plotter (for one HyperVolume)
Definition at line 48 of file HyperBinningPainter2D.cpp.
|
private |
add the bin edges to the Plotter (for one HyperCuboid)
Definition at line 57 of file HyperBinningPainter2D.cpp.
|
private |
draw edges between bins with different contents
Definition at line 106 of file HyperBinningPainter2D.cpp.
|
private |
draw edges between bins with different contents
Definition at line 115 of file HyperBinningPainter2D.cpp.
|
private |
draw edges between bins with different contents
Definition at line 125 of file HyperBinningPainter2D.cpp.
|
private |
add the bin edges to the Plotter (for all HyperVolumes)
Definition at line 43 of file HyperBinningPainter2D.cpp.
|
private |
draw edges between bins with different contents
Definition at line 89 of file HyperBinningPainter2D.cpp.
|
private |
Draw bin numbers on the all the bins
Definition at line 282 of file HyperBinningPainter2D.cpp.
|
private |
Draw bin number on a single bin
Definition at line 288 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 317 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 340 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 350 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 312 of file HyperBinningPainter2D.cpp.
|
private |
get the binning (works for either constructor)
Definition at line 35 of file HyperBinningPainter2D.cpp.
|
private |
Code stolen from the THistPainter - choose the colour to make the bin based on the colour scale of the TH2D
Definition at line 259 of file HyperBinningPainter2D.cpp.
|
private |
This gets filled in an alternate constructor (usually the HyperBinningHistogram get taken from the inhereted HyperBinningPainter class). This allows a HyperPointSet to be plotted on top of the HyperVolumeBinning
Definition at line 33 of file HyperBinningPainter2D.h.
|
private |
This gets filled in an alternate constructor (usually the HyperBinningHistogram get taken from the inhereted HyperBinningPainter class). This allows a HyperPointSet to be plotted on top of the HyperVolumeBinning
Definition at line 37 of file HyperBinningPainter2D.h.