BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtBesRandom Class Reference

#include <EvtDecay.h>

+ Inheritance diagram for EvtBesRandom:

Public Member Functions

 EvtBesRandom (HepRandomEngine *engine)
 
double random ()
 
virtual ~EvtBesRandom ()
 
virtual double random ()
 

Detailed Description

Definition at line 53 of file EvtDecay.h.

Constructor & Destructor Documentation

◆ EvtBesRandom()

EvtBesRandom::EvtBesRandom ( HepRandomEngine *  engine)

Definition at line 1146 of file EvtDecay.cxx.

1147{
1148 m_engine = engine;
1149 m_engine->showStatus();
1150}

◆ ~EvtBesRandom()

EvtBesRandom::~EvtBesRandom ( )
virtual

Definition at line 1152 of file EvtDecay.cxx.

1153{}

Member Function Documentation

◆ random()

double EvtBesRandom::random ( )
virtual

Reimplemented from EvtRandomEngine.

Definition at line 1155 of file EvtDecay.cxx.

1156{
1157 //double rdm=EvtRandom::Flat(0.0, 1.0);;
1158 double rdm= RandFlat::shoot(m_engine);
1159 // std::cout<<"rdm= "<<rdm<<std::endl;
1160 return rdm;
1161 //return RandFlat::shoot(m_engine);
1162}

The documentation for this class was generated from the following files: