BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtInclusiveGenRandom.cc File Reference
#include "EvtGenBase/EvtRandom.hh"
#include "EvtGenBase/EvtRandomEngine.hh"
#include <iostream>

Go to the source code of this file.

Functions

double begran_ (int *)
 
double phoran_ (int *)
 
double pyr_ (int *)
 
double rlu_ (int *)
 
void ranlxdf_ (double vec[], int *lvec)
 

Function Documentation

◆ begran_()

double begran_ ( int * )
extern

Definition at line 60 of file EvtInclusiveGenRandom.cc.

60 {
61 return EvtRandom::Flat();
62}
static double Flat()
Definition EvtRandom.cc:74

◆ phoran_()

double phoran_ ( int * )
extern

Definition at line 64 of file EvtInclusiveGenRandom.cc.

64 {
65 return EvtRandom::Flat();
66}

◆ pyr_()

double pyr_ ( int * )
extern

Definition at line 76 of file EvtInclusiveGenRandom.cc.

76 {
77 return EvtRandom::Flat();
78}

◆ ranlxdf_()

void ranlxdf_ ( double vec[],
int * lvec )
extern

Definition at line 50 of file EvtInclusiveGenRandom.cc.

51{
52 int k;
53 for(k = 0; k<*lvec;k++)
54 {
55 vec[k]= EvtRandom::Flat();
56 }
57}

◆ rlu_()

double rlu_ ( int * )
extern

Definition at line 69 of file EvtInclusiveGenRandom.cc.

69 {
70 double rdm= EvtRandom::Flat();
71 // std::cout<<"rlu_ = "<<rdm<<std::endl;
72 return rdm;
73}