7 #ifndef AIDA_ICLOUD2D_H
8 #define AIDA_ICLOUD2D_H 1
17 #include "AIDA/ICloud.h"
45 virtual bool fill(
double x,
double y,
double weight = 1.) = 0;
92 virtual double valueX(
int index)
const = 0;
111 virtual double valueY(
int index)
const = 0;
130 virtual double weight(
int index)
const = 0;
137 virtual double meanX()
const = 0;
144 virtual double meanY()
const = 0;
151 virtual double rmsX()
const = 0;
158 virtual double rmsY()
const = 0;
virtual double valueX(int index) const =0
Get the x value corresponding to a given entry.
virtual double meanY() const =0
Get the mean of the ICloud2D along the y axis.
virtual double upperEdgeX() const =0
Get the upper edge of the ICloud2D along the x axis.
virtual double lowerEdgeX() const =0
Get the lower edge of the ICloud2D along the x axis.
User level interface to a Cloud.
Definition: ICloud.h:30
virtual double rmsX() const =0
Get the RMS of the ICloud2D along the x axis.
virtual ~ICloud2D()
Destructor.
Definition: ICloud2D.h:34
virtual double valueY(int index) const =0
Get the y value corresponding to a given entry.
virtual const IHistogram2D & histogram() const =0
Convert internally the ICloud2D to an IHistogram2D with given bin edges.
virtual bool fill(double x, double y, double weight=1.)=0
Fill the ICloud2D with a couple of values and a corresponding weight.
User level interface to a 2D Cloud.
Definition: ICloud2D.h:30
virtual double lowerEdgeY() const =0
Get the lower edge of the ICloud2D along the y axis.
virtual double rmsY() const =0
Get the RMS of the ICloud2D along the y axis.
User level interface to 2D Histogram.
Definition: IHistogram2D.h:28
virtual bool convert(int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)=0
Convert internally the ICloud2D to an IHistogram2D with given number of bins, upper edge and lower ed...
virtual double meanX() const =0
Get the mean of the ICloud2D along the x axis.
virtual double upperEdgeY() const =0
Get the upper edge of the ICloud2D along the y axis.
virtual double weight(int index) const =0
Get the weight corresponding to a given entry.
virtual bool fillHistogram(IHistogram2D &hist) const =0
Project the ICloud2D on an IHistogram2D.