RAIDA  1.9.0
ICloud2D.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_ICLOUD2D_H
8 #define AIDA_ICLOUD2D_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include <vector>
16 
17 #include "AIDA/ICloud.h"
18 
19 namespace AIDA {
20 
21 class IHistogram2D;
22 
30 class ICloud2D : virtual public ICloud {
31 
32 public:
34  virtual ~ICloud2D() { /* nop */; }
35 
45  virtual bool fill(double x, double y, double weight = 1.) = 0;
46 
52  virtual double lowerEdgeX() const = 0;
53 
59  virtual double lowerEdgeY() const = 0;
60 
66  virtual double upperEdgeX() const = 0;
67 
73  virtual double upperEdgeY() const = 0;
74 
92  virtual double valueX(int index) const = 0;
93 
111  virtual double valueY(int index) const = 0;
112 
130  virtual double weight(int index) const = 0;
131 
137  virtual double meanX() const = 0;
138 
144  virtual double meanY() const = 0;
145 
151  virtual double rmsX() const = 0;
152 
158  virtual double rmsY() const = 0;
159 
172  virtual bool convert(int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY) = 0;
173 
182 
190  virtual const IHistogram2D & histogram() const = 0;
191 
198  virtual bool fillHistogram(IHistogram2D & hist) const = 0;
199 }; // class
200 } // namespace AIDA
201 #endif /* ifndef AIDA_ICLOUD2D_H */
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.