| 
    MINT2
    
   | 
 
#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 | 
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.
| HyperFunction::HyperFunction | ( | ) | 
| HyperFunction::HyperFunction | ( | const HyperCuboid & | limits | ) | 
      
  | 
  inlinevirtual | 
Destructor
Definition at line 58 of file HyperFunction.h.
| void HyperFunction::draw2DFuncSlice | ( | TString | path, | 
| int | sliceDimX, | ||
| int | sliceDimY, | ||
| const HyperPoint & | slicePoint, | ||
| int | nbins = 100  | 
        ||
| ) | const | 
Definition at line 90 of file HyperFunction.cpp.
| void HyperFunction::draw2DFuncSliceSet | ( | TString | path, | 
| int | sliceDimX, | ||
| int | sliceDimY, | ||
| int | sliceSetDim, | ||
| int | nSlices, | ||
| const HyperPoint & | slicePoint, | ||
| int | nbins = 100  | 
        ||
| ) | const | 
Definition at line 98 of file HyperFunction.cpp.
| void HyperFunction::draw2DFuncSliceSet | ( | TString | path, | 
| int | sliceDimX, | ||
| int | sliceDimY, | ||
| int | nSlices, | ||
| const HyperPoint & | slicePoint, | ||
| int | nbins = 100  | 
        ||
| ) | const | 
Definition at line 130 of file HyperFunction.cpp.
| void HyperFunction::draw2DFuncSliceSet | ( | TString | path, | 
| int | nSlices, | ||
| const HyperPoint & | slicePoint, | ||
| int | nbins = 100  | 
        ||
| ) | const | 
Definition at line 150 of file HyperFunction.cpp.
| void HyperFunction::fillCorrelations | ( | TH2D & | hist, | 
| const HyperFunction & | other, | ||
| const HyperPointSet & | points | ||
| ) | 
Definition at line 181 of file HyperFunction.cpp.
| 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.
      
  | 
  inline | 
Definition at line 44 of file HyperFunction.h.
      
  | 
  pure virtual | 
Virtual function that defines a HyperFunction (Map from HyperPoint -> double)
Implemented in HyperHistogram.
| TH2D HyperFunction::make2DFuncSlice | ( | TString | name, | 
| int | sliceDimX, | ||
| int | sliceDimY, | ||
| const HyperPoint & | slicePoint, | ||
| int | nbins = 100  | 
        ||
| ) | const | 
Definition at line 54 of file HyperFunction.cpp.
| 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.
| void HyperFunction::setFuncLimits | ( | const HyperCuboid & | limits | ) | 
Definition at line 49 of file HyperFunction.cpp.
      
  | 
  private | 
Definition at line 31 of file HyperFunction.h.
 1.8.15