BOSS 7.1.3
BESIII Offline Software System
Loading...
Searching...
No Matches
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 ---
19
20#define CTES COMMON_BLOCK(CTES_DEF, ctes)
22
23// --- cuts ---
29
30#define CUTS COMMON_BLOCK(CUTS_DEF, cuts)
32
33// --- Kaons masses and gamms
40
41#define MASS_GAMM_KP COMMON_BLOCK(MASS_GAMM_KP_DEF, mass_gamm_Kp)
43
44// --- Pions pi+pi- masses and gamms
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
#define INPUT
Definition BesBdkRc.cxx:35
#define FLAGS
Definition BesBdkRc.cxx:82
#define RLXDINIT(LUXURY, SEED)
#define GEN_1PH(I, QQMIN, QQMAX, COS1MIN, COS1MAX, COS3MIN, COS3MAX)
#define RANLXDF(AR, VAL)
#define RLXDRESETF(SEED)
#define GEN_2PH(I, QQMIN, COS1MIN, COS1MAX, COS2MIN, COS2MAX, COS3MIN, COS3MAX)
#define HISTO
Definition PhokharaDef.h:74
#define MASS_GAMM_KP
Definition PhokharaDef.h:41
#define CTES
Definition PhokharaDef.h:20
#define LAMBDA_PAR
Definition PhokharaDef.h:61
#define MAXIMA
Definition PhokharaDef.h:84
#define CUTS
Definition PhokharaDef.h:30
#define MASS_GAMM_PION
Definition PhokharaDef.h:52
#define COMMON_BLOCK_DEF(DEFINITION, NAME)
Definition cfortran.h:271
#define PROTOCCALLSFSUB2(UN, LN, T1, T2)
Definition cfortran.h:1003
#define DOUBLE_PRECISION
Definition cfortran.h:219
#define PROTOCCALLSFSUB7(UN, LN, T1, T2, T3, T4, T5, T6, T7)
Definition cfortran.h:1013
#define PROTOCCALLSFSUB0(UN, LN)
Definition cfortran.h:1082
#define PROTOCCALLSFSUB1(UN, LN, T1)
Definition cfortran.h:1001
#define PROTOCCALLSFSUB8(UN, LN, T1, T2, T3, T4, T5, T6, T7, T8)
Definition cfortran.h:1015
double pi
Definition PhokharaDef.h:12
double Sp
Definition PhokharaDef.h:12
double ver_s
Definition PhokharaDef.h:13
COMPLEX16 cvac_s_phi
Definition PhokharaDef.h:16
double gev2pbarn
Definition PhokharaDef.h:12
double mpi0
Definition PhokharaDef.h:12
COMPLEX16 cvac_s
Definition PhokharaDef.h:14
double rmass[10]
Definition PhokharaDef.h:13
double mlamb
Definition PhokharaDef.h:17
double mKp
Definition PhokharaDef.h:15
double mp
Definition PhokharaDef.h:12
double mKn
Definition PhokharaDef.h:15
double ebeam
Definition PhokharaDef.h:13
COMPLEX16 cvac_s_pi
Definition PhokharaDef.h:16
double alpha
Definition PhokharaDef.h:12
double momenta[4][15]
Definition PhokharaDef.h:13
double mpi
Definition PhokharaDef.h:12
double mnt
Definition PhokharaDef.h:15
double mmu
Definition PhokharaDef.h:12
double me
Definition PhokharaDef.h:12
double gev2nbarn
Definition PhokharaDef.h:12
double w
Definition PhokharaDef.h:27
double pi1cut
Definition PhokharaDef.h:26
double q2_min_c
Definition PhokharaDef.h:27
double gmin
Definition PhokharaDef.h:26
double Emin
Definition PhokharaDef.h:26
double phot1cut
Definition PhokharaDef.h:26
double piphcut
Definition PhokharaDef.h:27
double accecut
Definition PhokharaDef.h:27
double q2_max_c
Definition PhokharaDef.h:27
double pi2cut
Definition PhokharaDef.h:26
double q2min
Definition PhokharaDef.h:27
double phot2cut
Definition PhokharaDef.h:26
DOUBLE_PRECISION xlow[20]
Definition PhokharaDef.h:69
DOUBLE_PRECISION xup[20]
Definition PhokharaDef.h:69
int bins[20]
Definition PhokharaDef.h:70
titledef title[20]
Definition PhokharaDef.h:71
double alpha_lamb
Definition PhokharaDef.h:58
double ratio_lamb
Definition PhokharaDef.h:58
DOUBLE_PRECISION klein[2]
Definition PhokharaDef.h:80
DOUBLE_PRECISION tr[2]
Definition PhokharaDef.h:80
DOUBLE_PRECISION gross[2]
Definition PhokharaDef.h:80
DOUBLE_PRECISION count[2]
Definition PhokharaDef.h:80
DOUBLE_PRECISION Mmax[2]
Definition PhokharaDef.h:80