This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
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_IPROFILE1D_H 00008 #define AIDA_IPROFILE1D_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 IProfile1D : virtual public IProfile { 00029 00030 public: 00032 virtual ~IProfile1D() { /* nop */; } 00033 00038 virtual bool fill(double x, double y, double weight = 1) = 0; 00039 00046 virtual double binMean(int index) const = 0; 00047 00052 virtual int binEntries(int index) const = 0; 00053 00058 virtual double binHeight(int index) const = 0; 00059 00064 virtual double binError(int index) const = 0; 00065 00071 virtual double binRms(int index) const = 0; 00072 00076 virtual double mean() const = 0; 00077 00081 virtual double rms() const = 0; 00082 00086 virtual const IAxis & axis() const = 0; 00087 00092 virtual int coordToIndex(double coord) const = 0; 00093 00100 virtual bool add(const IProfile1D & profile) = 0; 00101 }; // class 00102 }; // namespace AIDA 00103 #endif /* ifndef AIDA_IPROFILE1D_H */