BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
KKMC.cxx File Reference
#include "HepMC/IO_HEPEVT.h"
#include "HepMC/GenEvent.h"
#include "GaudiKernel/DataSvc.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "BesRndmGenSvc/IBesRndmGenSvc.h"
#include "GeneratorObject/McGenEvent.h"
#include "KKMC.h"
#include "KKMCRandom.h"
#include "cfortran/cfortran.h"
#include "EventModel/EventHeader.h"

Go to the source code of this file.

Classes

struct  DDBAR_DEF
struct  PHOTONTAG_DEF
struct  MODEXS_DEF

Macros

#define PSEUMAR_INITIALIZE(ijklin, ntot1n, ntot2n)
#define WHYM_SETDEF(XPAR)
#define MY_PYUPD()
#define KK2F_INITIALIZE(XPAR)
#define HEPEVT_CLEAN()
#define KK2F_MAKE()
#define KK2F_GETKEYSKIP(KEY)
#define PSIPP_DDBARCUT(KEY)
#define KK2F_FINALIZE()
#define KK2F_GETXSECMC(xsecpb, xerrpb)
#define PYLIST(LIST)
#define PYHEPC(ICONV)
#define KK2F_SETEVTGENINTERFACE(KEY)
#define KK2F_GETEVTGENINTERFACE(KEY)
#define HEPEVT_NUMHEP(Nhep)
#define HEPEVT_GETF(POS)
#define HEPEVT_GETFBAR(POS)
#define HEPEVT_GETKFFIN(KFIN)
#define HEPEVT_SETPHOTOSFLAGTRUE(IP)
#define PHOTOS(IP)
#define PHOINI()
#define TURNOFFTAUDECAY()
#define PYUPDA(MUPDA, LFN)
#define DDBARMASS   COMMON_BLOCK( DDBAR_DEF, ddbarmass )
#define PHOTONTAG   COMMON_BLOCK( PHOTONTAG_DEF, photontag )
#define MODEXS   COMMON_BLOCK( MODEXS_DEF, modexs )

Functions

 COMMON_BLOCK_DEF (DDBAR_DEF, DDBARMASS)
 COMMON_BLOCK_DEF (PHOTONTAG_DEF, PHOTONTAG)
 COMMON_BLOCK_DEF (MODEXS_DEF, MODEXS)
void pygive_ (const char *cnfgstr, int length)

Macro Definition Documentation

◆ DDBARMASS

#define DDBARMASS   COMMON_BLOCK( DDBAR_DEF, ddbarmass )

Definition at line 86 of file KKMC.cxx.

Referenced by COMMON_BLOCK_DEF(), and KKMC::initialize().

◆ HEPEVT_CLEAN

#define HEPEVT_CLEAN ( )
Value:
CCALLSFSUB0( HEPEVT_CLEAN, hepevt_clean );
#define HEPEVT_CLEAN()
Definition BesBdkRc.cxx:96

Definition at line 32 of file KKMC.cxx.

◆ HEPEVT_GETF

#define HEPEVT_GETF ( POS)
Value:
CCALLSFSUB1( HEPEVT_GETF, hepevt_getf, PINT, POS );
#define HEPEVT_GETF(POS)
Definition KKMC.cxx:64

Definition at line 64 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ HEPEVT_GETFBAR

#define HEPEVT_GETFBAR ( POS)
Value:
CCALLSFSUB1( HEPEVT_GETFBAR, hepevt_getfbar, PINT, POS );
#define HEPEVT_GETFBAR(POS)
Definition KKMC.cxx:66

Definition at line 66 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ HEPEVT_GETKFFIN

#define HEPEVT_GETKFFIN ( KFIN)
Value:
CCALLSFSUB1( HEPEVT_GETKFFIN, hepevt_getkffin, PINT, KFIN );
#define HEPEVT_GETKFFIN(KFIN)
Definition KKMC.cxx:68

Definition at line 68 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ HEPEVT_NUMHEP

#define HEPEVT_NUMHEP ( Nhep)
Value:
CCALLSFSUB1( HEPEVT_NUMHEP, hepevt_numhep, PINT, Nhep );
#define HEPEVT_NUMHEP(Nhep)
Definition KKMC.cxx:62

Definition at line 62 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ HEPEVT_SETPHOTOSFLAGTRUE

#define HEPEVT_SETPHOTOSFLAGTRUE ( IP)
Value:
CCALLSFSUB1( HEPEVT_SETPHOTOSFLAGTRUE, hepevt_setphotosflagtrue, INT, IP );
#define HEPEVT_SETPHOTOSFLAGTRUE(IP)
Definition KKMC.cxx:70

Definition at line 70 of file KKMC.cxx.

70#define HEPEVT_SETPHOTOSFLAGTRUE( IP ) \
71 CCALLSFSUB1( HEPEVT_SETPHOTOSFLAGTRUE, hepevt_setphotosflagtrue, INT, IP );

Referenced by KKMC::execute().

◆ KK2F_FINALIZE

#define KK2F_FINALIZE ( )
Value:
CCALLSFSUB0( KK2F_FINALIZE, kk2f_finalize );
#define KK2F_FINALIZE()
Definition KKMC.cxx:43

Definition at line 43 of file KKMC.cxx.

Referenced by KKMC::finalize().

◆ KK2F_GETEVTGENINTERFACE

#define KK2F_GETEVTGENINTERFACE ( KEY)
Value:
CCALLSFSUB1( KK2F_GETEVTGENINTERFACE, kk2f_getevtgeninterface, PINT, KEY );
#define KK2F_GETEVTGENINTERFACE(KEY)
Definition KKMC.cxx:58

Definition at line 58 of file KKMC.cxx.

58#define KK2F_GETEVTGENINTERFACE( KEY ) \
59 CCALLSFSUB1( KK2F_GETEVTGENINTERFACE, kk2f_getevtgeninterface, PINT, KEY );

Referenced by KKMC::execute().

◆ KK2F_GETKEYSKIP

#define KK2F_GETKEYSKIP ( KEY)
Value:
CCALLSFSUB1( KK2F_GETKEYSKIP, kk2f_getkeyskip, PINT, KEY );
#define KK2F_GETKEYSKIP(KEY)
Definition KKMC.cxx:37

Definition at line 37 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ KK2F_GETXSECMC

#define KK2F_GETXSECMC ( xsecpb,
xerrpb )
Value:
CCALLSFSUB2( KK2F_GETXSECMC, kk2f_getxsecmc, PDOUBLE, PDOUBLE, xsecpb, xerrpb );
#define KK2F_GETXSECMC(xsecpb, xerrpb)
Definition KKMC.cxx:45

Definition at line 45 of file KKMC.cxx.

45#define KK2F_GETXSECMC( xsecpb, xerrpb ) \
46 CCALLSFSUB2( KK2F_GETXSECMC, kk2f_getxsecmc, PDOUBLE, PDOUBLE, xsecpb, xerrpb );

Referenced by KKMC::finalize().

◆ KK2F_INITIALIZE

#define KK2F_INITIALIZE ( XPAR)
Value:
CCALLSFSUB1( KK2F_INITIALIZE, kk2f_initialize, DOUBLEV, XPAR );
#define KK2F_INITIALIZE(XPAR)
Definition KKMC.cxx:29

Definition at line 29 of file KKMC.cxx.

Referenced by KKMC::execute(), and KKMC::initialize().

◆ KK2F_MAKE

#define KK2F_MAKE ( )
Value:
CCALLSFSUB0( KK2F_MAKE, kk2f_make );
#define KK2F_MAKE()
Definition KKMC.cxx:34

Definition at line 34 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ KK2F_SETEVTGENINTERFACE

#define KK2F_SETEVTGENINTERFACE ( KEY)
Value:
CCALLSFSUB1( KK2F_SETEVTGENINTERFACE, kk2f_setevtgeninterface, INT, KEY );
#define KK2F_SETEVTGENINTERFACE(KEY)
Definition KKMC.cxx:55

Definition at line 55 of file KKMC.cxx.

55#define KK2F_SETEVTGENINTERFACE( KEY ) \
56 CCALLSFSUB1( KK2F_SETEVTGENINTERFACE, kk2f_setevtgeninterface, INT, KEY );

Referenced by KKMC::initialize().

◆ MODEXS

#define MODEXS   COMMON_BLOCK( MODEXS_DEF, modexs )

Definition at line 98 of file KKMC.cxx.

Referenced by COMMON_BLOCK_DEF(), KKMC::initialize(), and INTEGER().

◆ MY_PYUPD

#define MY_PYUPD ( )
Value:
CCALLSFSUB0( MY_PYUPD, my_pyupd );
#define MY_PYUPD()
Definition KKMC.cxx:26

Definition at line 26 of file KKMC.cxx.

Referenced by KKMC::initialize().

◆ PHOINI

#define PHOINI ( )
Value:
CCALLSFSUB0( PHOINI, phoini );
#define PHOINI()
Definition KKMC.cxx:75

Definition at line 75 of file KKMC.cxx.

Referenced by KKMC::initialize().

◆ PHOTONTAG

#define PHOTONTAG   COMMON_BLOCK( PHOTONTAG_DEF, photontag )

Definition at line 92 of file KKMC.cxx.

Referenced by COMMON_BLOCK_DEF(), and KKMC::initialize().

◆ PHOTOS

#define PHOTOS ( IP)
Value:
CCALLSFSUB1( PHOTOS, photos, INT, IP );
#define PHOTOS(IP)
Definition KKMC.cxx:73

Definition at line 73 of file KKMC.cxx.

Referenced by KKMC::execute(), and generator_name().

◆ PSEUMAR_INITIALIZE

#define PSEUMAR_INITIALIZE ( ijklin,
ntot1n,
ntot2n )
Value:
CCALLSFSUB3( PSEUMAR_INITIALIZE, pseumar_initialize, INT, INT, INT, ijklin, ntot1n, ntot2n );
#define PSEUMAR_INITIALIZE(ijklin, ntot1n, ntot2n)
Definition KKMC.cxx:20

Definition at line 20 of file KKMC.cxx.

20#define PSEUMAR_INITIALIZE( ijklin, ntot1n, ntot2n ) \
21 CCALLSFSUB3( PSEUMAR_INITIALIZE, pseumar_initialize, INT, INT, INT, ijklin, ntot1n, ntot2n );

◆ PSIPP_DDBARCUT

#define PSIPP_DDBARCUT ( KEY)
Value:
CCALLSFSUB1( PSIPP_DDBARCUT, psipp_ddbarcut, PINT, KEY );
#define PSIPP_DDBARCUT(KEY)
Definition KKMC.cxx:40

Definition at line 40 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ PYHEPC

#define PYHEPC ( ICONV)
Value:
CCALLSFSUB1( PYHEPC, pyhepc, INT, ICONV );
#define PYHEPC(ICONV)
Definition KKMC.cxx:52

Definition at line 52 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ PYLIST

#define PYLIST ( LIST)
Value:
CCALLSFSUB1( PYLIST, pylist, INT, LIST );
#define PYLIST(LIST)
Definition KKMC.cxx:49

Definition at line 49 of file KKMC.cxx.

Referenced by KKMC::execute().

◆ PYUPDA

#define PYUPDA ( MUPDA,
LFN )
Value:
CCALLSFSUB2( PYUPDA, pyupda, INT, INT, MUPDA, LFN );
#define PYUPDA(MUPDA, LFN)
Definition KKMC.cxx:81

Definition at line 81 of file KKMC.cxx.

Referenced by KKMC::initialize().

◆ TURNOFFTAUDECAY

#define TURNOFFTAUDECAY ( )
Value:
CCALLSFSUB0( TURNOFFTAUDECAY, turnofftaudecay );
#define TURNOFFTAUDECAY()
Definition KKMC.cxx:78

Definition at line 78 of file KKMC.cxx.

Referenced by KKMC::initialize().

◆ WHYM_SETDEF

#define WHYM_SETDEF ( XPAR)
Value:
CCALLSFSUB1( WHYM_SETDEF, whym_setdef, DOUBLEV, XPAR );
#define WHYM_SETDEF(XPAR)
Definition KKMC.cxx:24

Definition at line 24 of file KKMC.cxx.

Referenced by KKMC::initialize().

Function Documentation

◆ COMMON_BLOCK_DEF() [1/3]

COMMON_BLOCK_DEF ( DDBAR_DEF ,
DDBARMASS  )

◆ COMMON_BLOCK_DEF() [2/3]

COMMON_BLOCK_DEF ( MODEXS_DEF ,
MODEXS  )

◆ COMMON_BLOCK_DEF() [3/3]

COMMON_BLOCK_DEF ( PHOTONTAG_DEF ,
PHOTONTAG  )

◆ pygive_()

void pygive_ ( const char * cnfgstr,
int length )
extern