Parallel Colt 0.7.2

hep.aida.tdouble
Interface DoubleIHistogram1D

All Superinterfaces:
DoubleIHistogram, Serializable
All Known Implementing Classes:
DoubleHistogram1D

public interface DoubleIHistogram1D
extends DoubleIHistogram

A Java interface corresponding to the AIDA 1D Histogram.

Note All methods that accept a bin number as an argument will also accept the constants OVERFLOW or UNDERFLOW as the argument, and as a result give the contents of the resulting OVERFLOW or UNDERFLOW bin.

Version:
1.0, 23/03/2000
Author:
Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, and others.
See Also:
AIDA

Field Summary
 
Fields inherited from interface hep.aida.tdouble.DoubleIHistogram
OVERFLOW, serialVersionUID, UNDERFLOW
 
Method Summary
 int binEntries(int index)
          Number of entries in the corresponding bin (ie the number of times fill was called for this bin).
 double binError(int index)
          The error on this bin.
 double binHeight(int index)
          Total height of the corresponding bin (ie the sum of the weights in this bin).
 void fill_2D(double[] data, double[] weights, int rows, int columns, int zero, int rowStride, int columnStride)
          Fill histogram with specified data and weights.
 void fill_2D(double[] data, int rows, int columns, int zero, int rowStride, int columnStride)
          Fill histogram with specified data and weight 1.
 void fill(double x)
          Fill histogram with weight 1.
 void fill(double x, double weight)
          Fill histogram with specified weight.
 double mean()
          Returns the mean of the whole histogram as calculated on filling-time.
 int[] minMaxBins()
          Indexes of the in-range bins containing the smallest and largest binHeight(), respectively.
 double rms()
          Returns the rms of the whole histogram as calculated on filling-time.
 DoubleIAxis xAxis()
          Returns the X Axis.
 
Methods inherited from interface hep.aida.tdouble.DoubleIHistogram
allEntries, dimensions, entries, equivalentBinEntries, extraEntries, reset, sumAllBinHeights, sumBinHeights, sumExtraBinHeights, title
 

Method Detail

binEntries

int binEntries(int index)
Number of entries in the corresponding bin (ie the number of times fill was called for this bin).

Parameters:
index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.

binError

double binError(int index)
The error on this bin.

Parameters:
index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.

binHeight

double binHeight(int index)
Total height of the corresponding bin (ie the sum of the weights in this bin).

Parameters:
index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.

fill

void fill(double x)
Fill histogram with weight 1.


fill

void fill(double x,
          double weight)
Fill histogram with specified weight.


fill_2D

void fill_2D(double[] data,
             int rows,
             int columns,
             int zero,
             int rowStride,
             int columnStride)
Fill histogram with specified data and weight 1.


fill_2D

void fill_2D(double[] data,
             double[] weights,
             int rows,
             int columns,
             int zero,
             int rowStride,
             int columnStride)
Fill histogram with specified data and weights.


mean

double mean()
Returns the mean of the whole histogram as calculated on filling-time.


minMaxBins

int[] minMaxBins()
Indexes of the in-range bins containing the smallest and largest binHeight(), respectively.

Returns:
{minBin,maxBin}.

rms

double rms()
Returns the rms of the whole histogram as calculated on filling-time.


xAxis

DoubleIAxis xAxis()
Returns the X Axis.


Parallel Colt 0.7.2

Jump to the Parallel Colt Homepage