hep.aida
Interface ICloud1D


public interface ICloud1D
extends ICloud

User level interface to a 1D Cloud.

Version:
$Id: ICloud1D.html,v 1.1 2002/10/08 00:51:17 tonyj Exp $
Author:
Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, Mark Donszelmann, Guy Barrand
Source Code:
ICloud1D.java

Method Summary
 void convert(int nBins, double lowerEdge, double upperEdge)
           
 boolean fill(double x)
           
 boolean fill(double x, double weight)
           
 IHistogram1D histogram()
           
 double lowerEdge()
           
 double mean()
           
 double rms()
           
 double upperEdge()
           
 double value(int index)
           
 double weight(int index)
           
 
Methods inherited from interface hep.aida.ICloud
dimension, entries, label, setLabel, sumOfWeights
 

Method Detail

fill

public boolean fill(double x)
Returns:
false if the cloud is full. You may convert it to a histogram.

fill

public boolean fill(double x,
                    double weight)

lowerEdge

public double lowerEdge()

upperEdge

public double upperEdge()

value

public double value(int index)

weight

public double weight(int index)

mean

public double mean()

rms

public double rms()

convert

public void convert(int nBins,
                    double lowerEdge,
                    double upperEdge)

histogram

public IHistogram1D histogram()
                       throws RuntimeException
Returns:
the histogram.
Throws:
RuntimeException - if the histogram is not auto-convertible and "convert" has not been called.


Copyright © 2000, 2001 AIDA Team, All Rights Reserved.