BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EkharaDef.h
Go to the documentation of this file.
1#include "cfortran/cfortran.h"
2
3/*************************************/
4//!- COMMON blocks of the FORTRAN code
5/*************************************/
6
7typedef struct
8{
10 int NLO1P;
11 int VPSW;
14#define CHANNELSEL COMMON_BLOCK(CHANNELSEL_DEF, channelsel)
15
17
18
19typedef struct
20{
21 int sw_2pi,sw_1pi;
23#define SWDIAG COMMON_BLOCK(SWDIAG_DEF, swdiag)
24
26
27
28typedef struct
29{
32#define PIONFFSW COMMON_BLOCK(PIONFFSW_DEF, pionffsw)
33
35
36
37typedef struct
38{
41#define TAGGINGMODE COMMON_BLOCK(TAGGINGMODE_DEF, taggingmode)
42
44
45
46typedef struct
47{
50#define FFPARAMSET COMMON_BLOCK(FFPARAMSET,ffparamset)
51
53
54
55typedef struct
56{
57 int EvtPhTyp,writable,weighted;
59#define NLOTYPE COMMON_BLOCK(NLOTYPE,nlotype)
60
62
63
64/************************************/
65//!- functions of the FORTRAN code
66/************************************/
67
68PROTOCCALLSFSUB1(EKHARA,ekhara,INT)
69#define EKHARA(i) CCALLSFSUB1(EKHARA,ekhara,INT,i)
70
72#define RUN_EKHARA_WW() CCALLSFSUB0(RUN_EKHARA_WW,run_ekhara_ww)
73
74PROTOCCALLSFSUB1(BOSS_INIT_EKHARA,boss_init_ekhara,DOUBLEV)
75#define BOSS_INIT_EKHARA(xpar) CCALLSFSUB1(BOSS_INIT_EKHARA,boss_init_ekhara,DOUBLEV,xpar)
76
78#define DIAGNOSE() CCALLSFSUB0(DIAGNOSE,diagnose)
79
80PROTOCCALLSFFUN0(DOUBLE,GET_WEIGHT,get_weight)
81#define GET_WEIGHT() CCALLSFFUN0(GET_WEIGHT,get_weight)
82
83PROTOCCALLSFSUB1(GET_TWOPI_WEIGHTS,get_twopi_weights,DOUBLEV)
84#define GET_TWOPI_WEIGHTS(weights) CCALLSFSUB1(GET_TWOPI_WEIGHTS,get_twopi_weights,DOUBLEV,weights)
85
86PROTOCCALLSFSUB4(GET_FOURMOMENTA_LEPTONS,get_fourmomenta_leptons,DOUBLEV,DOUBLEV,DOUBLEV,DOUBLEV)
87#define GET_FOURMOMENTA_LEPTONS(p1,p2,q1,q2) CCALLSFSUB4(GET_FOURMOMENTA_LEPTONS,get_fourmomenta_leptons,DOUBLEV,DOUBLEV,DOUBLEV,DOUBLEV,p1,p2,q1,q2)
88
89PROTOCCALLSFSUB2(GET_FOURMOMENTA_TWOPI,get_fourmomenta_twopi,DOUBLEV,DOUBLEV)
90#define GET_FOURMOMENTA_TWOPI(pi1,pi2) CCALLSFSUB2(GET_FOURMOMENTA_TWOPI,get_fourmomenta_twopi,DOUBLEV,DOUBLEV,pi1,pi2)
91
92PROTOCCALLSFSUB1(GET_FOURMOMENTA_PION,get_fourmomenta_pion,DOUBLEV)
93#define GET_FOURMOMENTA_PION(qpion) CCALLSFSUB1(GET_FOURMOMENTA_PION,get_fourmomenta_pion,DOUBLEV,qpion)
94
95PROTOCCALLSFSUB1(GET_FOURMOMENTA_CHICJ,get_fourmomenta_chicj,DOUBLEV)
96#define GET_FOURMOMENTA_CHICJ(qcj) CCALLSFSUB1(GET_FOURMOMENTA_CHICJ,get_fourmomenta_chicj,DOUBLEV,qcj)
97
98PROTOCCALLSFSUB1(GET_FOURMOMENTA_PHOTON,get_fourmomenta_photon,DOUBLEV)
99#define GET_FOURMOMENTA_PHOTON(kphp) CCALLSFSUB1(GET_FOURMOMENTA_PHOTON,get_fourmomenta_photon,DOUBLEV,kphp)
100
101PROTOCCALLSFSUB2(GET_FINAL_MESON_INFO,get_final_meson_info,INT,DOUBLEV)
102#define GET_FINAL_MESON_INFO(i,mfp) CCALLSFSUB2(GET_FINAL_MESON_INFO,get_final_meson_info,INT,DOUBLEV,i,mfp)
103#define GET_FINAL_MESON_INFO(i,tnpfinpar) CCALLSFSUB2(GET_FINAL_MESON_INFO,get_final_meson_info,INT,DOUBLEV,i,tnpfinpar)
104
105PROTOCCALLSFSUB1(GET_FINAL_MESON_1PH_INFO,get_final_meson_1ph_info,DOUBLEV)
106#define GET_FINAL_MESON_1PH_INFO(mfp1ph) CCALLSFSUB1(GET_FINAL_MESON_1PH_INFO,get_final_meson_1ph_info,DOUBLEV,mfp1ph)
107
108PROTOCCALLSFSUB1(GET_FINAL_TWOPI_INFO,get_final_twopi_info,DOUBLEV)
109#define GET_FINAL_TWOPI_INFO(pipifinpar) CCALLSFSUB1(GET_FINAL_TWOPI_INFO,get_final_twopi_info,DOUBLEV,pipifinpar)
110
111PROTOCCALLSFSUB1(GET_FINAL_CHICJ_INFO,get_final_chicj_info,DOUBLEV)
112#define GET_FINAL_CHICJ_INFO(chicjfinpar) CCALLSFSUB1(GET_FINAL_CHICJ_INFO,get_final_chicj_info,DOUBLEV,chicjfinpar)
113
114
115
#define CHANNELSEL
Definition EkharaDef.h:14
#define GET_FOURMOMENTA_CHICJ(qcj)
Definition EkharaDef.h:96
#define GET_FINAL_CHICJ_INFO(chicjfinpar)
Definition EkharaDef.h:112
#define GET_FINAL_MESON_1PH_INFO(mfp1ph)
Definition EkharaDef.h:106
#define GET_FINAL_MESON_INFO(i, mfp)
Definition EkharaDef.h:102
#define GET_FOURMOMENTA_TWOPI(pi1, pi2)
Definition EkharaDef.h:90
#define EKHARA(i)
Definition EkharaDef.h:69
#define GET_FOURMOMENTA_PHOTON(kphp)
Definition EkharaDef.h:99
#define TAGGINGMODE
Definition EkharaDef.h:41
#define SWDIAG
Definition EkharaDef.h:23
#define GET_FINAL_TWOPI_INFO(pipifinpar)
Definition EkharaDef.h:109
#define GET_FOURMOMENTA_PION(qpion)
Definition EkharaDef.h:93
#define NLOTYPE
Definition EkharaDef.h:59
#define PIONFFSW
Definition EkharaDef.h:32
#define GET_WEIGHT()
Definition EkharaDef.h:81
#define BOSS_INIT_EKHARA(xpar)
Definition EkharaDef.h:75
#define DIAGNOSE()
Definition EkharaDef.h:78
#define RUN_EKHARA_WW()
Definition EkharaDef.h:72
#define FFPARAMSET
Definition EkharaDef.h:50
#define GET_FOURMOMENTA_LEPTONS(p1, p2, q1, q2)
Definition EkharaDef.h:87
#define GET_TWOPI_WEIGHTS(weights)
Definition EkharaDef.h:84
#define COMMON_BLOCK_DEF(DEFINITION, NAME)
Definition cfortran.h:271
#define PROTOCCALLSFSUB2(UN, LN, T1, T2)
Definition cfortran.h:1003
#define PROTOCCALLSFSUB4(UN, LN, T1, T2, T3, T4)
Definition cfortran.h:1007
#define PROTOCCALLSFFUN0(F, UN, LN)
Definition cfortran.h:1830
#define PROTOCCALLSFSUB0(UN, LN)
Definition cfortran.h:1082
#define PROTOCCALLSFSUB1(UN, LN, T1)
Definition cfortran.h:1001