CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ThePEG::RandomEngineGlue::Proxy Class Reference

#include <RandomEngineGlue.h>

Inheritance diagram for ThePEG::RandomEngineGlue::Proxy:
ThePEG::Proxy< Proxy > ThePEG::ProxyBase

Public Member Functions

RandomEngineGluegetInstance () const
 
CLHEP::HepRandomEngine * getRandomEngine () const
 
void setRandomEngine (CLHEP::HepRandomEngine *v)
 
- Public Member Functions inherited from ThePEG::ProxyBase
ProxyID getID () const
 
virtual ~ProxyBase ()
 

Private Member Functions

 Proxy (ProxyID id)
 

Private Attributes

RandomEngineGlueinstance
 
CLHEP::HepRandomEngine * randomEngine
 

Friends

class RandomEngineGlue
 
class ThePEG::Proxy< Proxy >
 

Additional Inherited Members

- Public Types inherited from ThePEG::Proxy< Proxy >
typedef Proxy Base
 
- Public Types inherited from ThePEG::ProxyBase
typedef unsigned long ProxyID
 
- Static Public Member Functions inherited from ThePEG::Proxy< Proxy >
static std::shared_ptr< Proxycreate ()
 
static std::shared_ptr< Proxyfind (ProxyID id)
 
- Protected Member Functions inherited from ThePEG::Proxy< Proxy >
 Proxy (ProxyID id)
 

Detailed Description

Definition at line 33 of file RandomEngineGlue.h.

Constructor & Destructor Documentation

◆ Proxy()

ThePEG::RandomEngineGlue::Proxy::Proxy ( ProxyID  id)
inlineprivate

Definition at line 44 of file RandomEngineGlue.h.

44 : Base(id), instance(nullptr) {}

Member Function Documentation

◆ getInstance()

RandomEngineGlue* ThePEG::RandomEngineGlue::Proxy::getInstance ( ) const
inline

Definition at line 35 of file RandomEngineGlue.h.

35 { return instance; }

References instance.

◆ getRandomEngine()

CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::Proxy::getRandomEngine ( ) const
inline

Definition at line 37 of file RandomEngineGlue.h.

37 { return randomEngine; }

References randomEngine.

◆ setRandomEngine()

void ThePEG::RandomEngineGlue::Proxy::setRandomEngine ( CLHEP::HepRandomEngine *  v)
inline

Definition at line 38 of file RandomEngineGlue.h.

38 { randomEngine = v; }

References randomEngine, and findQualityFiles::v.

Friends And Related Function Documentation

◆ RandomEngineGlue

friend class RandomEngineGlue
friend

Definition at line 41 of file RandomEngineGlue.h.

◆ ThePEG::Proxy< Proxy >

friend class ThePEG::Proxy< Proxy >
friend

Definition at line 42 of file RandomEngineGlue.h.

Member Data Documentation

◆ instance

RandomEngineGlue* ThePEG::RandomEngineGlue::Proxy::instance
private

Definition at line 46 of file RandomEngineGlue.h.

Referenced by getInstance(), and production_tasks.Task::getname().

◆ randomEngine

CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::Proxy::randomEngine
private

Definition at line 56 of file RandomEngineGlue.h.

Referenced by getRandomEngine(), and setRandomEngine().

findQualityFiles.v
v
Definition: findQualityFiles.py:179
ThePEG::Proxy< Proxy >::Base
Proxy Base
Definition: Proxy.h:43
ThePEG::RandomEngineGlue::Proxy::randomEngine
CLHEP::HepRandomEngine * randomEngine
Definition: RandomEngineGlue.h:56
ThePEG::RandomEngineGlue::Proxy::instance
RandomEngineGlue * instance
Definition: RandomEngineGlue.h:46