Public Member Functions | |
def | __init__ |
def | __call__ |
Public Attributes | |
max | |
name |
Definition at line 7 of file TestRandom.py.
def DybAlg::TestRandom::RootRandom::__init__ | ( | self, | ||
maximum | ||||
) |
def DybAlg::TestRandom::RootRandom::__call__ | ( | self | ) |
Definition at line 12 of file TestRandom.py.
00012 : 00013 num = gRandom.Uniform(self.max) 00014 assert 0<=num<self.max, 'Got bogus ROOT random: %f'%num 00015 return num 00016 class ClhepRandom(object):
Definition at line 9 of file TestRandom.py.
Definition at line 10 of file TestRandom.py.