/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
DybAlg::TestRandom::ClhepRandom Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 max
 name
 flat

Detailed Description

Definition at line 17 of file TestRandom.py.


Constructor & Destructor Documentation

def DybAlg::TestRandom::ClhepRandom::__init__ (   self,
  maximum,
  rndmsvc 
)

Definition at line 18 of file TestRandom.py.

00019                                         :
00020         self.max = maximum
00021         self.name = 'CLHEP'
00022         flat = gbl.Rndm.Flat(0,maximum)
00023         self.flat = gbl.Rndm.Numbers(rndmsvc,flat)


Member Function Documentation

def DybAlg::TestRandom::ClhepRandom::__call__ (   self)

Definition at line 24 of file TestRandom.py.

00025                       :
00026         num = self.flat()
00027         assert 0<=num<self.max, 'Got bogus CLHEP random: %f'%num
00028         return num


Member Data Documentation

Definition at line 18 of file TestRandom.py.

Definition at line 18 of file TestRandom.py.

Definition at line 18 of file TestRandom.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:09:44 for DybAlg by doxygen 1.7.4