fast pQCD calculations for hadron-induced processes
fastNLOQCDNUMAS.h
1 // Author: Daniel Britzger
2 // DESY, 20/04/2012
3 
5 // //
6 // fastNLO_reader_2.1.0 //
7 // D. Britzger, T. Kluge, K. Rabbertz, F. Stober, M. Wobisch //
8 // //
9 // The projects web page can be found at: //
10 // http://projects.hepforge.org/fastnlo //
11 // //
12 // If you use this code, please cite: //
13 // T. Kluge, K. Rabbertz and M. Wobisch, hep-ph/0609285 //
14 // D. Britzger, T. Kluge, K. Rabbertz, F. Stober, M. Wobisch, //
15 // arXiv:1109.1310 //
16 // //
18 
20 //
21 // fastNLOAlphas
22 // This class inherits the PDF interface from
23 // fastNLOLHAPDF, while the alpha_s evolution
24 // is superseeded by the Alphas.h class.
25 //
27 #ifndef FASTNLOQCDNUMAS
28 #define FASTNLOQCDNUMAS
29 
30 #include "fastNLOLHAPDF.h"
31 
32 
33 
34 extern "C" {
35  double asfunc_(double* r2, int* nf , int* ierr);
36  double qcinit_(int* lun, char* filename, int);
37  double setalf_(double* alfs, double* r2);
38  double setord_(int* iord);
39  double setcbt_(int* nfix, int* iqc, int* iqb, int* iqt);
40  double gqmake_(double* qarr, double* wgt, int* n, int* nqin, int* nqout);
41  int iqfrmq_(double* q2);
42 }
43 
45 
46 public:
47  fastNLOQCDNUMAS(std::string name);
48  fastNLOQCDNUMAS(std::string name, std::string LHAPDFFile, int PDFSet);
49  //inherited
50  void CalcCrossSection();
51 
52  void InitEvolveAlphas();
53  // ---- Alphas vars ---- //
54  // Setters
55  void SetMz(double Mz);
56  void SetNFlavor(int nflavor);
57  void SetNLoop(int nloop);
58  void SetQMass(int pdgid, double qmass);
59  void SetAlphasMz(double AlphasMz , bool ReCalcCrossSection = false);
60  void SetPDGValues();
61  void SetLHAPDFValues();
62  // Getters
63  double GetMz() const;
64  double GetQMass(int pdgid) const;
65  int GetNFlavor(int nflavor) const;
66  int GetNLoop() const;
67  double GetAlphasMz() const;
68 
69 
70 
71 protected:
72 
73  // inherited functions
74  double EvolveAlphas(double Q) const ;
75  // ---- Alphas vars ---- //
76  double fAlphasMz;
77  double fMz;
78  int fnFlavor;
79  int fnLoop;
80  double QMass[6];
81 
82 
83 };
84 
85 #endif
Definition: fastNLOLHAPDF.h:28
Definition: fastNLOQCDNUMAS.h:44