C++ Interface to Tauola
vbftests.h
1#include "TauSpinner/SimpleParticle.h"
2#include <vector>
3using std::vector;
4
5namespace TauSpinner {
6
7/** Definition of REAL*8 FUNCTION VBDISTR(I1,I2,I3,I4,H1,H2,P,KEY) from VBF_UD.f */
8extern "C" double vbfdistr_(int *I1, int *I2, int *I3, int *I4, int *H1, int *H2, double P[6][4], int *KEY);
9
10/** Simple test
11 only pritnout */
13 void calcTestME2(int iter, double P[6][4]);
14
15/** Simple test for PDFs
16 only printout */
18
19/** calcXsect
20 Returns array W[2][2] */
21 void calcXsect(int IDPROD, SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X,SimpleParticle &tau1, SimpleParticle &tau2, double (&W)[2][2], int KEY);
22
23/** calcProdMatrix
24 Returns array W[2][2] */
25 void calcProdMatrix(SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X,SimpleParticle &tau1, SimpleParticle &tau2, double (&W)[2][2], int KEY, int ID1, int ID2, int ID3, int ID4, int pdfOpt);
26
27/** calcSumME2
28 Returns array W[2][2] */
29 void calcSumME2(SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X,SimpleParticle &tau1, SimpleParticle &tau2, double (&W)[2][2], int KEY, int ID1, int ID2, int ID3, int ID4);
30
31/** calcPDFs
32 Returns array W[2][2] */
33 void calcPDFs(SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X,SimpleParticle &tau1, SimpleParticle &tau2, double (&W)[2][2], int KEY, int ID1, int ID2, int ID3, int ID4, int pdfOpt);
34
35
36 double calculateWeightFromParticlesVBFPROD(int IDPROD, SimpleParticle &p3, SimpleParticle &p4,SimpleParticle &sp_X, SimpleParticle &sp_tau1, SimpleParticle &sp_tau2, vector<SimpleParticle> &sp_tau1_daughters, vector<SimpleParticle> &sp_tau2_daughters, int KEY);
37
38
39} // namespace TauSpinner
double vbfdistr_(int *I1, int *I2, int *I3, int *I4, int *H1, int *H2, double P[6][4], int *KEY)
void makeSimpleTestME2()
Definition: vbftests.cxx:356
void calcSumME2(SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X, SimpleParticle &tau1, SimpleParticle &tau2, double(&W)[2][2], int KEY, int ID1, int ID2, int ID3, int ID4)
Definition: vbftests.cxx:644
void calcPDFs(SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X, SimpleParticle &tau1, SimpleParticle &tau2, double(&W)[2][2], int KEY, int ID1, int ID2, int ID3, int ID4, int pdfOpt)
Definition: vbftests.cxx:710
void makeSimpleTestPDF()
Definition: vbftests.cxx:541
void calcXsect(int IDPROD, SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X, SimpleParticle &tau1, SimpleParticle &tau2, double(&W)[2][2], int KEY)
Definition: vbftests.cxx:41
void calcProdMatrix(SimpleParticle &p3, SimpleParticle &p4, SimpleParticle &sp_X, SimpleParticle &tau1, SimpleParticle &tau2, double(&W)[2][2], int KEY, int ID1, int ID2, int ID3, int ID4, int pdfOpt)
Definition: vbftests.cxx:795