|
BOSS 8.0.0
BESIII Offline Software System
|
#include <BesRndmGenSvc.h>
Public Types | |
| typedef std::map< std::string, CLHEP::RanluxEngine * > | engineMap |
| CLHEP engines typedefs: | |
| typedef engineMap::iterator | engineIter |
| typedef engineMap::const_iterator | engineConstIter |
| typedef engineMap::value_type | engineValType |
Public Member Functions | |
| CLHEP::HepRandomEngine * | GetEngine (const std::string &StreamName) |
| Interface to the CLHEP engine. | |
| void | CreateStream (long seed, const std::string &StreamName) |
| engineConstIter | begin (void) const |
| engineConstIter | end (void) const |
| unsigned int | number_of_streams (void) const |
| void | setGenseed (long i) |
| long | getGenseed () |
| void | print (const std::string &StreamName) |
| Print methods. | |
| void | print (void) |
| CLHEP::HepRandomEngine * | setOnDefinedSeeds (int EventNumber, const std::string &StreamName) |
| set the seeds for an engine. First param will usually be the event number | |
| StatusCode | initialize () |
| Gaudi Service Implementation. | |
| StatusCode | finalize () |
| void | handle (const Incident &) |
| IIncidentListener implementation. Handles EndEvent incident. | |
| BesRndmGenSvc (const std::string &name, ISvcLocator *svc) | |
| Standard Constructor. | |
| virtual | ~BesRndmGenSvc () |
| Standard Destructor. | |
Friends | |
| class | SvcFactory< BesRndmGenSvc > |
Definition at line 33 of file BesRndmGenSvc.h.
| typedef engineMap::const_iterator BesRndmGenSvc::engineConstIter |
Definition at line 48 of file BesRndmGenSvc.h.
| typedef engineMap::iterator BesRndmGenSvc::engineIter |
Definition at line 47 of file BesRndmGenSvc.h.
| typedef std::map<std::string, CLHEP::RanluxEngine*> BesRndmGenSvc::engineMap |
CLHEP engines typedefs:
Definition at line 46 of file BesRndmGenSvc.h.
| typedef engineMap::value_type BesRndmGenSvc::engineValType |
Definition at line 49 of file BesRndmGenSvc.h.
| BesRndmGenSvc::BesRndmGenSvc | ( | const std::string & | name, |
| ISvcLocator * | svc ) |
Standard Constructor.
Definition at line 43 of file BesRndmGenSvc.cxx.
Referenced by SvcFactory< BesRndmGenSvc >.
|
virtual |
|
inline |
Definition at line 122 of file BesRndmGenSvc.h.
Referenced by handle(), and initialize().
| void BesRndmGenSvc::CreateStream | ( | long | seed, |
| const std::string & | StreamName ) |
Definition at line 259 of file BesRndmGenSvc.cxx.
Referenced by initialize().
|
inline |
Definition at line 126 of file BesRndmGenSvc.h.
Referenced by handle(), and initialize().
| StatusCode BesRndmGenSvc::finalize | ( | ) |
Definition at line 241 of file BesRndmGenSvc.cxx.
| CLHEP::HepRandomEngine * BesRndmGenSvc::GetEngine | ( | const std::string & | StreamName | ) |
Interface to the CLHEP engine.
Definition at line 247 of file BesRndmGenSvc.cxx.
Referenced by handle(), and initialize().
|
inline |
Definition at line 57 of file BesRndmGenSvc.h.
| void BesRndmGenSvc::handle | ( | const Incident & | inc | ) |
IIncidentListener implementation. Handles EndEvent incident.
Definition at line 200 of file BesRndmGenSvc.cxx.
| StatusCode BesRndmGenSvc::initialize | ( | ) |
Gaudi Service Implementation.
Incident Service
Definition at line 100 of file BesRndmGenSvc.cxx.
|
inline |
Definition at line 130 of file BesRndmGenSvc.h.
Referenced by initialize().
| void BesRndmGenSvc::print | ( | const std::string & | StreamName | ) |
Print methods.
Definition at line 288 of file BesRndmGenSvc.cxx.
| void BesRndmGenSvc::print | ( | void | ) |
Definition at line 300 of file BesRndmGenSvc.cxx.
Referenced by print().
|
inline |
Definition at line 56 of file BesRndmGenSvc.h.
| CLHEP::HepRandomEngine * BesRndmGenSvc::setOnDefinedSeeds | ( | int | EventNumber, |
| const std::string & | StreamName ) |
set the seeds for an engine. First param will usually be the event number
Definition at line 302 of file BesRndmGenSvc.cxx.
|
friend |
Definition at line 110 of file BesRndmGenSvc.h.