BOSS 8.0.0
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 ()

Detailed Description

Definition at line 53 of file EvtDecay.h.

Constructor & Destructor Documentation

◆ EvtBesRandom()

EvtBesRandom::EvtBesRandom ( HepRandomEngine * engine)

Definition at line 1272 of file EvtDecay.cxx.

1272 {
1273 m_engine = engine;
1274 m_engine->showStatus();
1275}

◆ ~EvtBesRandom()

EvtBesRandom::~EvtBesRandom ( )
virtual

Definition at line 1277 of file EvtDecay.cxx.

1277{}

Member Function Documentation

◆ random()

double EvtBesRandom::random ( )
virtual

Reimplemented from EvtRandomEngine.

Definition at line 1279 of file EvtDecay.cxx.

1279 {
1280 // double rdm=EvtRandom::Flat(0.0, 1.0);;
1281 double rdm = RandFlat::shoot( m_engine );
1282 // std::cout<<"rdm= "<<rdm<<std::endl;
1283 return rdm;
1284 // return RandFlat::shoot(m_engine);
1285}

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