BOSS 6.6.4.p01
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 () |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
void | handle (const Incident &) |
IIncidentListener implementation. Handles EndEvent incident. | |
Public Member Functions inherited from IBesRndmGenSvc | |
virtual CLHEP::HepRandomEngine * | GetEngine (const std::string &StreamName)=0 |
Interface to the CLHEP engine. | |
virtual void | CreateStream (long seed1, const std::string &StreamName)=0 |
virtual CLHEP::HepRandomEngine * | setOnDefinedSeeds (int EventNumber, const std::string &StreamName)=0 |
set the seeds for an engine. First param will usually be the event number | |
virtual void | print (const std::string &StreamName)=0 |
Print methods. | |
virtual void | print ()=0 |
virtual void | setGenseed (long)=0 |
virtual long | getGenseed ()=0 |
virtual | ~IBesRndmGenSvc () |
Protected Member Functions | |
BesRndmGenSvc (const std::string &name, ISvcLocator *svc) | |
Standard Constructor. | |
virtual | ~BesRndmGenSvc () |
Standard Destructor. | |
Friends | |
class | SvcFactory< BesRndmGenSvc > |
Additional Inherited Members | |
Static Public Member Functions inherited from IBesRndmGenSvc | |
static const InterfaceID & | interfaceID () |
Gaudi boilerplate. | |
Definition at line 34 of file BesRndmGenSvc.h.
typedef engineMap::const_iterator BesRndmGenSvc::engineConstIter |
Definition at line 49 of file BesRndmGenSvc.h.
typedef engineMap::iterator BesRndmGenSvc::engineIter |
Definition at line 48 of file BesRndmGenSvc.h.
typedef std::map<std::string, CLHEP::RanluxEngine*> BesRndmGenSvc::engineMap |
CLHEP engines typedefs:
Definition at line 47 of file BesRndmGenSvc.h.
typedef engineMap::value_type BesRndmGenSvc::engineValType |
Definition at line 50 of file BesRndmGenSvc.h.
|
protected |
Standard Constructor.
Definition at line 39 of file BesRndmGenSvc.cxx.
|
protectedvirtual |
|
inline |
Definition at line 128 of file BesRndmGenSvc.h.
Referenced by handle(), and initialize().
|
virtual |
Implements IBesRndmGenSvc.
Definition at line 273 of file BesRndmGenSvc.cxx.
Referenced by initialize().
|
inline |
Definition at line 132 of file BesRndmGenSvc.h.
Referenced by handle(), and initialize().
StatusCode BesRndmGenSvc::finalize | ( | ) |
Definition at line 251 of file BesRndmGenSvc.cxx.
|
virtual |
Interface to the CLHEP engine.
Implements IBesRndmGenSvc.
Definition at line 259 of file BesRndmGenSvc.cxx.
Referenced by handle(), and initialize().
|
inlinevirtual |
void BesRndmGenSvc::handle | ( | const Incident & | inc | ) |
IIncidentListener implementation. Handles EndEvent incident.
Definition at line 206 of file BesRndmGenSvc.cxx.
StatusCode BesRndmGenSvc::initialize | ( | ) |
Gaudi Service Implementation.
Incident Service
Definition at line 102 of file BesRndmGenSvc.cxx.
|
inline |
Definition at line 136 of file BesRndmGenSvc.h.
Referenced by initialize().
|
virtual |
Print methods.
Implements IBesRndmGenSvc.
Definition at line 327 of file BesRndmGenSvc.cxx.
|
virtual |
Implements IBesRndmGenSvc.
Definition at line 344 of file BesRndmGenSvc.cxx.
Referenced by print().
|
virtual |
Definition at line 88 of file BesRndmGenSvc.cxx.
|
inlinevirtual |
|
virtual |
set the seeds for an engine. First param will usually be the event number
Implements IBesRndmGenSvc.
Definition at line 350 of file BesRndmGenSvc.cxx.
|
friend |
Definition at line 113 of file BesRndmGenSvc.h.