|
HyperPlot
v1
Bin and visualise multidimensional datasets
|
HyperPlot, Author: Sam Harnew, sam.harnew@gmail.com , Date: Dec 2015
HyperFunction takes a HyperPoint and returns a double. This can be used to reweight HyperPointSets etc.
Definition at line 27 of file HyperFunction.h.
#include <HyperFunction.h>
Public Member Functions | |
| HyperFunction () | |
| HyperFunction (const HyperCuboid &limits) | |
| virtual double | getVal (const HyperPoint &point) const =0 |
| void | reweightDataset (HyperPointSet &points) |
| void | setFuncLimits (const HyperCuboid &limits) |
| const HyperCuboid & | getFuncLimits () const |
| TH2D | make2DFuncSlice (TString name, int sliceDimX, int sliceDimY, const HyperPoint &slicePoint, int nbins=100) const |
| void | draw2DFuncSlice (TString path, int sliceDimX, int sliceDimY, const HyperPoint &slicePoint, int nbins=100) const |
| void | draw2DFuncSliceSet (TString path, int sliceDimX, int sliceDimY, int sliceSetDim, int nSlices, const HyperPoint &slicePoint, int nbins=100) const |
| void | draw2DFuncSliceSet (TString path, int sliceDimX, int sliceDimY, int nSlices, const HyperPoint &slicePoint, int nbins=100) const |
| void | draw2DFuncSliceSet (TString path, int nSlices, const HyperPoint &slicePoint, int nbins=100) const |
| double | getDifference (const HyperFunction &other, const HyperPoint &point) |
| void | fillCorrelations (TH2D &hist, const HyperFunction &other, const HyperPointSet &points) |
| virtual | ~HyperFunction () |
Private Attributes | |
| HyperCuboid | _limits |
| HyperFunction::HyperFunction | ( | ) |
Constructor
Definition at line 4 of file HyperFunction.cpp.
| HyperFunction::HyperFunction | ( | const HyperCuboid & | limits | ) |
Constructor
Definition at line 13 of file HyperFunction.cpp.
|
inlinevirtual |
Destructor
Definition at line 58 of file HyperFunction.h.
| double HyperFunction::getDifference | ( | const HyperFunction & | other, |
| const HyperPoint & | point | ||
| ) |
Get the difference between this HyperFunction and another HyperFunction at a point in n-dim space. (diff = this - other)
Definition at line 174 of file HyperFunction.cpp.
|
pure virtual |
Virtual function that defines a HyperFunction (Map from HyperPoint -> double)
Implemented in HyperHistogram.
| void HyperFunction::reweightDataset | ( | HyperPointSet & | points | ) |
Reweight a HyperPointSet by the HyperFunction. If weights already exist, the existing weights are mulitplied by the HyperFunction evaluation. If not, a the HyperFunction evaluation is added as the zeroth weight.
Definition at line 24 of file HyperFunction.cpp.
1.8.10