|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.aida.ref.histogram.VariableAxis
Variable-width axis; A reference implementation of hep.aida.IAxis.
| Field Summary |
| Fields inherited from interface hep.aida.IAxis |
OVERFLOW_BIN, UNDERFLOW_BIN |
| Constructor Summary | |
VariableAxis(double[] edges)
Constructs and returns an axis with the given bin edges. |
|
| Method Summary | |
double |
binCenter(int index)
|
double |
binLowerEdge(int index)
|
int |
bins()
|
double |
binUpperEdge(int index)
|
double |
binWidth(int index)
|
int |
coordToIndex(double coord)
|
boolean |
equals(Object o)
Check if two Axis are equal. |
boolean |
isFixedBinning()
|
double |
lowerEdge()
|
protected static String |
toString(double[] array)
Returns a string representation of the specified array. |
double |
upperEdge()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VariableAxis(double[] edges)
edges - the bin boundaries the partition shall have;
must be sorted ascending and must not contain multiple identical elements.
IllegalArgumentException - if edges.length < 1.| Method Detail |
public double binCenter(int index)
binCenter in interface hep.aida.IAxispublic double binLowerEdge(int index)
binLowerEdge in interface hep.aida.IAxispublic int bins()
bins in interface hep.aida.IAxispublic double binUpperEdge(int index)
binUpperEdge in interface hep.aida.IAxispublic double binWidth(int index)
binWidth in interface hep.aida.IAxispublic int coordToIndex(double coord)
coordToIndex in interface hep.aida.IAxispublic double lowerEdge()
lowerEdge in interface hep.aida.IAxisprotected static String toString(double[] array)
public double upperEdge()
upperEdge in interface hep.aida.IAxispublic boolean isFixedBinning()
isFixedBinning in interface hep.aida.IAxispublic boolean equals(Object o)
o - the Object to check
true if o is an instance of FixedAxis and
it has the same number of bins, minimum and bin width.
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||