BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPhokharaDef.hh
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 --
11extern "C" struct {
13 double ebeam,ver_s,rmass[10],momenta[4][15];
15 double mnt,mKp,mKn;
17 double mlamb;
19
20
21// --- cuts ---
22extern "C" struct
23{
27
28
29// --- Kaons masses and gamms
30extern "C" struct
31{
36
37
38// --- Pions pi+pi- masses and gamms
39extern "C" struct
40{
45
46
47// --- Lambdas
48extern "C" struct
49{
52
53
54// --- histograms ---
55typedef struct{char val[20];} titledef;
56
57extern "C" struct
58{
60 int bins[20];
63
64
65// --- Maxima ---
66extern "C" struct
67{
69 int iprint;
71
72
73// --- flags --
74extern "C" struct
75{
78
79
80PROTOCCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT)
81#define RLXDINIT(LUXURY,SEED) CCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT,LUXURY,SEED)
82
83PROTOCCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV)
84#define RLXDRESETF(SEED) CCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV, SEED)
85
87#define INPUT() CCALLSFSUB0(INPUT,input)
88
89//PROTOCCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING);
90//#define INPUT(NGES,NM,OUTFILE) CCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING,NGES,NM,OUTFILE)
91
92//PROTOCCALLSFSUB0(INITHISTO,inithisto);
93//#define INITHISTO() CCALLSFSUB0(INITHISTO,inithisto)
94
95//PROTOCCALLSFSUB0(ENDHISTO,endhisto);
96//#define ENDHISTO() CCALLSFSUB0(ENDHISTO,endhisto)
97
98//PROTOCCALLSFSUB0(WRITEEVENT,writeevent);
99//#define WRITEEVENT() CCALLSFSUB0(WRITEEVENT,writeevent)
100
101PROTOCCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV,INT)
102#define RANLXDF(AR, VAL) CCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV, INT, AR, VAL)
103
104PROTOCCALLSFSUB7(GEN_1PH,gen_1ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
105#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)
106
107PROTOCCALLSFSUB8(GEN_2PH,gen_2ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
108#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)
109
110#endif
double m_rho3_pion
double mlamb
titledef title[20]
struct @17 flags_
DOUBLE_PRECISION count[2]
int narr_res
double alpha
double gmin
double m_rho2_Kp
double mnt
double mpi
double accecut
double m_rho0_pion
double g_rho0_pion
double pi
double ratio_lamb
DOUBLE_PRECISION xup[20]
#define RLXDINIT(LUXURY, SEED)
int nlo
#define INPUT()
struct @15 histo_
double m_rho1_Kp
int bins[20]
#define GEN_1PH(I, QQMIN, QQMAX, COS1MIN, COS1MAX, COS3MIN, COS3MAX)
double rmass[10]
double me
double momenta[4][15]
double phot1cut
double g_rho3_pion
struct @13 mass_gamm_pion_
double gev2nbarn
int FF_kaon
double piphcut
DOUBLE_PRECISION xlow[20]
double g_rho2_pion
#define RANLXDF(AR, VAL)
double m_phi0_Kp
#define RLXDRESETF(SEED)
double q2_min_c
double pi1cut
double g_rho2_Kp
double g_rho0_Kp
double mKn
double q2_max_c
double g_rho1_pion
double Emin
double Sp
double q2min
COMPLEX16 cvac_s_phi
struct @16 maxima_
double g_om2_Kp
double mmu
int fsrnlo
double g_phi1_Kp
double m_om0_Kp
DOUBLE_PRECISION Mmax[2]
struct @10 ctes_
double alpha_lamb
double m_om0_pion
DOUBLE_PRECISION klein[2]
double g_rho1_Kp
double pi2cut
int pion
double m_rho2_pion
double m_om1_Kp
double g_om0_Kp
double gev2pbarn
int iprint
double g_phi0_Kp
double ebeam
double g_om0_pion
double phot2cut
int FF_pion
double g_om1_Kp
int fsr
#define GEN_2PH(I, QQMIN, COS1MIN, COS1MAX, COS2MIN, COS2MAX, COS3MIN, COS3MAX)
struct @14 lambda_par_
double m_rho0_Kp
COMPLEX16 cvac_s_pi
double mp
double m_phi1_Kp
COMPLEX16 cvac_s
struct @12 mass_gamm_Kp_
double ver_s
double m_rho1_pion
struct @11 cuts_
DOUBLE_PRECISION gross[2]
int ivac
double m_om2_Kp
int f0_model
double mKp
DOUBLE_PRECISION tr[2]
double w
double mpi0
#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)