#include <GaudiKernel/IAxis.h>
Public Methods | |
| virtual const std::vector< double>& | edges () const = 0 |
| ========================================================================== Axis edges ========================================================================== All axis edges at once (in "n" is number of bins, there are "n+1" edges). | |
| virtual double | lowerEdge () const = 0 |
| Lower axis edge. | |
| virtual double | upperEdge () const = 0 |
| Upper axis edge. | |
| virtual int | bins () const = 0 |
| ========================================================================== Bins ========================================================================== -------------------------------------------------------------------------- Number of bins Number of in-range bins in the axis. | |
| virtual double | binLowerEdge ( int index ) const = 0 |
| -------------------------------------------------------------------------- Bin edges Lower edge of the in-range bin identified by index. | |
| virtual double | binUpperEdge ( int index ) const = 0 |
| Upper edge of the in-range bin identified by index. | |
| virtual double | binWidth ( int index ) const = 0 |
| -------------------------------------------------------------------------- Bin widths Width of the in-range bin identified by index. | |
| virtual double | binCentre ( int index ) const = 0 |
| -------------------------------------------------------------------------- Bin centre Centre of the bin located by index. | |
| virtual int | coordToIndex ( double coord ) const = 0 |
| ========================================================================== Conversions between coordinates and bin indices ========================================================================== Equivalent to coordToIndex( coord ); for 1D histogram or coordToIndexX( coordX ); or coordToIndexY( coordY ); for 2D histogram. | |
A 1D histogram has one axis representing the X axis, a 2D histogram has two axes representing the X and Y Axis.
Definition at line 22 of file IAxis.h.
|
|
-------------------------------------------------------------------------- Bin centre Centre of the bin located by index.
|
|
|
-------------------------------------------------------------------------- Bin edges Lower edge of the in-range bin identified by index.
|
|
|
Upper edge of the in-range bin identified by index.
|
|
|
-------------------------------------------------------------------------- Bin widths Width of the in-range bin identified by index.
|
|
|
========================================================================== Bins ========================================================================== -------------------------------------------------------------------------- Number of bins Number of in-range bins in the axis.
|
|
|
========================================================================== Conversions between coordinates and bin indices ========================================================================== Equivalent to coordToIndex( coord ); for 1D histogram or coordToIndexX( coordX ); or coordToIndexY( coordY ); for 2D histogram.
|
|
|
========================================================================== Axis edges ========================================================================== All axis edges at once (in "n" is number of bins, there are "n+1" edges).
|
|
|
Lower axis edge.
|
|
|
Upper axis edge.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000