BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Bhlumi.cxx File Reference
#include "Bhlumi/Bhlumi.h"
#include "Bhlumi/BhlumiRandom.h"
#include "HepMC/GenEvent.h"
#include "HepMC/GenVertex.h"
#include "HepMC/GenParticle.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/DataSvc.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "GeneratorObject/McGenEvent.h"
#include "BesKernel/IBesRndmGenSvc.h"
#include "cfortran/cfortran.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  MOMSET_DEF
 

Macros

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)
 
#define GLIMIT(LENMX)   CCALLSFSUB1(GLIMIT,glimit,INT,LENMX)
 
#define DUMPS(NOUT)   CCALLSFSUB1(DUMPS,dumps,INT,NOUT)
 
#define BHLUMI(MODE, XPAR, NPAR)   CCALLSFSUB3(BHLUMI,bhlumi,INT,DOUBLEV,INTV,MODE,XPAR,NPAR)
 
#define MARINI(IJKLIN, NTOTIN, NTOT2N)   CCALLSFSUB3(MARINI, marini, INT, INT, INT, IJKLIN, NTOTIN, NTOT2N)
 

Functions

 COMMON_BLOCK_DEF (MOMSET_DEF, MOMSET)
 
double ranmarr_ ()
 
void marran_ (float *rvec, int *nma)
 
void ecuran_ (double *rvec, int *nma)
 
void carran_ (double *rvec, int *nma)
 

Macro Definition Documentation

◆ BHLUMI

#define BHLUMI (   MODE,
  XPAR,
  NPAR 
)    CCALLSFSUB3(BHLUMI,bhlumi,INT,DOUBLEV,INTV,MODE,XPAR,NPAR)

Definition at line 61 of file Bhlumi.cxx.

◆ DUMPS

#define DUMPS (   NOUT)    CCALLSFSUB1(DUMPS,dumps,INT,NOUT)

Definition at line 58 of file Bhlumi.cxx.

◆ GLIMIT

#define GLIMIT (   LENMX)    CCALLSFSUB1(GLIMIT,glimit,INT,LENMX)

Definition at line 55 of file Bhlumi.cxx.

◆ MARINI

#define MARINI (   IJKLIN,
  NTOTIN,
  NTOT2N 
)    CCALLSFSUB3(MARINI, marini, INT, INT, INT, IJKLIN, NTOTIN, NTOT2N)

Definition at line 64 of file Bhlumi.cxx.

◆ MOMSET

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)

Definition at line 48 of file Bhlumi.cxx.

Function Documentation

◆ carran_()

void carran_ ( double *  rvec,
int *  nma 
)

Definition at line 87 of file Bhlumi.cxx.

88{
89 int nmax = *nma;
90 assert(nmax<100);
91 double rvecd[100];
92 BhlumiRandom::FlatArray(rvecd, nmax);
93 for(int i=0; i<nmax; i++) rvec[i]=rvecd[i];
94}
static void FlatArray(double *vect, const int size)

◆ COMMON_BLOCK_DEF()

COMMON_BLOCK_DEF ( MOMSET_DEF  ,
MOMSET   
)

◆ ecuran_()

void ecuran_ ( double *  rvec,
int *  nma 
)

Definition at line 96 of file Bhlumi.cxx.

97{
98 int nmax = *nma;
99 assert(nmax<100);
100 double rvecd[100];
101 BhlumiRandom::FlatArray(rvecd, nmax);
102 for(int i=0; i<nmax; i++) rvec[i]=rvecd[i];
103}

◆ marran_()

void marran_ ( float *  rvec,
int *  nma 
)

Definition at line 78 of file Bhlumi.cxx.

79{
80 int nmax = *nma;
81 assert(nmax<100);
82 double rvecd[100];
83 BhlumiRandom::FlatArray(rvecd, nmax);
84 for(int i=0; i<nmax; i++) rvec[i]=rvecd[i];
85}

◆ ranmarr_()

double ranmarr_ ( )

Definition at line 73 of file Bhlumi.cxx.

74{
75 return BhlumiRandom::random();
76}
static double random()