19#include "BinSpecification.hh"
20#include "RBDSException.hh"
42 {
throw RBDSException(
"high end of binning <= low end -> must be >");}
51 edges(new std::vector<double>(edgesIn))
53 if (edges->size() < 2)
54 {
throw RBDSException(
"too few bin edges -> must be at least 2 edges to define 1 bin");}
55 n = (int)edges->size() - 1;
66 edges = other.edges ?
new std::vector<double>(*other.edges) : nullptr;
78 other.edges =
nullptr;
81BinSpecification::~BinSpecification()
Binning specification for a single dimension.
BinSpecification()
Default constructor.
General exception with possible name of object and message.