/usr/include/LWH/AIHistogram1D.h is in librivet-dev 1.8.3-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | // -*- C++ -*-
#ifndef LWH_AIHistogram1D_H
#define LWH_AIHistogram1D_H
#ifndef LWH_USING_AIDA
/** @cond DONT_DOCUMENT_STRIPPED_DOWN_AIDA_INTERFACES */
#include "AIBaseHistogram.h"
namespace AIDA {
class IAnnotation;
class IHistogram : virtual public IBaseHistogram {
public:
virtual ~IHistogram() {}
virtual int allEntries() const = 0;
virtual int extraEntries() const = 0;
virtual double equivalentBinEntries() const = 0;
virtual double sumBinHeights() const = 0;
virtual double sumAllBinHeights() const = 0;
virtual double sumExtraBinHeights() const = 0;
virtual double minBinHeight() const = 0;
virtual double maxBinHeight() const = 0;
};
class IAxis;
class IHistogram1D: virtual public IHistogram {
public:
virtual ~IHistogram1D() {}
virtual bool fill(double x, double weight = 1.) = 0;
virtual double binMean(int index) const = 0;
virtual int binEntries(int index) const = 0;
virtual double binHeight(int index) const = 0;
virtual double binError(int index) const = 0;
virtual double mean() const = 0;
virtual double rms() const = 0;
virtual const IAxis & axis() const = 0;
virtual int coordToIndex(double coord) const = 0;
virtual bool add(const IHistogram1D & hist) = 0;
virtual bool scale(double scaleFactor) = 0;
};
}
/** @endcond */
#else
#include "AIDA/IHistogram1D.h"
#endif
#endif /* LWH_AIHistogram1D_H */
|