#include <BinningBase.h>
HyperPlot, Author: Sam Harnew, sam.h.nosp@m.arne.nosp@m.w@gma.nosp@m.il.c.nosp@m.om , Date: Dec 2015
The base class for any Binning object
Definition at line 27 of file BinningBase.h.
◆ BinningBase()
BinningBase::BinningBase |
( |
| ) |
|
◆ ~BinningBase()
BinningBase::~BinningBase |
( |
| ) |
|
|
virtual |
◆ clone()
◆ filename()
TString BinningBase::filename |
( |
| ) |
const |
|
virtual |
◆ getAverageBinWidth()
virtual HyperPoint BinningBase::getAverageBinWidth |
( |
| ) |
const |
|
pure virtual |
◆ getBinHyperVolume()
virtual HyperVolume BinningBase::getBinHyperVolume |
( |
int |
binNumber | ) |
const |
|
pure virtual |
◆ getBinningType()
TString BinningBase::getBinningType |
( |
| ) |
const |
◆ getBinNum() [1/2]
virtual int BinningBase::getBinNum |
( |
const HyperPoint & |
coords | ) |
const |
|
pure virtual |
◆ getBinNum() [2/2]
std::vector< int > BinningBase::getBinNum |
( |
const HyperPointSet & |
coords | ) |
const |
|
virtual |
Reimplemented in HyperBinning.
Definition at line 65 of file BinningBase.cpp.
66 std::vector<int> binNums;
67 binNums.reserve(coords.
size());
69 for (
unsigned i = 0; i < coords.
size(); i++){
const HyperPoint & at(int i) const
virtual int getBinNum(const HyperPoint &coords) const =0
unsigned int size() const
◆ getDimension()
const int & BinningBase::getDimension |
( |
| ) |
const |
◆ getLimits()
◆ getMax()
double BinningBase::getMax |
( |
int |
dimension | ) |
const |
Definition at line 46 of file BinningBase.cpp.
const HyperPoint & getHighCorner() const
const double & at(int i) const
virtual HyperCuboid getLimits() const =0
◆ getMin()
double BinningBase::getMin |
( |
int |
dimension | ) |
const |
Definition at line 42 of file BinningBase.cpp.
const double & at(int i) const
const HyperPoint & getLowCorner() const
virtual HyperCuboid getLimits() const =0
◆ getNames()
◆ getNumBins()
virtual int BinningBase::getNumBins |
( |
| ) |
const |
|
pure virtual |
◆ isDiskResident()
bool BinningBase::isDiskResident |
( |
| ) |
const |
|
virtual |
◆ isSameBinningType()
bool BinningBase::isSameBinningType |
( |
const BinningBase & |
other | ) |
const |
◆ load()
virtual void BinningBase::load |
( |
TString |
filename, |
|
|
TString |
option = "READ" |
|
) |
| |
|
pure virtual |
◆ mergeBinnings()
virtual void BinningBase::mergeBinnings |
( |
const BinningBase & |
other | ) |
|
|
pure virtual |
◆ reserveCapacity()
void BinningBase::reserveCapacity |
( |
int |
nElements | ) |
|
|
virtual |
◆ save() [1/2]
virtual void BinningBase::save |
( |
TString |
filename | ) |
const |
|
pure virtual |
◆ save() [2/2]
virtual void BinningBase::save |
( |
| ) |
const |
|
pure virtual |
◆ setBinningType()
void BinningBase::setBinningType |
( |
TString |
binningType | ) |
|
|
protected |
◆ setDimension()
void BinningBase::setDimension |
( |
int |
dimension | ) |
|
|
protectedvirtual |
◆ setNames()
void BinningBase::setNames |
( |
HyperName |
names | ) |
|
◆ _axisNames
Possible to assign names to each dimension, which will be used for plotting etc
Definition at line 36 of file BinningBase.h.
◆ _binningType
TString BinningBase::_binningType |
|
private |
Useful to know what kind of binning this actually is (will be set by derrived type)
Definition at line 41 of file BinningBase.h.
◆ _dimension
int BinningBase::_dimension |
|
private |
The documentation for this class was generated from the following files: