7 #ifndef AIDA_ICLOUD1D_H
8 #define AIDA_ICLOUD1D_H 1
17 #include "AIDA/ICloud.h"
44 virtual bool fill(
double x,
double weight = 1.) = 0;
77 virtual double value(
int index)
const = 0;
96 virtual double weight(
int index)
const = 0;
103 virtual double mean()
const = 0;
110 virtual double rms()
const = 0;
virtual double mean() const =0
Get the mean of the ICloud1D.
User level interface to a 1D Cloud.
Definition: ICloud1D.h:30
virtual const IHistogram1D & histogram() const =0
Convert internally the ICloud1D to an IHistogram1D with given bin edges.
virtual ~ICloud1D()
Destructor.
Definition: ICloud1D.h:34
User level interface to 1D Histogram.
Definition: IHistogram1D.h:28
virtual double weight(int index) const =0
Get the weight corresponding to a given entry.
User level interface to a Cloud.
Definition: ICloud.h:30
virtual bool fillHistogram(IHistogram1D &hist) const =0
Project the ICloud1D on an IHistogram1D.
virtual double rms() const =0
Get the RMS of the ICloud1D.
virtual double upperEdge() const =0
Get the upper edge of the ICloud1D.
virtual double value(int index) const =0
Get the value corresponding to a given entry.
virtual double lowerEdge() const =0
Get the lower edge of the ICloud1D.
virtual bool convert(int nBins, double lowerEdge, double upperEdge)=0
Convert internally the ICloud1D to an IHistogram1D with given number of bins, upper edge and lower ed...
virtual bool fill(double x, double weight=1.)=0
Fill the ICloud1D with a value and a corresponding weight.