class describing the range in the coordinates it supports multiple range in a coordinate. The rnage dimension is the dimension of the coordinate, its size is the number of interval for each coordinate. Default range is -inf, inf Range can be modified with the add range method @ingroup FitData
~DataRange() | |
void | AddRange(double xmin, double xmax, unsigned int icoord = 0) |
void | Clear(unsigned int icoord = 0) |
ROOT::Fit::DataRange | DataRange(unsigned int dim = 1) |
ROOT::Fit::DataRange | DataRange(const ROOT::Fit::DataRange&) |
ROOT::Fit::DataRange | DataRange(double xmin, double xmax) |
ROOT::Fit::DataRange | DataRange(double xmin, double xmax, double ymin, double ymax) |
ROOT::Fit::DataRange | DataRange(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) |
void | GetRange(unsigned int icoord, double& xmin, double& xmax) const |
bool | IsInside(double x, unsigned int icoord = 0) const |
unsigned int | NDim() const |
pair<double,double> | operator()(unsigned int icoord) const |
ROOT::Fit::DataRange& | operator=(const ROOT::Fit::DataRange&) |
const ROOT::Fit::DataRange::RangeSet& | Ranges(unsigned int icoord) const |
unsigned int | Size(unsigned int icoord) const |
void | CleanRangeSet(unsigned int icoord, double xmin, double xmax) |
construct a range for [xmin, xmax] , [ymin, ymax]
get range dimension
return range size for coordinate icoord (starts from zero) Size == 0 indicates no range is present [-inf, + inf]
return the vector of ranges for the coordinate icoord
return the first range for the coordinate icoord. Useful method when only one range is present for the given coordinate
get the first range for given coordinate
add a range [xmin,xmax] for the new coordinate icoord
check if a point is inside the range for the given coordinate
internal function to remove all the existing ranges between xmin and xmax called when a new range is inserted