BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
BesBdkRc.cxx File Reference
#include "BesBdkRc/BesBdkRc.h"
#include "BesBdkRc/BesBdkRcRandom.h"
#include "HepMC/GenEvent.h"
#include "HepMC/HEPEVT_Wrapper.h"
#include "HepMC/IO_HEPEVT.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/DataSvc.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "BesKernel/IBesRndmGenSvc.h"
#include "GeneratorObject/McGenEvent.h"
#include "cfortran/cfortran.h"
#include <cstdlib>
#include <cassert>

Go to the source code of this file.

Classes

struct  INPUT_DEF
 
struct  PCONST_DEF
 
struct  FINCUT_DEF
 
struct  LOCALC_DEF
 
struct  COLCHC_DEF
 
struct  DELPHC_DEF
 
struct  XSECTC_DEF
 
struct  FLAGS_DEF
 
struct  LUJETS_DEF
 

Macros

#define INPUT   COMMON_BLOCK(INPUT_DEF,input)
 
#define PCONST   COMMON_BLOCK(PCONST_DEF, pconst)
 
#define FINCUT   COMMON_BLOCK(FINCUT_DEF, fincut)
 
#define LOCALC   COMMON_BLOCK(LOCALC_DEF, localc)
 
#define COLCHC   COMMON_BLOCK(COLCHC_DEF, colchc)
 
#define DELPHC   COMMON_BLOCK(DELPHC_DEF, delphc)
 
#define XSECTC   COMMON_BLOCK(XSECTC_DEF, xsectc)
 
#define FLAGS   COMMON_BLOCK(FLAGS_DEF, flags)
 
#define LUJETS   COMMON_BLOCK(LUJETS_DEF,lujets)
 
#define LUHEPC(ICONV)   CCALLSFSUB1(LUHEPC, luhepc, INT, ICONV)
 
#define LULIST(ICONV)   CCALLSFSUB1(LULIST, lulist, INT, ICONV)
 
#define HEPEVT_CLEAN()   CCALLSFSUB0(HEPEVT_CLEAN, hepevt_clean)
 
#define HEPEVT_PRINT()   CCALLSFSUB0(HEPEVT_PRINT, hepevt_print)
 
#define BDKRC(IDUMP)   CCALLSFSUB1(BDKRC, bdkrc, INT, IDUMP)
 
#define FINISH(IN, SIGT, ER)   CCALLSFSUB3(FINISH,finish,PINT,PDOUBLE,PDOUBLE,IN,SIGT,ER)
 
#define RLUXGO(lux, ISEED, K1, K2)   CCALLSFSUB4(RLUXGO,rluxgo,INT,INT,INT,INT,lux,ISEED,K1,K2)
 
#define GEN_INIT()   CCALLSFSUB0(GEN_INIT, gen_init)
 
#define GEN1EVT()   CCALLSFSUB0(GEN1EVT, gen1evt)
 

Functions

 COMMON_BLOCK_DEF (INPUT_DEF, INPUT)
 
 COMMON_BLOCK_DEF (PCONST_DEF, PCONST)
 
 COMMON_BLOCK_DEF (FINCUT_DEF, FINCUT)
 
 COMMON_BLOCK_DEF (LOCALC_DEF, LOCALC)
 
 COMMON_BLOCK_DEF (COLCHC_DEF, COLCHC)
 
 COMMON_BLOCK_DEF (DELPHC_DEF, DELPHC)
 
 COMMON_BLOCK_DEF (XSECTC_DEF, XSECTC)
 
 COMMON_BLOCK_DEF (FLAGS_DEF, FLAGS)
 
 COMMON_BLOCK_DEF (LUJETS_DEF, LUJETS)
 
float flat_ ()
 

Macro Definition Documentation

◆ BDKRC

#define BDKRC (   IDUMP)    CCALLSFSUB1(BDKRC, bdkrc, INT, IDUMP)

Definition at line 106 of file BesBdkRc.cxx.

◆ COLCHC

#define COLCHC   COMMON_BLOCK(COLCHC_DEF, colchc)

Definition at line 62 of file BesBdkRc.cxx.

◆ DELPHC

#define DELPHC   COMMON_BLOCK(DELPHC_DEF, delphc)

Definition at line 68 of file BesBdkRc.cxx.

◆ FINCUT

#define FINCUT   COMMON_BLOCK(FINCUT_DEF, fincut)

Definition at line 47 of file BesBdkRc.cxx.

◆ FINISH

#define FINISH (   IN,
  SIGT,
  ER 
)    CCALLSFSUB3(FINISH,finish,PINT,PDOUBLE,PDOUBLE,IN,SIGT,ER)

Definition at line 109 of file BesBdkRc.cxx.

◆ FLAGS

#define FLAGS   COMMON_BLOCK(FLAGS_DEF, flags)

Definition at line 82 of file BesBdkRc.cxx.

◆ GEN1EVT

#define GEN1EVT ( )    CCALLSFSUB0(GEN1EVT, gen1evt)

Definition at line 118 of file BesBdkRc.cxx.

◆ GEN_INIT

#define GEN_INIT ( )    CCALLSFSUB0(GEN_INIT, gen_init)

Definition at line 115 of file BesBdkRc.cxx.

◆ HEPEVT_CLEAN

#define HEPEVT_CLEAN ( )    CCALLSFSUB0(HEPEVT_CLEAN, hepevt_clean)

Definition at line 100 of file BesBdkRc.cxx.

◆ HEPEVT_PRINT

#define HEPEVT_PRINT ( )    CCALLSFSUB0(HEPEVT_PRINT, hepevt_print)

Definition at line 103 of file BesBdkRc.cxx.

◆ INPUT

#define INPUT   COMMON_BLOCK(INPUT_DEF,input)

Definition at line 35 of file BesBdkRc.cxx.

◆ LOCALC

#define LOCALC   COMMON_BLOCK(LOCALC_DEF, localc)

Definition at line 55 of file BesBdkRc.cxx.

◆ LUHEPC

#define LUHEPC (   ICONV)    CCALLSFSUB1(LUHEPC, luhepc, INT, ICONV)

Definition at line 94 of file BesBdkRc.cxx.

◆ LUJETS

#define LUJETS   COMMON_BLOCK(LUJETS_DEF,lujets)

Definition at line 90 of file BesBdkRc.cxx.

◆ LULIST

#define LULIST (   ICONV)    CCALLSFSUB1(LULIST, lulist, INT, ICONV)

Definition at line 97 of file BesBdkRc.cxx.

◆ PCONST

#define PCONST   COMMON_BLOCK(PCONST_DEF, pconst)

Definition at line 41 of file BesBdkRc.cxx.

◆ RLUXGO

#define RLUXGO (   lux,
  ISEED,
  K1,
  K2 
)    CCALLSFSUB4(RLUXGO,rluxgo,INT,INT,INT,INT,lux,ISEED,K1,K2)

Definition at line 112 of file BesBdkRc.cxx.

◆ XSECTC

#define XSECTC   COMMON_BLOCK(XSECTC_DEF, xsectc)

Definition at line 76 of file BesBdkRc.cxx.

Function Documentation

◆ COMMON_BLOCK_DEF() [1/9]

COMMON_BLOCK_DEF ( COLCHC_DEF  ,
COLCHC   
)

◆ COMMON_BLOCK_DEF() [2/9]

COMMON_BLOCK_DEF ( DELPHC_DEF  ,
DELPHC   
)

◆ COMMON_BLOCK_DEF() [3/9]

COMMON_BLOCK_DEF ( FINCUT_DEF  ,
FINCUT   
)

◆ COMMON_BLOCK_DEF() [4/9]

COMMON_BLOCK_DEF ( FLAGS_DEF  ,
FLAGS   
)

◆ COMMON_BLOCK_DEF() [5/9]

COMMON_BLOCK_DEF ( INPUT_DEF  ,
INPUT   
)

◆ COMMON_BLOCK_DEF() [6/9]

COMMON_BLOCK_DEF ( LOCALC_DEF  ,
LOCALC   
)

◆ COMMON_BLOCK_DEF() [7/9]

COMMON_BLOCK_DEF ( LUJETS_DEF  ,
LUJETS   
)

◆ COMMON_BLOCK_DEF() [8/9]

COMMON_BLOCK_DEF ( PCONST_DEF  ,
PCONST   
)

◆ COMMON_BLOCK_DEF() [9/9]

COMMON_BLOCK_DEF ( XSECTC_DEF  ,
XSECTC   
)

◆ flat_()

float flat_ ( )

Definition at line 124 of file BesBdkRc.cxx.

125{
126 return (float)BesBdkRcRandom::random();
127}
static double random()