npstat::HistoAxis Class Reference
Detailed DescriptionClass which contain the information needed to define a histogram axis. All bins will have the same width. See NUHistoAxis and DualHistoAxis classes for non-uniform binning. Constructor & Destructor Documentation◆ HistoAxis()
Minimum and maximum will be internally swapped if the minimum parameter is larger than the maximum Member Function Documentation◆ binCenter()
Return the coordinate of the given bin center ◆ binInterval()
Return the coordinate interval occupied by the given bin ◆ binNumber()
This method returns arbitrary integer bin number, including negative numbers and numbers which can exceed nBins()-1 ◆ binNumberMapper()
Return the mapper which calculates floating point bin number given the coordinate. The resulting bin number can go above and below the axis range. If "mapLeftEdgeTo0" is specified as "false", it is the center of the first bin which gets mapped to 0. ◆ classId()
Method related to "geners" I/O ◆ closestValidBin()
This method returns the closest valid bin number (>= 0 and below nBins() ) ◆ fltBinNumber()
Floating point bin number given the coordinate (no bin number truncation of any kind is performed). Works in exactly the same way as the mapper returned by the previous method. ◆ isClose()
Comparison of axis coordinates within given tolerance ◆ kernelScanMapper()
The following function returns a mapper that can be helpful in scanning a kernel (a density function) for subsequent convolution with the histogram which contains this axis. ◆ leftBinEdge()
Return the coordinate of the given bin left edge ◆ min()
Examine axis properties ◆ rebin()
Return rebinned axis ◆ rightBinEdge()
Return the coordinate of the given bin right edge ◆ setLabel()
Change the axis label The documentation for this class was generated from the following file:
Generated by 1.9.1 |