BOSS 7.1.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
 
 DeclareInterfaceID (IBesRndmGenSvc, 1, 0)
 Gaudi boilerplate.
 
virtual ~IBesRndmGenSvc ()
 

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

◆ DeclareInterfaceID()

IBesRndmGenSvc::DeclareInterfaceID ( IBesRndmGenSvc ,
1 ,
0  )

Gaudi boilerplate.

◆ GetEngine()

◆ getGenseed()

virtual long IBesRndmGenSvc::getGenseed ( )
pure virtual

◆ print() [1/2]

virtual void IBesRndmGenSvc::print ( )
pure virtual

◆ print() [2/2]

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

Print methods.

◆ 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


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