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

Variable Index

 o m_bins
 o m_binWidth
 o m_entries
 o m_error
 o m_high
 o m_hist
 o m_low
 o m_overflow
 o m_underflow

Constructor Index

 o FixedPartition(double, double)
 o FixedPartition(double, double, int)

Method Index

 o clear()
Resets the partition to default settings.
 o fill(double, double)
Fills the associated histogram with a numerical value.
 o getArea()
Return the area of the distribution.
 o getBinAt(double)
Returns the bin index corresponding to the given numerical value.
 o getBins()
Return an array containing the sizes of all the bins.
 o getEntries()
Return the number of entries.
 o getErrors()
Return an array containing the errors for all the bins.
 o getMax()
Return the maximum in the distribution.
 o getMean()
Return the mean of the distribution.
 o getMin()
Return the minimum in the distribution.
 o getNumberOfBins()
Return the number of bins.
 o getOverflow()
Return the overflow for the partition.
 o getRMS()
Return the RMS of the distribution.
 o getUnderflow()
Return the underflow for the partition.
 o setSnapshot(boolean)
Sets the snap shot mode of the partition.

Variables

 o m_entries
 protected int m_entries
 o m_low
 protected double m_low
 o m_high
 protected double m_high
 o m_binWidth
 protected double m_binWidth
 o m_bins
 protected int m_bins
 o m_underflow
 protected double m_underflow
 o m_overflow
 protected double m_overflow
 o m_hist
 protected double m_hist[]
 o m_error
 protected double m_error[]

Constructors

 o FixedPartition
 public FixedPartition(double low,
                       double high)
 o FixedPartition
 public FixedPartition(double low,
                       double high,
                       int bins)

Methods

 o setSnapshot
 public void setSnapshot(boolean useSnapShot)
Sets the snap shot mode of the partition.

Overrides:
setSnapshot in class Abstract1DPartition
 o clear
 public void clear()
Resets the partition to default settings.

Overrides:
clear in class Abstract1DPartition
 o fill
 public void fill(double x,
                  double v)
Fills the associated histogram with a numerical value.

Overrides:
fill in class Abstract1DPartition
 o getBinAt
 public int getBinAt(double x) throws NoSuchBinException
Returns the bin index corresponding to the given numerical value.

Overrides:
getBinAt in class Abstract1DPartition
 o getBins
 public double[] getBins()
Return an array containing the sizes of all the bins.

Overrides:
getBins in class Abstract1DPartition
 o getErrors
 protected double[] getErrors()
Return an array containing the errors for all the bins.

Overrides:
getErrors in class Abstract1DPartition
 o getOverflow
 public double getOverflow()
Return the overflow for the partition.

Overrides:
getOverflow in class Abstract1DPartition
 o getUnderflow
 public double getUnderflow()
Return the underflow for the partition.

Overrides:
getUnderflow in class Abstract1DPartition
 o getEntries
 public int getEntries()
Return the number of entries.

Overrides:
getEntries in class Abstract1DPartition
 o getArea
 public double getArea()
Return the area of the distribution.

Overrides:
getArea in class Abstract1DPartition
 o getMean
 public double getMean()
Return the mean of the distribution.

Overrides:
getMean in class Abstract1DPartition
 o getRMS
 public double getRMS()
Return the RMS of the distribution.

Overrides:
getRMS in class Abstract1DPartition
 o getNumberOfBins
 public int getNumberOfBins()
Return the number of bins.

Overrides:
getNumberOfBins in class Abstract1DPartition
 o getMin
 public double getMin()
Return the minimum in the distribution.

Overrides:
getMin in class Abstract1DPartition
 o getMax
 public double getMax()
Return the maximum in the distribution.

Overrides:
getMax in class Abstract1DPartition

All Packages  Class Hierarchy  This Package  Previous  Next  Index