| 
FreeHEP API Version 3.2.1  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An IAxis represents a binned histogram axis. A 1D Histogram would have one Axis representing the X axis, while a 2D Histogram would have two axes representing the X and Y Axis.
| Field Summary | |
static int | 
OVERFLOW_BIN
Constants specifying the underflow and the overflow bin.  | 
static int | 
UNDERFLOW_BIN
Constants specifying the underflow and the overflow bin.  | 
| Method Summary | |
 double | 
binLowerEdge(int index)
Get the lower edge of the specified bin.  | 
 int | 
bins()
The number of bins (excluding underflow and overflow) on the IAxis.  | 
 double | 
binUpperEdge(int index)
Get the upper edge of the specified bin.  | 
 double | 
binWidth(int index)
Get the width of the specified bin.  | 
 int | 
coordToIndex(double coord)
Convert a coordinate on the axis to a bin number.  | 
 boolean | 
isFixedBinning()
Check if the IAxis has fixed binning, i.e.  | 
 double | 
lowerEdge()
Get the lower edge of the IAxis.  | 
 double | 
upperEdge()
Get the upper edge of the IAxis.  | 
| Field Detail | 
public static final int UNDERFLOW_BIN
public static final int OVERFLOW_BIN
| Method Detail | 
public boolean isFixedBinning()
true if the binning is fixed, false otherwise.public double lowerEdge()
public double upperEdge()
public int bins()
public double binLowerEdge(int index)
index - The bin number: 0 to bins()-1 for the in-range bins or OVERFLOW or UNDERFLOW.
public double binUpperEdge(int index)
index - The bin number: 0 to bins()-1 for the in-range bins or OVERFLOW or UNDERFLOW.
public double binWidth(int index)
index - The bin number: 0 to bins()-1) for the in-range bins or OVERFLOW or UNDERFLOW.
public int coordToIndex(double coord)
coord - The coordinate to be converted.
  | 
FreeHEP API Version 3.2.1  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||