g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::rgaussf Class Reference
Inheritance diagram for tools::rgaussf:
Inheritance graph
[legend]
Collaboration diagram for tools::rgaussf:
Collaboration graph
[legend]

Public Member Functions

 rgaussf (float a_mean=0, float a_std_dev=1)
 
virtual ~rgaussf ()
 
 rgaussf (const rgaussf &a_from)
 
rgaussfoperator= (const rgaussf &a_from)
 
float shoot () const
 
- Public Member Functions inherited from tools::rgauss< rtausmef, float >
 rgauss (rtausmef &a_flat, float a_mean=0, float a_std_dev=1)
 
 rgauss (const rgauss &a_from)
 
virtual ~rgauss ()
 
rgaussoperator= (const rgauss &a_from)
 
float shoot (math_func a_sqrt, math_func a_log) const
 
rtausmefflat ()
 
void set_seed (unsigned int a_seed)
 
void set (float a_mean=0, float a_std_dev=1)
 

Protected Attributes

rtausmef m_flat
 
- Protected Attributes inherited from tools::rgauss< rtausmef, float >
rtausmefm_flat
 
float m_mean
 
float m_std_dev
 

Detailed Description

Definition at line 12 of file randf.

Constructor & Destructor Documentation

◆ rgaussf() [1/2]

tools::rgaussf::rgaussf ( float  a_mean = 0,
float  a_std_dev = 1 
)
inline

Definition at line 15 of file randf.

15 :parent(m_flat,a_mean,a_std_dev),m_flat(){}

◆ ~rgaussf()

virtual tools::rgaussf::~rgaussf ( )
inlinevirtual

Definition at line 16 of file randf.

16 {}

◆ rgaussf() [2/2]

tools::rgaussf::rgaussf ( const rgaussf a_from)
inline

Definition at line 18 of file randf.

18 :parent(m_flat),m_flat(a_from.m_flat){}

Member Function Documentation

◆ operator=()

rgaussf& tools::rgaussf::operator= ( const rgaussf a_from)
inline

Definition at line 19 of file randf.

19  {
20  parent::operator=(a_from);
21  m_flat = a_from.m_flat;
22  return *this;
23  }

◆ shoot()

float tools::rgaussf::shoot ( ) const
inline

Definition at line 25 of file randf.

25 {return parent::shoot(::sqrtf,::logf);}

Member Data Documentation

◆ m_flat

rtausmef tools::rgaussf::m_flat
protected

Definition at line 27 of file randf.


The documentation for this class was generated from the following file:
tools::rgaussf::m_flat
rtausmef m_flat
Definition: randf:27
tools::rgauss< rtausmef, float >::shoot
float shoot(math_func a_sqrt, math_func a_log) const
Definition: randT:26
tools::rgauss< rtausmef, float >::operator=
rgauss & operator=(const rgauss &a_from)
Definition: randT:20