RAIDA  1.9.0
IHistogram.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_IHISTOGRAM_H
8 #define AIDA_IHISTOGRAM_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 "AIDA/IBaseHistogram.h"
16 
17 namespace AIDA {
18 
26 class IHistogram : virtual public IBaseHistogram {
27 
28 public:
30  virtual ~IHistogram() { /* nop */; }
31 
40  virtual int allEntries() const = 0;
41 
47  virtual int extraEntries() const = 0;
48 
54 
62  virtual double sumBinHeights() const = 0;
63 
70  virtual double sumAllBinHeights() const = 0;
71 
77  virtual double sumExtraBinHeights() const = 0;
78 
85  virtual double minBinHeight() const = 0;
86 
93  virtual double maxBinHeight() const = 0;
94 
102  virtual bool scale(double scaleFactor) = 0;
103 }; // class
104 } // namespace AIDA
105 #endif /* ifndef AIDA_IHISTOGRAM_H */
virtual ~IHistogram()
Destructor.
Definition: IHistogram.h:30
virtual double minBinHeight() const =0
Minimum height of the in-range bins, i.e.
virtual double maxBinHeight() const =0
Maximum height of the in-range bins, i.e.
virtual int allEntries() const =0
Sum of the entries in all the IHistogram's bins, i.e in-range bins, UNDERFLOW and OVERFLOW...
virtual int extraEntries() const =0
Number of entries in the UNDERFLOW and OVERFLOW bins.
virtual double sumBinHeights() const =0
Number of equivalent entries, i.e.
class IAnnotation;
Definition: IBaseHistogram.h:29
virtual double sumAllBinHeights() const =0
Sum of the heights of all the IHistogram's bins, i.e in-range bins, UNDERFLOW and OVERFLOW...
virtual double sumExtraBinHeights() const =0
Sum of heights in the UNDERFLOW and OVERFLOW bins.
virtual bool scale(double scaleFactor)=0
Scale the weights and the errors of all the IHistogram's bins (in-range and out-of-range ones) by a g...
User level interface to Histogram.
Definition: IHistogram.h:26