All Packages Class Hierarchy This Package Previous Next Index
Class hep.analysis.FixedPartition
java.lang.Object
|
+----java.util.Observable
|
+----hep.analysis.Partition
|
+----hep.analysis.Abstract1DPartition
|
+----hep.analysis.FixedPartition
- public class FixedPartition
- extends Abstract1DPartition
-
m_bins
-
-
m_binWidth
-
-
m_entries
-
-
m_error
-
-
m_high
-
-
m_hist
-
-
m_low
-
-
m_overflow
-
-
m_underflow
-
-
FixedPartition(double, double)
-
-
FixedPartition(double, double, int)
-
-
clear()
- Resets the partition to default settings.
-
fill(double, double)
- Fills the associated histogram with a numerical value.
-
getArea()
- Return the area of the distribution.
-
getBinAt(double)
- Returns the bin index corresponding to the given numerical value.
-
getBins()
- Return an array containing the sizes of all the bins.
-
getEntries()
- Return the number of entries.
-
getErrors()
- Return an array containing the errors for all the bins.
-
getMax()
- Return the maximum in the distribution.
-
getMean()
- Return the mean of the distribution.
-
getMin()
- Return the minimum in the distribution.
-
getNumberOfBins()
- Return the number of bins.
-
getOverflow()
- Return the overflow for the partition.
-
getRMS()
- Return the RMS of the distribution.
-
getUnderflow()
- Return the underflow for the partition.
-
setSnapshot(boolean)
- Sets the snap shot mode of the partition.
m_entries
protected int m_entries
m_low
protected double m_low
m_high
protected double m_high
m_binWidth
protected double m_binWidth
m_bins
protected int m_bins
m_underflow
protected double m_underflow
m_overflow
protected double m_overflow
m_hist
protected double m_hist[]
m_error
protected double m_error[]
FixedPartition
public FixedPartition(double low,
double high)
FixedPartition
public FixedPartition(double low,
double high,
int bins)
setSnapshot
public void setSnapshot(boolean useSnapShot)
- Sets the snap shot mode of the partition.
- Overrides:
- setSnapshot in class Abstract1DPartition
clear
public void clear()
- Resets the partition to default settings.
- Overrides:
- clear in class Abstract1DPartition
fill
public void fill(double x,
double v)
- Fills the associated histogram with a numerical value.
- Overrides:
- fill in class Abstract1DPartition
getBinAt
public int getBinAt(double x) throws NoSuchBinException
- Returns the bin index corresponding to the given numerical value.
- Overrides:
- getBinAt in class Abstract1DPartition
getBins
public double[] getBins()
- Return an array containing the sizes of all the bins.
- Overrides:
- getBins in class Abstract1DPartition
getErrors
protected double[] getErrors()
- Return an array containing the errors for all the bins.
- Overrides:
- getErrors in class Abstract1DPartition
getOverflow
public double getOverflow()
- Return the overflow for the partition.
- Overrides:
- getOverflow in class Abstract1DPartition
getUnderflow
public double getUnderflow()
- Return the underflow for the partition.
- Overrides:
- getUnderflow in class Abstract1DPartition
getEntries
public int getEntries()
- Return the number of entries.
- Overrides:
- getEntries in class Abstract1DPartition
getArea
public double getArea()
- Return the area of the distribution.
- Overrides:
- getArea in class Abstract1DPartition
getMean
public double getMean()
- Return the mean of the distribution.
- Overrides:
- getMean in class Abstract1DPartition
getRMS
public double getRMS()
- Return the RMS of the distribution.
- Overrides:
- getRMS in class Abstract1DPartition
getNumberOfBins
public int getNumberOfBins()
- Return the number of bins.
- Overrides:
- getNumberOfBins in class Abstract1DPartition
getMin
public double getMin()
- Return the minimum in the distribution.
- Overrides:
- getMin in class Abstract1DPartition
getMax
public double getMax()
- Return the maximum in the distribution.
- Overrides:
- getMax in class Abstract1DPartition
All Packages Class Hierarchy This Package Previous Next Index