ATLAS Offline Software
Public Member Functions | List of all members
IAtRndmGenSvc Class Referenceabstract

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

#include <IAtRndmGenSvc.h>

Inheritance diagram for IAtRndmGenSvc:
Collaboration diagram for IAtRndmGenSvc:

Public Member Functions

 DeclareInterfaceID (IAtRndmGenSvc, 1, 0)
 
virtual CLHEP::HepRandomEngine * GetEngine (const std::string &streamName)=0
 Interface to the CLHEP engine. More...
 
virtual void CreateStream (uint32_t seed1, uint32_t seed2, const std::string &streamName)=0
 
virtual CLHEP::HepRandomEngine * setOnDefinedSeeds (uint32_t theSeed, const std::string &streamName)=0
 
virtual CLHEP::HepRandomEngine * setOnDefinedSeeds (uint32_t eventNumber, uint32_t runNumber, const std::string &streamName)=0
 
virtual bool setAllOnDefinedSeeds (uint32_t theSeed)=0
 seed all streams we manage, combining theSeed and the stream names More...
 
virtual bool setAllOnDefinedSeeds (uint32_t eventNumber, uint32_t runNumber)=0
 seed all streams, combining eventNumber, runNumber and the stream names More...
 
virtual ~IAtRndmGenSvc ()
 out-of-line destructor More...
 
virtual void print (const std::string &streamName)=0
 Print methods. More...
 
virtual void print ()=0
 

Detailed Description

manage multiple CLHEP random engines as named streams

Author
Giorgos Stavropoulos Georg.nosp@m.e.St.nosp@m.avrop.nosp@m.oulo.nosp@m.s@cer.nosp@m.n.ch
Paolo Calafiura pcala.nosp@m.fiur.nosp@m.a@lbl.nosp@m..gov

Definition at line 23 of file IAtRndmGenSvc.h.

Constructor & Destructor Documentation

◆ ~IAtRndmGenSvc()

IAtRndmGenSvc::~IAtRndmGenSvc ( )
virtual

out-of-line destructor

Definition at line 7 of file IAtRndmGenSvc.cxx.

7 {}

Member Function Documentation

◆ CreateStream()

virtual void IAtRndmGenSvc::CreateStream ( uint32_t  seed1,
uint32_t  seed2,
const std::string &  streamName 
)
pure virtual

◆ DeclareInterfaceID()

IAtRndmGenSvc::DeclareInterfaceID ( IAtRndmGenSvc  ,
,
 
)

◆ GetEngine()

virtual CLHEP::HepRandomEngine* IAtRndmGenSvc::GetEngine ( const std::string &  streamName)
pure virtual

Interface to the CLHEP engine.

◆ print() [1/2]

virtual void IAtRndmGenSvc::print ( )
pure virtual

◆ print() [2/2]

virtual void IAtRndmGenSvc::print ( const std::string &  streamName)
pure virtual

Print methods.

◆ setAllOnDefinedSeeds() [1/2]

virtual bool IAtRndmGenSvc::setAllOnDefinedSeeds ( uint32_t  eventNumber,
uint32_t  runNumber 
)
pure virtual

seed all streams, combining eventNumber, runNumber and the stream names

◆ setAllOnDefinedSeeds() [2/2]

virtual bool IAtRndmGenSvc::setAllOnDefinedSeeds ( uint32_t  theSeed)
pure virtual

seed all streams we manage, combining theSeed and the stream names

◆ setOnDefinedSeeds() [1/2]

virtual CLHEP::HepRandomEngine* IAtRndmGenSvc::setOnDefinedSeeds ( uint32_t  eventNumber,
uint32_t  runNumber,
const std::string &  streamName 
)
pure virtual

◆ setOnDefinedSeeds() [2/2]

virtual CLHEP::HepRandomEngine* IAtRndmGenSvc::setOnDefinedSeeds ( uint32_t  theSeed,
const std::string &  streamName 
)
pure virtual

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