File indexing completed on 2026-08-06 09:38:17
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LWH_AIAxis_H
0010 #define LWH_AIAxis_H
0011
0012
0013
0014
0015
0016 namespace AIDA {
0017
0018 class IAxis {
0019
0020 public:
0021
0022 virtual ~IAxis() {}
0023
0024 virtual bool isFixedBinning() const = 0;
0025 virtual double lowerEdge() const = 0;
0026 virtual double upperEdge() const = 0;
0027 virtual int bins() const = 0;
0028 virtual double binLowerEdge(int index) const = 0;
0029 virtual double binUpperEdge(int index) const = 0;
0030 virtual double binWidth(int) const = 0;
0031 virtual int coordToIndex(double coord) const = 0;
0032
0033 enum { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 };
0034
0035 };
0036
0037 }
0038
0039
0040
0041
0042
0043
0044
0045 #endif