Public Member Functions | |
def | __init__ |
def | __call__ |
Public Attributes | |
max | |
name | |
flat |
Definition at line 17 of file TestRandom.py.
def DybAlg::TestRandom::ClhepRandom::__init__ | ( | self, | ||
maximum, | ||||
rndmsvc | ||||
) |
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):
Definition at line 19 of file TestRandom.py.
Definition at line 20 of file TestRandom.py.
Definition at line 22 of file TestRandom.py.