Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:38:17

0001 // -*- C++ -*-
0002 //
0003 // AIAxis.h is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef LWH_AIAxis_H
0010 #define LWH_AIAxis_H
0011 
0012 
0013 
0014 /** @cond DONT_DOCUMENT_STRIPPED_DOWN_AIDA_INTERFACES */
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 /** @endcond */
0040 
0041 
0042 
0043 
0044 
0045 #endif /* LWH_AIAxis_H */