|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.tfloat.ref.FloatFixedAxis
public class FloatFixedAxis
Fixed-width axis; A reference implementation of hep.aida.IAxis.
Constructor Summary | |
---|---|
FloatFixedAxis(int bins,
float min,
float max)
Create an Axis |
Method Summary | |
---|---|
float |
binCentre(int index)
Centre of the bin specified. |
float |
binLowerEdge(int index)
Lower edge of the specified bin. |
int |
bins()
The number of bins (excluding underflow and overflow) on the axis. |
float |
binUpperEdge(int index)
Upper edge of the specified bin. |
float |
binWidth(int index)
Width of the bin specified. |
int |
coordToIndex(float coord)
Converts a coordinate on the axis to a bin number. |
float |
lowerEdge()
Lower axis edge. |
float |
upperEdge()
Upper axis edge. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatFixedAxis(int bins, float min, float max)
bins
- Number of binsmin
- Minimum for axismax
- Maximum for axisMethod Detail |
---|
public float binCentre(int index)
FloatIAxis
binCentre
in interface FloatIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.public float binLowerEdge(int index)
FloatIAxis
binLowerEdge
in interface FloatIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.
public int bins()
FloatIAxis
bins
in interface FloatIAxis
public float binUpperEdge(int index)
FloatIAxis
binUpperEdge
in interface FloatIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.
public float binWidth(int index)
FloatIAxis
binWidth
in interface FloatIAxis
index
- Bin number (0...bins()-1) or OVERFLOW or UNDERFLOW.public int coordToIndex(float coord)
FloatIAxis
coordToIndex
in interface FloatIAxis
public float lowerEdge()
FloatIAxis
lowerEdge
in interface FloatIAxis
public float upperEdge()
FloatIAxis
upperEdge
in interface FloatIAxis
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |