|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
User level interface to a 1-dimensional profile histogram
Method Summary | |
void |
add(IProfile1D profile)
Modifies this IProfile1D by adding the contents of profile to it. |
IAxis |
axis()
Returns the X axis. |
int |
binEntries(int index)
Number of entries in the corresponding bin (ie the number of times fill was called for this bin). |
double |
binError(int index)
The error on this bin. |
double |
binHeight(int index)
Total height of the corresponding bin (ie the sum of the weights in this bin). |
double |
binMean(int index)
The weighted mean of the corresponding bin. |
double |
binRms(int index)
The spread (RMS) of a bin. |
int |
coordToIndex(double coord)
Convenience method, equivalent to axis().coordToIndex(coord). |
void |
fill(double x,
double y)
Fill the IProfile1D. |
void |
fill(double x,
double y,
double weight)
Fill the IProfile1D. |
double |
mean()
Returns the mean of the whole profile as calculated on filling-time. |
double |
rms()
Returns the rms of the whole profile as calculated on filling-time. |
Methods inherited from interface hep.aida.IProfile |
allEntries, extraEntries, maxBinHeight, minBinHeight, sumAllBinHeights, sumBinHeights, sumExtraBinHeights |
Methods inherited from interface hep.aida.IBaseHistogram |
annotation, dimension, entries, reset, setTitle, title |
Method Detail |
public void fill(double x, double y) throws IllegalArgumentException
IllegalArgumentException
public void fill(double x, double y, double weight) throws IllegalArgumentException
IllegalArgumentException
public double binMean(int index) throws IllegalArgumentException
index
- the bin number (0...N-1) or OVERFLOW or UNDERFLOW.
IllegalArgumentException
- If the index is not a valid bin number.public int binEntries(int index)
index
- the bin number (0...N-1) or OVERFLOW or UNDERFLOW.public double binHeight(int index)
index
- the bin number (0...N-1) or OVERFLOW or UNDERFLOW.public double binError(int index)
index
- the bin number (0...N-1) or OVERFLOW or UNDERFLOW.public double binRms(int index)
index
- the bin number (0...N-1) or OVERFLOW or UNDERFLOW.public double mean()
public double rms()
public IAxis axis()
public int coordToIndex(double coord)
IAxis.coordToIndex(double)
public void add(IProfile1D profile) throws IllegalArgumentException
profile
- The IProfile1D to be added to this IProfile1D
IllegalArgumentException
- if profile binnings are incompatible
|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |