public interface Histogram extends DataSet3D, 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) |
int |
findBin(double x,
double y) |
int |
findBin(double x,
double y,
double z) |
double |
getBinCenterX(int binX) |
double |
getBinCenterY(int binY) |
double |
getBinCenterZ(int binZ) |
double |
getBinContent(int bin)
Return content of bin number bin.
|
int |
getDimension() |
double |
getMaximum() |
double |
getMinimum() |
int |
getNBinsX() |
int |
getNBinsY() |
int |
getNBinsZ() |
boolean |
isEquiDistant() |
void |
reset()
reset histogram content
|
getXDataCount, getYDataCount, getZ, getZRange, setgetDataCount, getDataCount, getDataLabel, getName, getStyle, getStyle, getUndefValue, getValue, getX, getXIndex, getXMax, getXMin, getXValues, getY, getYIndex, getYMax, getYMin, getYValues, isAutoNotification, lock, setAutoNotifaction, setStyle, unlockaddListener, invokeListener, invokeListener, removeListener, updateEventListenergetErrorList, getInfoList, getMetaInfo, getWarningListboolean isEquiDistant()
void reset()
double getBinContent(int bin)
bin - the indexvoid addBinContent(int bin)
bin - global bin IDdouble getMinimum()
double getMaximum()
void addBinContent(int bin,
double w)
bin - global bin IDw - weightint findBin(double x)
x - spatial real-valued coordinate in Xint 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 Zdouble getBinCenterX(int binX)
binX - indexdouble getBinCenterY(int binY)
binY - indexdouble getBinCenterZ(int binZ)
binZ - indexint getDimension()
int getNBinsX()
int getNBinsY()
int getNBinsZ()
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.