BOSS 7.1.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 ()
 
virtual double random ()
 

Detailed Description

Definition at line 53 of file EvtDecay.h.

Constructor & Destructor Documentation

◆ EvtBesRandom()

EvtBesRandom::EvtBesRandom ( HepRandomEngine *  engine)

Definition at line 1166 of file EvtDecay.cxx.

1167{
1168 m_engine = engine;
1169 m_engine->showStatus();
1170}

◆ ~EvtBesRandom()

EvtBesRandom::~EvtBesRandom ( )
virtual

Definition at line 1172 of file EvtDecay.cxx.

1173{}

Member Function Documentation

◆ random()

double EvtBesRandom::random ( )
virtual

Reimplemented from EvtRandomEngine.

Definition at line 1175 of file EvtDecay.cxx.

1176{
1177 //double rdm=EvtRandom::Flat(0.0, 1.0);;
1178 double rdm= RandFlat::shoot(m_engine);
1179 // std::cout<<"rdm= "<<rdm<<std::endl;
1180 return rdm;
1181 //return RandFlat::shoot(m_engine);
1182}

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