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  

IProfile2D.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_IPROFILE2D_H
00008 #define AIDA_IPROFILE2D_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/IProfile.h"
00016 
00017 namespace AIDA {
00018 
00019 class IAxis;
00020 
00028 class IProfile2D : virtual public IProfile {
00029 
00030 public: 
00032     virtual ~IProfile2D() { /* nop */; }
00033 
00038     virtual bool fill(double x, double y, double z, double weight = 1) = 0;
00039 
00047     virtual double binMeanX(int indexX, int indexY) const = 0;
00048 
00056     virtual double binMeanY(int indexX, int indexY) const = 0;
00057 
00064     virtual int binEntries(int indexX, int indexY) const = 0;
00065 
00070     virtual int binEntriesX(int indexX) const = 0;
00071 
00076     virtual int binEntriesY(int indexY) const = 0;
00077 
00084     virtual double binHeight(int indexX, int indexY) const = 0;
00085 
00090     virtual double binHeightX(int indexX) const = 0;
00091 
00096     virtual double binHeightY(int indexY) const = 0;
00097 
00104     virtual double binError(int indexX, int indexY) const = 0;
00105 
00112     virtual double binRms(int indexX, int indexY) const = 0;
00113 
00118     virtual double meanX() const = 0;
00119 
00124     virtual double meanY() const = 0;
00125 
00130     virtual double rmsX() const = 0;
00131 
00136     virtual double rmsY() const = 0;
00137 
00142     virtual const IAxis & xAxis() const = 0;
00143 
00148     virtual const IAxis & yAxis() const = 0;
00149 
00155     virtual int coordToIndexX(double coordX) const = 0;
00156 
00162     virtual int coordToIndexY(double coordY) const = 0;
00163 
00171     virtual bool add(const IProfile2D & h) = 0;
00172 }; // class
00173 }; // namespace AIDA
00174 #endif /* ifndef AIDA_IPROFILE2D_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