hep.analysis
Class Histogram2D

java.lang.Object
  |
  +--hep.analysis.AbstractNamedObject
        |
        +--hep.analysis.Histogram
              |
              +--hep.analysis.Histogram2D
All Implemented Interfaces:
NamedObject, java.io.Serializable

public class Histogram2D
extends Histogram

A Histogram2D is a subclass of Histogram with convenience methods for accessing the filled contents of 2D Histograms.

See Also:
Serialized Form

Inner classes inherited from class hep.analysis.NamedObject
NamedObject.RenameException
 
Fields inherited from class hep.analysis.Histogram
m_partition
 
Fields inherited from class hep.analysis.AbstractNamedObject
m_parent
 
Constructor Summary
Histogram2D(java.lang.String name)
          Create a new histogram.
Histogram2D(java.lang.String name, HistogramFolder parent)
          Create a new histogram in a folder.
Histogram2D(java.lang.String name, HistogramFolder parent, Partition partition)
           
Histogram2D(java.lang.String name, Partition partition)
           
 
Method Summary
 double getBin(int i, int j)
           
 
Methods inherited from class hep.analysis.Histogram
clear, fill, fill, fill, fill, fill, fill, fillW, fillW, fillW, fillW, fillW, fillW, find, find, getDefaultParent, getEntries, getPartition, getStyle, isClearOnRewind, partitionDestroyedNotify, setClearOnRewind, setPartition, setStyle, show, toString
 
Methods inherited from class hep.analysis.AbstractNamedObject
delete, getFolder, getName, rename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Histogram2D

public Histogram2D(java.lang.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.

Histogram2D

public Histogram2D(java.lang.String name,
                   HistogramFolder parent)
Create a new histogram in a folder.
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.
parent - the HistogramFolder in which to store this Hsitogram

Histogram2D

public Histogram2D(java.lang.String name,
                   Partition partition)

Histogram2D

public Histogram2D(java.lang.String name,
                   HistogramFolder parent,
                   Partition partition)
Method Detail

getBin

public double getBin(int i,
                     int j)