public interface Histogram extends DataSet, DataSetMetaData
TAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Modifier and Type | Method and Description |
|---|---|
void |
addBinContent(int bin)
Increment bin content by 1.
|
void |
addBinContent(int bin,
double w)
Increment bin content by a weight w.
|
int |
findBin(double x,
double y) |
int |
findBin(double x,
double y,
double z) |
int |
findBin(int dimIndex,
double x) |
double |
getBinCenter(int dimIndex,
int binIndex) |
double |
getBinContent(int bin)
Return content of bin number bin.
|
boolean |
isEquiDistant() |
void |
reset()
reset histogram content
|
get, getAxisDescription, getAxisDescriptions, getDataCount, getDataCount, getDataLabel, getDimension, getIndex, getName, getStyle, getStyle, getValue, getValues, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenergetErrorList, getInfoList, getMetaInfo, getWarningListvoid addBinContent(int bin)
bin - global bin IDvoid addBinContent(int bin,
double w)
bin - global bin IDw - weightint findBin(double x,
double y)
x - spatial real-valued coordinate in Xy - spatial real-valued coordinate in Yint findBin(double x,
double y,
double z)
x - spatial real-valued coordinate in Xy - spatial real-valued coordinate in Yz - spatial real-valued coordinate in Zint findBin(int dimIndex,
double x)
dimIndex - the dimension indexx - spatial real-valued coordinate for dimension dimIndexdouble getBinCenter(int dimIndex,
int binIndex)
dimIndex - the dimension indexbinIndex - indexdouble getBinContent(int bin)
bin - the indexboolean isEquiDistant()
void reset()
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.