BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtInclusiveGenRandom.cc
Go to the documentation of this file.
1//*********************************************
2//
3// Environment:
4// This software is part of models developed at BES collaboration
5// based on the EvtGen framework. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/BesCopyright
9// Copyright (A) 2007 Ping Rong-Gang @IHEP
10//
11// Module: EvtRlu.cc
12//
13// Description: to unify the random engine
14// Rlu in lund_crm1_evtgen.F as EvtGen
15// pyr in pythia model
16// tauola random engine is redifined with rlu(0), see tauola2.4.F
17// If the unified engine is set by user, then the Flat is replaced with uers' engine
18// See EvtGen.cc
19// Modification history:
20//
21// Ping R.-G. Nov., 2007 Module created
22//
23//------------------------------------------------------------------------
24
27
28extern "C" {
29 extern float begran_(int *);
30 extern double phoran_(int *); //Photos
31 extern float rlu_(int *); //jetset74
32 extern double pyr_(int *); //pythia
33}
34
35
36float begran_(int *){
37 return EvtRandom::Flat();
38}
39
40double phoran_(int *){
41 return EvtRandom::Flat();
42}
43
44float rlu_(int *){
45 return EvtRandom::Flat();
46
47}
48
49double pyr_(int *){
50 return EvtRandom::Flat();
51}
float rlu_(int *)
float begran_(int *)
double pyr_(int *)
double phoran_(int *)
static double Flat()
Definition: EvtRandom.cc:73