BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Generator/Phokhara/Phokhara-00-00-14/Phokhara/PhokharaDef.h
Go to the documentation of this file.
1#ifndef PHOKHARA__H
2#define PHOKHARA__H
3
4#include "cfortran/cfortran.h"
5#include <string.h>
6
7// common blocks
8typedef struct { double r, i; } COMPLEX16;
9
10// --- couplings, masses, momenta ---
11typedef struct {
13 double ebeam,ver_s,rmass[10],momenta[4][15];
15 double mnt,mKp,mKn;
17 double mlamb;
18} CTES_DEF;
19
20#define CTES COMMON_BLOCK(CTES_DEF, ctes)
22
23// --- cuts ---
24typedef struct
25{
28} CUTS_DEF;
29
30#define CUTS COMMON_BLOCK(CUTS_DEF, cuts)
32
33// --- Kaons masses and gamms
34typedef struct
35{
40
41#define MASS_GAMM_KP COMMON_BLOCK(MASS_GAMM_KP_DEF, mass_gamm_Kp)
43
44// --- Pions pi+pi- masses and gamms
45typedef struct
46{
51
52#define MASS_GAMM_PION COMMON_BLOCK(MASS_GAMM_PION_DEF, mass_gamm_pion)
54
55// --- Lambdas
56typedef struct
57{
60
61#define LAMBDA_PAR COMMON_BLOCK(LAMBDA_PAR_DEF, lambda_par)
63
64// --- histograms ---
65typedef struct{char val[20];} titledef;
66
67typedef struct
68{
70 int bins[20];
72} HISTO_DEF;
73
74#define HISTO COMMON_BLOCK(HISTO_DEF, histo)
76
77// --- Maxima ---
78typedef struct
79{
81 int iprint;
83
84#define MAXIMA COMMON_BLOCK(MAXIMA_DEF, maxima)
86
87// --- flags --
88typedef struct
89{
91} FLAGS_DEF;
92
93#define FLAGS COMMON_BLOCK(FLAGS_DEF, flags)
95
96PROTOCCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT)
97#define RLXDINIT(LUXURY,SEED) CCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT,LUXURY,SEED)
98
99PROTOCCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV)
100#define RLXDRESETF(SEED) CCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV, SEED)
101
103#define INPUT() CCALLSFSUB0(INPUT,input)
104
105//PROTOCCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING);
106//#define INPUT(NGES,NM,OUTFILE) CCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING,NGES,NM,OUTFILE)
107
108//PROTOCCALLSFSUB0(INITHISTO,inithisto);
109//#define INITHISTO() CCALLSFSUB0(INITHISTO,inithisto)
110
111//PROTOCCALLSFSUB0(ENDHISTO,endhisto);
112//#define ENDHISTO() CCALLSFSUB0(ENDHISTO,endhisto)
113
114//PROTOCCALLSFSUB0(WRITEEVENT,writeevent);
115//#define WRITEEVENT() CCALLSFSUB0(WRITEEVENT,writeevent)
116
117PROTOCCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV,INT)
118#define RANLXDF(AR, VAL) CCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV, INT, AR, VAL)
119
120PROTOCCALLSFSUB7(GEN_1PH,gen_1ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
121#define GEN_1PH(I,QQMIN,QQMAX,COS1MIN,COS1MAX,COS3MIN,COS3MAX) CCALLSFSUB7(GEN_1PH,gen_1ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE,I,QQMIN,QQMAX,COS1MIN,COS1MAX,COS3MIN,COS3MAX)
122
123PROTOCCALLSFSUB8(GEN_2PH,gen_2ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
124#define GEN_2PH(I,QQMIN,COS1MIN,COS1MAX,COS2MIN,COS2MAX,COS3MIN,COS3MAX) CCALLSFSUB8(GEN_2PH,gen_2ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE,I,QQMIN,COS1MIN,COS1MAX,COS2MIN,COS2MAX,COS3MIN,COS3MAX)
125
126#endif
const double mpi0
double m_rho3_pion
titledef title[20]
DOUBLE_PRECISION count[2]
int narr_res
double gmin
double m_rho2_Kp
double mnt
double m_rho0_pion
double ratio_lamb
DOUBLE_PRECISION xup[20]
int nlo
double m_rho1_Kp
int bins[20]
double rmass[10]
double momenta[4][15]
double phot1cut
double g_rho3_pion
double gev2nbarn
int FF_kaon
double piphcut
DOUBLE_PRECISION xlow[20]
double g_rho2_pion
double m_phi0_Kp
double q2_min_c
double pi1cut
double g_rho2_Kp
double q2_max_c
double Sp
double q2min
double g_om2_Kp
int fsrnlo
double g_phi1_Kp
double m_om0_Kp
DOUBLE_PRECISION Mmax[2]
double m_om0_pion
DOUBLE_PRECISION klein[2]
double g_rho1_Kp
double pi2cut
double m_rho2_pion
double m_om1_Kp
double gev2pbarn
double phot2cut
int FF_pion
double g_om1_Kp
int fsr
double m_rho0_Kp
COMPLEX16 cvac_s_pi
double m_phi1_Kp
double ver_s
double m_rho1_pion
DOUBLE_PRECISION gross[2]
int ivac
double m_om2_Kp
double mKp
DOUBLE_PRECISION tr[2]
double w
const double mpi
Definition: Gam4pikp.cxx:47
#define COMMON_BLOCK_DEF(DEFINITION, NAME)
#define PROTOCCALLSFSUB2(UN, LN, T1, T2)
#define PROTOCCALLSFSUB7(UN, LN, T1, T2, T3, T4, T5, T6, T7)
#define PROTOCCALLSFSUB1(UN, LN, T1)
#define PROTOCCALLSFSUB8(UN, LN, T1, T2, T3, T4, T5, T6, T7, T8)
#define GEN_1PH(I, QQMIN, QQMAX, COS1MIN, COS1MAX, COS3MIN, COS3MAX)
#define GEN_2PH(I, QQMIN, COS1MIN, COS1MAX, COS2MIN, COS2MAX, COS3MIN, COS3MAX)
const double mmu
Definition: PipiJpsi.cxx:51
const double me
Definition: PipiJpsi.cxx:48
const double mp
Definition: incllambda.cxx:45