CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IHistogram2D.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef AIDA_IHISTOGRAM2D_H
00008 #define AIDA_IHISTOGRAM2D_H 1
00009 
00010 //  This file is part of the AIDA library
00011 //  Copyright (C) 2002 by the AIDA team.  All rights reserved.
00012 //  This library is free software and under the terms of the
00013 //  GNU Library General Public License described in the LGPL.txt 
00014 
00015 #include "AIDA/IHistogram.h"
00016 
00017 namespace AIDA {
00018 
00019 class IAxis;
00020 
00028 class IHistogram2D : virtual public IHistogram {
00029 
00030 public: 
00032     virtual ~IHistogram2D() { /* nop */; }
00033 
00043     virtual bool fill(double x, double y, double weight = 1.) = 0;
00044 
00052     virtual double binMeanX(int indexX, int indexY) const = 0;
00053 
00061     virtual double binMeanY(int indexX, int indexY) const = 0;
00062 
00070     virtual int binEntries(int indexX, int indexY) const = 0;
00071 
00079     virtual int binEntriesX(int index) const = 0;
00080 
00088     virtual int binEntriesY(int index) const = 0;
00089 
00097     virtual double binHeight(int indexX, int indexY) const = 0;
00098 
00106     virtual double binHeightX(int index) const = 0;
00107 
00115     virtual double binHeightY(int index) const = 0;
00116 
00124     virtual double binError(int indexX, int indexY) const = 0;
00125 
00131     virtual double meanX() const = 0;
00132 
00138     virtual double meanY() const = 0;
00139 
00145     virtual double rmsX() const = 0;
00146 
00152     virtual double rmsY() const = 0;
00153 
00159     virtual const IAxis & xAxis() const = 0;
00160 
00166     virtual const IAxis & yAxis() const = 0;
00167 
00176     virtual int coordToIndexX(double coord) const = 0;
00177 
00186     virtual int coordToIndexY(double coord) const = 0;
00187 
00194     virtual bool add(const IHistogram2D & hist) = 0;
00195 }; // class
00196 }; // namespace AIDA
00197 #endif /* ifndef AIDA_IHISTOGRAM2D_H */

Generated at Tue Feb 18 15:48:23 2003 for AIDA_Interfaces by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001