GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
singlekaon_xsec.h
Go to the documentation of this file.
1 #include <iostream>
2 #include <iomanip>
3 #include <cmath>
4 
5 // Class initialisation
7 
8  // Physics parameters
9  double pi, amLam, am, amEta, aml, amSig, amk, ampi, Vus;
10 
11  // Input by interaction list generator
12  int ilep, ik;
13 
14  // Input by the kinematics generator
15  double Enu, Ekaon, pkvec;
16 
17  // SU(3) parameters, maybe in UserPhysicsOptions.xml
18  double GeVtocm, fpi, d, f, g, amup, amun, Fm1, Fm2;
19 
20  // Output calculated by cross-section function
21  double Elep, alepvec, aqvec, angkq, aq0;
22 
23 public:
24 
25  // Threshold for given reaction
26  double threshold;
27 
28  // Initialise cross-section calculation
29  void init(double Etot, int type, int reac);
30 
31  // Calculate cross-section
32  double diffxsec(double Tlep, double Tkaon, double theta, double phikq);
33 
34  // Calculate matrix elements
35  double Amatrix_NN(double theta, double phikq);
36  double Amatrix_NP(double theta, double phikq);
37  double Amatrix_PP(double theta, double phikq);
38 
39 };
40 
double Amatrix_NP(double theta, double phikq)
double diffxsec(double Tlep, double Tkaon, double theta, double phikq)
double Amatrix_PP(double theta, double phikq)
double Amatrix_NN(double theta, double phikq)
void init(double Etot, int type, int reac)