All Packages Class Hierarchy This Package Previous Next Index
Class hep.analysis.AsymmetryPartition
java.lang.Object
|
+----java.util.Observable
|
+----hep.analysis.Partition
|
+----hep.analysis.Abstract1DPartition
|
+----hep.analysis.AsymmetryPartition
- public class AsymmetryPartition
- extends Abstract1DPartition
Supports an asymmetry partition. Under construction.
-
AsymmetryPartition()
-
-
AsymmetryPartition(double, double)
-
-
calculateAxisLimits()
-
-
clear()
- Resets the partition to default settings.
-
fill(double, double, double)
-
-
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.
-
hasSimpleQuadraticErrorBars()
- Returns false by default.
-
isRebinnable()
- Returns false by default.
-
setBinning(int, double, double)
- Override to allow binning to be set.
-
setSnapshot(boolean)
- Sets the snap shot mode of the partition.
AsymmetryPartition
public AsymmetryPartition()
AsymmetryPartition
public AsymmetryPartition(double min,
double max)
setSnapshot
public void setSnapshot(boolean useSnapShot)
- Sets the snap shot mode of the partition.
- Overrides:
- setSnapshot in class Abstract1DPartition
fill
public void fill(double x,
double left,
double right)
setBinning
public void setBinning(int bins,
double min,
double max)
- Override to allow binning to be set.
- Overrides:
- setBinning in class Abstract1DPartition
clear
public void clear()
- Resets the partition to default settings.
- Overrides:
- clear 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
calculateAxisLimits
protected double[] calculateAxisLimits()
isRebinnable
public boolean isRebinnable()
- Returns false by default.
- Overrides:
- isRebinnable in class Abstract1DPartition
hasSimpleQuadraticErrorBars
public boolean hasSimpleQuadraticErrorBars()
- Returns false by default.
- Overrides:
- hasSimpleQuadraticErrorBars in class Abstract1DPartition
All Packages Class Hierarchy This Package Previous Next Index