ATLAS Offline Software
Loading...
Searching...
No Matches
IAthRNGSvc Class Referenceabstract

manage multiple RandomEngines in thread-safe way. More...

#include <IAthRNGSvc.h>

Inheritance diagram for IAthRNGSvc:
Collaboration diagram for IAthRNGSvc:

Public Member Functions

virtual ATHRNG::RNGWrappergetEngine (const INamedInterface *client, const std::string &streamName="")=0
 Interface to retrieve the CLHEP engine.
virtual ~IAthRNGSvc ()
 out-of-line destructor
virtual void printEngineState (const INamedInterface *client, const std::string &streamName="")=0
 Extract and print RNG state to MsgStream.
 DeclareInterfaceID (IAthRNGSvc, 1, 0)
 Declare interface to the framework.

Detailed Description

manage multiple RandomEngines in thread-safe way.

Access to the RandomEngine is wrapped in the RNGWrapper in order to ensure thread-safe access in the event loop.

Author
Sami Kama sami..nosp@m.kama.nosp@m.@cern.nosp@m..ch

Definition at line 27 of file IAthRNGSvc.h.

Constructor & Destructor Documentation

◆ ~IAthRNGSvc()

IAthRNGSvc::~IAthRNGSvc ( )
virtual

out-of-line destructor

Definition at line 6 of file IAthRNGSvc.cxx.

6{}

Member Function Documentation

◆ DeclareInterfaceID()

IAthRNGSvc::DeclareInterfaceID ( IAthRNGSvc ,
1 ,
0  )

Declare interface to the framework.

◆ getEngine()

virtual ATHRNG::RNGWrapper * IAthRNGSvc::getEngine ( const INamedInterface * client,
const std::string & streamName = "" )
pure virtual

Interface to retrieve the CLHEP engine.

◆ printEngineState()

virtual void IAthRNGSvc::printEngineState ( const INamedInterface * client,
const std::string & streamName = "" )
pure virtual

Extract and print RNG state to MsgStream.


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