Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHEvtGenRandomEngine Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4decayer/PHEvtGenRandomEngine.hh>

+ Inheritance diagram for PHEvtGenRandomEngine:
+ Collaboration diagram for PHEvtGenRandomEngine:

Public Member Functions

 PHEvtGenRandomEngine ()
 
virtual ~PHEvtGenRandomEngine ()
 
virtual double random ()
 

Protected Member Functions

gsl_rng * RandomGenerator () const
 

Private Attributes

unsigned int m_Seed = 0
 
gsl_rng * m_RandomGenerator = nullptr
 

Detailed Description

Definition at line 27 of file PHEvtGenRandomEngine.hh.

View newest version in sPHENIX GitHub at line 27 of file PHEvtGenRandomEngine.hh

Constructor & Destructor Documentation

PHEvtGenRandomEngine::PHEvtGenRandomEngine ( )

Definition at line 7 of file PHEvtGenRandomEngine.cc.

View newest version in sPHENIX GitHub at line 7 of file PHEvtGenRandomEngine.cc

References gsl_rng_set(), m_RandomGenerator, and m_Seed.

+ Here is the call graph for this function:

PHEvtGenRandomEngine::~PHEvtGenRandomEngine ( )
virtual

Definition at line 14 of file PHEvtGenRandomEngine.cc.

View newest version in sPHENIX GitHub at line 14 of file PHEvtGenRandomEngine.cc

References RandomGenerator().

+ Here is the call graph for this function:

Member Function Documentation

double PHEvtGenRandomEngine::random ( )
virtual

Definition at line 19 of file PHEvtGenRandomEngine.cc.

View newest version in sPHENIX GitHub at line 19 of file PHEvtGenRandomEngine.cc

References RandomGenerator().

+ Here is the call graph for this function:

gsl_rng* PHEvtGenRandomEngine::RandomGenerator ( ) const
inlineprotected

Definition at line 35 of file PHEvtGenRandomEngine.hh.

View newest version in sPHENIX GitHub at line 35 of file PHEvtGenRandomEngine.hh

References m_RandomGenerator.

Referenced by random(), and ~PHEvtGenRandomEngine().

+ Here is the caller graph for this function:

Member Data Documentation

gsl_rng* PHEvtGenRandomEngine::m_RandomGenerator = nullptr
private

Definition at line 39 of file PHEvtGenRandomEngine.hh.

View newest version in sPHENIX GitHub at line 39 of file PHEvtGenRandomEngine.hh

Referenced by PHEvtGenRandomEngine(), and RandomGenerator().

unsigned int PHEvtGenRandomEngine::m_Seed = 0
private

Definition at line 38 of file PHEvtGenRandomEngine.hh.

View newest version in sPHENIX GitHub at line 38 of file PHEvtGenRandomEngine.hh

Referenced by PHEvtGenRandomEngine().


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