|
HyperPlot
v1
Bin and visualise multidimensional datasets
|
HyperPlot, Author: Sam Harnew, sam.harnew@gmail.com , Date: Dec 2015
Class plotting 2D HyperBinningHistograms
Definition at line 29 of file HyperBinningPainter2D.h.
#include <HyperBinningPainter2D.h>
Public Member Functions | |
| HyperBinningPainter2D (BinningBase *binning, HyperPointSet *hyperPoints=0) | |
| HyperBinningPainter2D (HyperHistogram *histogram) | |
| virtual void | draw (TString path="") |
| ~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) |
| void | drawFilledBin (RootPlotter2D *plotter, int bin) |
| void | drawFilledBin (RootPlotter2D *plotter, HyperCuboid *bin, double binContents) |
| void | drawBinEdges (RootPlotter2D *plotter) |
| void | drawBinEdge (RootPlotter2D *plotter, int bin) |
| void | drawBinEdge (RootPlotter2D *plotter, HyperCuboid *bin) |
| void | drawBinNumbers (RootPlotter2D *plotter) |
| void | drawBinNumbers (RootPlotter2D *plotter, int bin) |
Private Attributes | |
| BinningBase * | _binning |
| HyperPointSet * | _hyperPoints |
Additional Inherited Members | |
Protected Attributes inherited from HyperBinningPainter | |
| HyperHistogram * | _histogram |
| bool | _density |
| 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 | ( | ) |
Constructor
Definition at line 214 of file HyperBinningPainter2D.cpp.
|
private |
If HyperPoints provided, add to TH2D
Definition at line 155 of file HyperBinningPainter2D.cpp.
|
virtual |
Draw the HyperBinningHistogram
Reimplemented from HyperBinningPainter.
Definition at line 162 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 |
add the bin edges to the Plotter (for all HyperVolumes)
Definition at line 43 of file HyperBinningPainter2D.cpp.
|
private |
Draw bin numbers on the all the bins
Definition at line 112 of file HyperBinningPainter2D.cpp.
|
private |
Draw bin number on a single bin
Definition at line 117 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 130 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 143 of file HyperBinningPainter2D.cpp.
|
private |
add filled bins to the Plotter (for all HyperVolumes)
Definition at line 125 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 89 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.
1.8.10