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

Static Public Member Functions

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 IBesRndmGenSvc.h.

Constructor & Destructor Documentation

◆ ~IBesRndmGenSvc()

virtual IBesRndmGenSvc::~IBesRndmGenSvc ( )
inlinevirtual

Definition at line 47 of file IBesRndmGenSvc.h.

47{}

Member Function Documentation

◆ CreateStream()

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

Implemented in BesRndmGenSvc.

◆ GetEngine()

◆ getGenseed()

virtual long IBesRndmGenSvc::getGenseed ( )
pure virtual

Implemented in BesRndmGenSvc.

◆ interfaceID()

const InterfaceID & IBesRndmGenSvc::interfaceID ( )
inlinestatic

Gaudi boilerplate.

Definition at line 51 of file IBesRndmGenSvc.h.

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

Referenced by BesRndmGenSvc::queryInterface().

◆ print() [1/2]

virtual void IBesRndmGenSvc::print ( )
pure virtual

Implemented in BesRndmGenSvc.

◆ print() [2/2]

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

Print methods.

Implemented in BesRndmGenSvc.

◆ setGenseed()

virtual void IBesRndmGenSvc::setGenseed ( long  )
pure virtual

◆ setOnDefinedSeeds()

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.


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