Public Member Functions | Public Attributes | List of all members
DecayTime Struct Reference
Inheritance diagram for DecayTime:

Public Member Functions

 DecayTime (IRandom::pointer rng, double rate)
 
 ~DecayTime ()
 
double operator() ()
 

Public Attributes

IRandom::pointer rng
 
double rate
 

Detailed Description

Definition at line 78 of file BlipSource.cxx.

Constructor & Destructor Documentation

DecayTime::DecayTime ( IRandom::pointer  rng,
double  rate 
)
inline

Definition at line 81 of file BlipSource.cxx.

81 : rng(rng), rate(rate) {}
double rate
Definition: BlipSource.cxx:80
IRandom::pointer rng
Definition: BlipSource.cxx:79
DecayTime::~DecayTime ( )
inline

Definition at line 82 of file BlipSource.cxx.

82 {}

Member Function Documentation

double DecayTime::operator() ( void  )
inline

Definition at line 83 of file BlipSource.cxx.

83 { return rng->exponential(rate); }
double rate
Definition: BlipSource.cxx:80
IRandom::pointer rng
Definition: BlipSource.cxx:79

Member Data Documentation

double DecayTime::rate

Definition at line 80 of file BlipSource.cxx.

IRandom::pointer DecayTime::rng

Definition at line 79 of file BlipSource.cxx.


The documentation for this struct was generated from the following file: