| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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.


Member Function Documentation

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

Definition at line 18 of file TestRandom.py.

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

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

Definition at line 24 of file TestRandom.py.

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


Member Data Documentation

DybAlg::TestRandom::ClhepRandom::max

Definition at line 19 of file TestRandom.py.

DybAlg::TestRandom::ClhepRandom::name

Definition at line 20 of file TestRandom.py.

DybAlg::TestRandom::ClhepRandom::flat

Definition at line 22 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 Mon Apr 11 20:40:41 2011 for DybAlg by doxygen 1.4.7