BOSS 7.0.4
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 |
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. | |
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 () |
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. | |
BesRndmGenSvc (const std::string &name, ISvcLocator *svc) | |
virtual | ~BesRndmGenSvc () |
Friends | |
class | SvcFactory< BesRndmGenSvc > |
Additional Inherited Members | |
Static Public Member Functions inherited from IBesRndmGenSvc | |
static const InterfaceID & | interfaceID () |
Gaudi boilerplate. | |
static const InterfaceID & | interfaceID () |
Gaudi boilerplate. | |
Definition at line 34 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
typedef engineMap::const_iterator BesRndmGenSvc::engineConstIter |
Definition at line 49 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
typedef engineMap::const_iterator BesRndmGenSvc::engineConstIter |
Definition at line 49 of file InstallArea/include/BesServices/BesServices/BesRndmGenSvc.h.
typedef engineMap::iterator BesRndmGenSvc::engineIter |
Definition at line 48 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
typedef engineMap::iterator BesRndmGenSvc::engineIter |
Definition at line 48 of file InstallArea/include/BesServices/BesServices/BesRndmGenSvc.h.
typedef std::map<std::string, CLHEP::RanluxEngine*> BesRndmGenSvc::engineMap |
CLHEP engines typedefs:
Definition at line 47 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
typedef std::map<std::string, CLHEP::RanluxEngine*> BesRndmGenSvc::engineMap |
CLHEP engines typedefs:
Definition at line 47 of file InstallArea/include/BesServices/BesServices/BesRndmGenSvc.h.
typedef engineMap::value_type BesRndmGenSvc::engineValType |
Definition at line 50 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
typedef engineMap::value_type BesRndmGenSvc::engineValType |
Definition at line 50 of file InstallArea/include/BesServices/BesServices/BesRndmGenSvc.h.
|
protected |
Standard Constructor.
Definition at line 39 of file BesRndmGenSvc.cxx.
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
inline |
Definition at line 128 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
Referenced by handle(), and initialize().
engineConstIter BesRndmGenSvc::begin | ( | void | ) | const |
|
virtual |
Implements IBesRndmGenSvc.
Definition at line 273 of file BesRndmGenSvc.cxx.
Referenced by initialize().
|
virtual |
Implements IBesRndmGenSvc.
|
inline |
Definition at line 132 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
Referenced by handle(), and initialize().
engineConstIter BesRndmGenSvc::end | ( | void | ) | const |
StatusCode BesRndmGenSvc::finalize | ( | ) |
Definition at line 251 of file BesRndmGenSvc.cxx.
StatusCode BesRndmGenSvc::finalize | ( | ) |
|
virtual |
Interface to the CLHEP engine.
Implements IBesRndmGenSvc.
Definition at line 259 of file BesRndmGenSvc.cxx.
Referenced by handle(), and initialize().
|
virtual |
Interface to the CLHEP engine.
Implements IBesRndmGenSvc.
|
inlinevirtual |
Implements IBesRndmGenSvc.
Definition at line 58 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
|
inlinevirtual |
Implements IBesRndmGenSvc.
Definition at line 58 of file InstallArea/include/BesServices/BesServices/BesRndmGenSvc.h.
void BesRndmGenSvc::handle | ( | const Incident & | inc | ) |
IIncidentListener implementation. Handles EndEvent incident.
Definition at line 206 of file BesRndmGenSvc.cxx.
void BesRndmGenSvc::handle | ( | const Incident & | ) |
IIncidentListener implementation. Handles EndEvent incident.
StatusCode BesRndmGenSvc::initialize | ( | ) |
Gaudi Service Implementation.
Incident Service
Definition at line 102 of file BesRndmGenSvc.cxx.
StatusCode BesRndmGenSvc::initialize | ( | ) |
Gaudi Service Implementation.
|
inline |
Definition at line 136 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
Referenced by initialize().
unsigned int BesRndmGenSvc::number_of_streams | ( | void | ) | const |
|
virtual |
Print methods.
Implements IBesRndmGenSvc.
Definition at line 327 of file BesRndmGenSvc.cxx.
|
virtual |
Print methods.
Implements IBesRndmGenSvc.
|
virtual |
Implements IBesRndmGenSvc.
Definition at line 344 of file BesRndmGenSvc.cxx.
Referenced by print().
|
virtual |
Implements IBesRndmGenSvc.
|
virtual |
Definition at line 88 of file BesRndmGenSvc.cxx.
|
virtual |
|
inlinevirtual |
Implements IBesRndmGenSvc.
Definition at line 57 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.
|
inlinevirtual |
Implements IBesRndmGenSvc.
Definition at line 57 of file InstallArea/include/BesServices/BesServices/BesRndmGenSvc.h.
|
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.
|
virtual |
set the seeds for an engine. First param will usually be the event number
Implements IBesRndmGenSvc.
|
friend |
Definition at line 113 of file Control/BesServices/BesServices-00-00-11/BesServices/BesRndmGenSvc.h.