Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:10:08

0001 #ifndef PDF_CJKL_CJKph_Fortran_Interface_H
0002 #define PDF_CJKL_CJKph_Fortran_Interface_H
0003 
0004 #include "ATOOLS/Phys/Flavour.H"
0005 #include "PDF/Main/PDF_Base.H"
0006 
0007 namespace PDF {
0008 class CJKph_Fortran_Interface : public PDF_Base {
0009 private:
0010   std::string m_path;
0011   double m_d, m_u, m_s, m_c, m_b, m_g;
0012   int m_nf, m_iset;
0013 
0014 public:
0015   CJKph_Fortran_Interface(const ATOOLS::Flavour, const std::string _set);
0016   PDF_Base *GetCopy();
0017 
0018   void CalculateSpec(const double &, const double &);
0019   double GetXPDF(const ATOOLS::Flavour &);
0020   double GetXPDF(const kf_code&, bool);
0021 
0022     double GetXMin()   { return 1.e-5; }
0023     double GetXMax()   { return 1.; }
0024     double GetQ2Min()  { return 1.; }
0025     double GetQ2Max()  { return 2.e5; }
0026   };
0027 
0028   /*!
0029     \class CJKph_Fortran_Interface
0030     \brief An interface to the CJK photon distributions.
0031   */
0032   /*!
0033     \var std::string CJKph_Fortran_Interface::m_path
0034     The path from where the initial pdfs and grids are to be loaded in. This
0035     will be handed over to the corresponding Fortran subroutine as a char*.
0036   */
0037   }
0038 
0039 #endif