BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
IBesRndmGenSvc Class Referenceabstract

manage multiple CLHEP random engines as named streams More...

#include <IBesRndmGenSvc.h>

+ Inheritance diagram for IBesRndmGenSvc:

Public Member Functions

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

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Gaudi boilerplate.
 
static const InterfaceID & interfaceID ()
 Gaudi boilerplate.
 

Detailed Description

manage multiple CLHEP random engines as named streams

Based on ATLAS Software

Definition at line 24 of file Control/BesKernel/BesKernel-00-00-03/BesKernel/IBesRndmGenSvc.h.

Constructor & Destructor Documentation

◆ ~IBesRndmGenSvc() [1/2]

virtual IBesRndmGenSvc::~IBesRndmGenSvc ( )
inlinevirtual

◆ ~IBesRndmGenSvc() [2/2]

virtual IBesRndmGenSvc::~IBesRndmGenSvc ( )
inlinevirtual

Member Function Documentation

◆ CreateStream() [1/2]

virtual void IBesRndmGenSvc::CreateStream ( long  seed1,
const std::string &  StreamName 
)
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ CreateStream() [2/2]

virtual void IBesRndmGenSvc::CreateStream ( long  seed1,
const std::string &  StreamName 
)
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ GetEngine() [1/2]

◆ GetEngine() [2/2]

virtual CLHEP::HepRandomEngine * IBesRndmGenSvc::GetEngine ( const std::string &  StreamName)
pure virtual

Interface to the CLHEP engine.

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ getGenseed() [1/2]

virtual long IBesRndmGenSvc::getGenseed ( )
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ getGenseed() [2/2]

virtual long IBesRndmGenSvc::getGenseed ( )
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ interfaceID() [1/2]

const InterfaceID & IBesRndmGenSvc::interfaceID ( )
inlinestatic

Gaudi boilerplate.

Definition at line 51 of file Control/BesKernel/BesKernel-00-00-03/BesKernel/IBesRndmGenSvc.h.

51 {
52 static const InterfaceID _IID("IBesRndmGenSvc", 1, 0);
53 return _IID;
54}

Referenced by BesRndmGenSvc::queryInterface().

◆ interfaceID() [2/2]

static const InterfaceID & IBesRndmGenSvc::interfaceID ( )
static

Gaudi boilerplate.

◆ print() [1/4]

virtual void IBesRndmGenSvc::print ( )
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ print() [2/4]

virtual void IBesRndmGenSvc::print ( )
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ print() [3/4]

virtual void IBesRndmGenSvc::print ( const std::string &  StreamName)
pure virtual

Print methods.

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ print() [4/4]

virtual void IBesRndmGenSvc::print ( const std::string &  StreamName)
pure virtual

Print methods.

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ setGenseed() [1/2]

virtual void IBesRndmGenSvc::setGenseed ( long  )
pure virtual

◆ setGenseed() [2/2]

virtual void IBesRndmGenSvc::setGenseed ( long  )
pure virtual

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ setOnDefinedSeeds() [1/2]

virtual CLHEP::HepRandomEngine * IBesRndmGenSvc::setOnDefinedSeeds ( int  EventNumber,
const std::string &  StreamName 
)
pure virtual

set the seeds for an engine. First param will usually be the event number

Implemented in BesRndmGenSvc, and BesRndmGenSvc.

◆ setOnDefinedSeeds() [2/2]

virtual CLHEP::HepRandomEngine * IBesRndmGenSvc::setOnDefinedSeeds ( int  EventNumber,
const std::string &  StreamName 
)
pure virtual

set the seeds for an engine. First param will usually be the event number

Implemented in BesRndmGenSvc, and BesRndmGenSvc.


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