BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
qcdloop1.h
Go to the documentation of this file.
1/*
2 * qcdloop1.h - header file for QCDLoop1 library
3 *
4 */
5
6#ifndef QCDLOOP1_H
7#define QCDLOOP1_H
8
9/* NB endline spaces are significant */
10#ifdef QL_BUILDSYMS
11# define QL_EXPORT(type) QL_EXPORT_MARK
12#else
13# define QL_EXPORT(type) type
14#endif
15
16/* if language is C++ use standard complex template type */
17#ifdef __cplusplus
18# include <complex>
19# define QL_DEFINE_COMPLEX(R, C) typedef std::complex<R> C
20#else
21/* if <complex.h> is included, use the C99 complex type.
22 * else define a type bit-compatible with C99 complex */
23# if defined(_Complex_I) && defined(complex) && defined(I)
24# define QL_DEFINE_COMPLEX(R, C) typedef R _Complex C
25# else
26# define QL_DEFINE_COMPLEX(R, C) typedef struct { R re,im; } C
27# endif
28#endif
29
30QL_DEFINE_COMPLEX(double, ql_cmplx_dbl);
31
32#ifdef __cplusplus
33extern "C" {
34#endif /* __cplusplus */
35
36typedef struct ffprec_struct {
37 double xloss;
38 double precx;
39 double precc;
40 double xalogm;
41 double xclogm;
42 double xalog2;
43 double xclog2;
44 double reqprc;
46
47typedef struct ffflag_struct {
48 int lwrite;
49 int ltest;
50 int l4also;
51 int ldc3c4;
52 int lmem;
53 int lwarn;
54 int ldot;
55 int nevent;
56 int ner;
57 int id;
58 int idsub;
59 int nwidth;
60 int nschem;
61 int onshel;
62 int idot;
64
65QL_EXPORT(void) qlinit_();
66QL_EXPORT(void) ffexi_();
67
68#ifdef USE_F2C
69QL_EXPORT(void) qli1_(ql_cmplx_dbl *rslt, double *m1, double *mu2, int *ep);
70QL_EXPORT(void) qli2_(ql_cmplx_dbl *rslt, double *p1, double *m1, double *m2, double *mu2, int *ep);
71QL_EXPORT(void) qli3_(ql_cmplx_dbl *rslt, double *p1, double *p2, double *p3, double *m1, double *m2, double *m3, double *mu2, int *ep);
72QL_EXPORT(void) qli4_(ql_cmplx_dbl *rslt, double *p1, double *p2, double *p3, double *p4, double *s12, double *s23, double *m1, double *m2, double *m3, double *m4, double *mu2, int *ep);
73#else
74QL_EXPORT(ql_cmplx_dbl) qli1_(double *m1, double *mu2, int *ep);
75QL_EXPORT(ql_cmplx_dbl) qli2_(double *p1, double *m1, double *m2, double *mu2, int *ep);
76QL_EXPORT(ql_cmplx_dbl) qli3_(double *p1, double *p2, double *p3, double *m1, double *m2, double *m3, double *mu2, int *ep);
77QL_EXPORT(ql_cmplx_dbl) qli4_(double *p1, double *p2, double *p3, double *p4, double *s12, double *s23, double *m1, double *m2, double *m3, double *m4, double *mu2, int *ep);
78#endif
79
80extern QL_EXPORT(struct ffprec_struct) ffprec_;
81extern QL_EXPORT(struct ffflag_struct) ffflag_;
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif /* QCDLOOP1_H */
double double double double double * m3
Definition: qcdloop1.h:76
#define QL_EXPORT(type)
Definition: qcdloop1.h:13
double double double * p4
Definition: qcdloop1.h:77
double double double double * s12
Definition: qcdloop1.h:77
double double double double double * s23
Definition: qcdloop1.h:77
#define QL_DEFINE_COMPLEX(R, C)
Definition: qcdloop1.h:26
struct ffprec_struct ffprec_type
double double double double double double double double double * m4
Definition: qcdloop1.h:77
double * p2
Definition: qcdloop1.h:76
struct ffflag_struct ffflag_type
double int * ep
Definition: qcdloop1.h:74
double * mu2
Definition: qcdloop1.h:74
double * m1
Definition: qcdloop1.h:75
double double * p3
Definition: qcdloop1.h:76
double double * m2
Definition: qcdloop1.h:75
double reqprc
Definition: qcdloop1.h:44
double precx
Definition: qcdloop1.h:38
double xclog2
Definition: qcdloop1.h:43
double xclogm
Definition: qcdloop1.h:41
double xalogm
Definition: qcdloop1.h:40
double xloss
Definition: qcdloop1.h:37
double xalog2
Definition: qcdloop1.h:42
double precc
Definition: qcdloop1.h:39