BOSS 7.0.6
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 1154 of file EvtDecay.cxx.

1155{
1156 m_engine = engine;
1157 m_engine->showStatus();
1158}

◆ ~EvtBesRandom()

EvtBesRandom::~EvtBesRandom ( )
virtual

Definition at line 1160 of file EvtDecay.cxx.

1161{}

Member Function Documentation

◆ random()

double EvtBesRandom::random ( )
virtual

Reimplemented from EvtRandomEngine.

Definition at line 1163 of file EvtDecay.cxx.

1164{
1165 //double rdm=EvtRandom::Flat(0.0, 1.0);;
1166 double rdm= RandFlat::shoot(m_engine);
1167 // std::cout<<"rdm= "<<rdm<<std::endl;
1168 return rdm;
1169 //return RandFlat::shoot(m_engine);
1170}

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