7 #ifndef AIDA_IPROFILE2D_H
8 #define AIDA_IPROFILE2D_H 1
15 #include "AIDA/IProfile.h"
38 virtual bool fill(
double x,
double y,
double z,
double weight = 1) = 0;
47 virtual double binMeanX(
int indexX,
int indexY)
const = 0;
56 virtual double binMeanY(
int indexX,
int indexY)
const = 0;
64 virtual int binEntries(
int indexX,
int indexY)
const = 0;
84 virtual double binHeight(
int indexX,
int indexY)
const = 0;
90 virtual double binHeightX(
int indexX)
const = 0;
96 virtual double binHeightY(
int indexY)
const = 0;
104 virtual double binError(
int indexX,
int indexY)
const = 0;
112 virtual double binRms(
int indexX,
int indexY)
const = 0;
118 virtual double meanX()
const = 0;
124 virtual double meanY()
const = 0;
130 virtual double rmsX()
const = 0;
136 virtual double rmsY()
const = 0;
virtual const IAxis & xAxis() const =0
Return the X axis.
virtual double rmsY() const =0
Returns the rms of the profile as calculated on filling-time projected on the Y axis.
virtual int binEntries(int indexX, int indexY) const =0
The number of entries (ie the number of times fill was called for this bin).
virtual double binMeanY(int indexX, int indexY) const =0
The weighted mean along y of a given bin.
virtual double binHeightX(int indexX) const =0
Equivalent to projectionX().binHeight(indexX).
virtual int coordToIndexY(double coordY) const =0
Convenience method, equivalent to yAxis().coordToIndex(coord).
virtual double binHeightY(int indexY) const =0
Equivalent to projectionY().binHeight(indexY).
virtual double binHeight(int indexX, int indexY) const =0
Total height of the corresponding bin (ie the sum of the weights in this bin).
virtual double binError(int indexX, int indexY) const =0
The error on this bin.
virtual double meanY() const =0
Returns the mean of the profile, as calculated on filling-time projected on the Y axis...
virtual double binMeanX(int indexX, int indexY) const =0
The weighted mean along x of a given bin.
User level interface to a Profile histogram.
Definition: IProfile.h:26
virtual bool fill(double x, double y, double z, double weight=1)=0
Fill the IProfile2D.
virtual double meanX() const =0
Returns the mean of the profile, as calculated on filling-time projected on the X axis...
An IAxis represents a binned histogram axis.
Definition: IAxis.h:26
virtual int coordToIndexX(double coordX) const =0
Convenience method, equivalent to xAxis().coordToIndex(coord).
virtual double binRms(int indexX, int indexY) const =0
The spread (RMS) of this bin.
virtual int binEntriesX(int indexX) const =0
Equivalent to projectionX().binEntries(indexX).
User level interface to a 2-dimensional profile histogram.
Definition: IProfile2D.h:28
virtual int binEntriesY(int indexY) const =0
Equivalent to projectionY().binEntries(indexY).
virtual double rmsX() const =0
Returns the rms of the profile as calculated on filling-time projected on the X axis.
virtual ~IProfile2D()
Destructor.
Definition: IProfile2D.h:32
virtual const IAxis & yAxis() const =0
Return the Y axis.