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

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual double shootd () const
 
 rbwd (double a_mean=0, double a_gamma=1)
 
virtual ~rbwd ()
 
 rbwd (const rbwd &a_from)
 
rbwdoperator= (const rbwd &a_from)
 
double shoot () const
 
- Public Member Functions inherited from tools::irandd
virtual ~irandd ()
 
- Public Member Functions inherited from tools::rbw< rtausmed, double >
 rbw (rtausmed &a_flat, double a_mean=0, double a_gamma=1)
 
 rbw (const rbw &a_from)
 
virtual ~rbw ()
 
rbwoperator= (const rbw &a_from)
 
double shoot (const double &a_half_pi, double(*a_tan)(double)) const
 
rtausmedflat ()
 
void set_seed (unsigned int a_seed)
 

Protected Attributes

rtausmed m_flat
 
- Protected Attributes inherited from tools::rbw< rtausmed, double >
rtausmedm_flat
 
double m_mean
 
double m_gamma
 

Detailed Description

Definition at line 146 of file randd.

Constructor & Destructor Documentation

◆ rbwd() [1/2]

tools::rbwd::rbwd ( double  a_mean = 0,
double  a_gamma = 1 
)
inline

Definition at line 157 of file randd.

157 :parent(m_flat,a_mean,a_gamma),m_flat(){}

◆ ~rbwd()

virtual tools::rbwd::~rbwd ( )
inlinevirtual

Definition at line 158 of file randd.

158 {}

◆ rbwd() [2/2]

tools::rbwd::rbwd ( const rbwd a_from)
inline

Definition at line 160 of file randd.

160 :irandd(a_from),parent(m_flat),m_flat(a_from.m_flat){}

Member Function Documentation

◆ cast()

virtual void* tools::rbwd::cast ( const std::string &  a_class) const
inlinevirtual

Implements tools::irandd.

Definition at line 151 of file randd.

151  {
152  if(void* p = cmp_cast<rbwd>(this,a_class)) return p;
153  return 0;
154  }

◆ operator=()

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

Definition at line 161 of file randd.

161  {
162  parent::operator=(a_from);
163  m_flat = a_from.m_flat;
164  return *this;
165  }

◆ shoot()

double tools::rbwd::shoot ( ) const
inline

Definition at line 167 of file randd.

167 {return parent::shoot(half_pi(),::tan);}

◆ shootd()

virtual double tools::rbwd::shootd ( ) const
inlinevirtual

Implements tools::irandd.

Definition at line 155 of file randd.

155 {return shoot();}

Member Data Documentation

◆ m_flat

rtausmed tools::rbwd::m_flat
protected

Definition at line 169 of file randd.


The documentation for this class was generated from the following file:
tools::rbw< rtausmed, double >::operator=
rbw & operator=(const rbw &a_from)
Definition: randT:52
tools::half_pi
double half_pi()
Definition: mathd:19
tools::rbwd::m_flat
rtausmed m_flat
Definition: randd:169
tools::rbwd::shoot
double shoot() const
Definition: randd:167
tools::rbw< rtausmed, double >::shoot
double shoot(const double &a_half_pi, double(*a_tan)(double)) const
Definition: randT:58