Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:24:00

0001 // -*- C++ -*-
0002 #ifndef Herwig_OmnesFunction_H
0003 #define Herwig_OmnesFunction_H
0004 //
0005 // This is the declaration of the OmnesFunction class.
0006 //
0007 
0008 #include "ThePEG/Interface/Interfaced.h"
0009 #include "OmnesFunction.fh"
0010 #include "Herwig/Utilities/Interpolator.h"
0011 
0012 namespace Herwig {
0013 
0014 using namespace ThePEG;
0015 
0016 /**
0017  * The OmnesFunction class provides a base class for the implementation of the Omnes function.
0018  *
0019  * @see \ref OmnesFunctionInterfaces "The interfaces"
0020  * defined for OmnesFunction.
0021  */
0022 class OmnesFunction: public Interfaced {
0023 
0024 public:
0025 
0026   /**
0027    *  Method to return the function value
0028    */
0029   virtual Complex D(Energy2 s) const = 0;
0030 
0031   /**
0032    * Output the setup information for the particle database
0033    * @param os The stream to output the information to
0034    * @param header Whether or not to output the information for MySQL
0035    * @param create Whether or not to add a statement creating the object
0036    */
0037   virtual void dataBaseOutput(ofstream & os,bool header,bool create) const = 0;
0038 
0039 public:
0040 
0041   /**
0042    * The standard Init function used to initialize the interfaces.
0043    * Called exactly once for each class by the class description system
0044    * before the main function starts or
0045    * when this class is dynamically loaded.
0046    */
0047   static void Init();
0048 
0049 
0050 // If needed, insert declarations of virtual function defined in the
0051 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
0052 
0053 
0054 private:
0055 
0056   /**
0057    * The assignment operator is private and must never be called.
0058    * In fact, it should not even be implemented.
0059    */
0060   OmnesFunction & operator=(const OmnesFunction &) = delete;
0061 
0062 };
0063 
0064 }
0065 
0066 #endif /* Herwig_OmnesFunction_H */