All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class hep.analysis.Histogram

java.lang.Object
   |
   +----hep.analysis.Histogram

public class Histogram
extends Object
Class Histogram is used by user analysis programs to create and fill a wide variety of histograms. Histograms must each have unique names assigned to them at creation time.


Constructor Index

 o Histogram(String)
Create a new histogram.
 o Histogram(String, HistogramFolder)

Method Index

 o fill(Date)
 o fill(Date, double)
 o fill(double)
Fill a histogram with a single double
 o fill(double, double)
Fill a histogram with a single double
 o fill(int)
 o fill(int, double)
 o fill(String)
 o fill(String, double)
 o getArea()
 o getBin(int)
 o getBinAt(Date)
 o getBinAt(double)
 o getBinAt(int)
 o getBinAt(String)
 o getBins()
 o getEntries()
 o getError(int)
 o getMean()
 o getMinusError(int)
 o getMinusErrors()
 o getOverflow()
 o getPartition()
 o getPlusError(int)
 o getPlusErrors()
 o getRMS()
 o getUnderflow()
 o hasAsymmetricErrorBars()
 o partitionDestroyedNotify()
 o setPartition(Abstract1DPartition)

Constructors

 o Histogram
 public Histogram(String name)
Create a new histogram.

Parameters:
name - The name of the histogram. If a histogram of this name already exists its contents are cleared and a reference to the previously existing histogram is returned.
 o Histogram
 public Histogram(String name,
                  HistogramFolder parent)

Methods

 o fill
 public void fill(double x)
Fill a histogram with a single double

Parameters:
x - X coordinate
 o fill
 public void fill(double x,
                  double value)
Fill a histogram with a single double

Parameters:
x - X coordinate
value - Value (weight) to be assigned to this fill operation
 o fill
 public void fill(int x)
 o fill
 public void fill(int x,
                  double value)
 o fill
 public void fill(String x)
 o fill
 public void fill(String x,
                  double value)
 o fill
 public void fill(Date x)
 o fill
 public void fill(Date x,
                  double value)
 o getBinAt
 public int getBinAt(double x) throws NoSuchBinException
 o getBinAt
 public int getBinAt(int x) throws NoSuchBinException
 o getBinAt
 public int getBinAt(String x) throws NoSuchBinException
 o getBinAt
 public int getBinAt(Date x) throws NoSuchBinException
 o getBin
 public double getBin(int bin) throws NoSuchBinException
 o hasAsymmetricErrorBars
 public boolean hasAsymmetricErrorBars()
 o getPlusError
 public double getPlusError(int bin)
 o getMinusError
 public double getMinusError(int bin)
 o getPlusErrors
 public double[] getPlusErrors()
 o getMinusErrors
 public double[] getMinusErrors()
 o getError
 protected double getError(int bin)
 o getBins
 public double[] getBins()
 o getOverflow
 public double getOverflow()
 o getUnderflow
 public double getUnderflow()
 o getEntries
 public int getEntries()
 o getArea
 public double getArea()
 o getMean
 public double getMean()
 o getRMS
 public double getRMS()
 o setPartition
 public void setPartition(Abstract1DPartition p)
 o partitionDestroyedNotify
 public void partitionDestroyedNotify()
 o getPartition
 public Abstract1DPartition getPartition()

All Packages  Class Hierarchy  This Package  Previous  Next  Index