179 class_<HepRandom>(
"HepRandom",
"generate random number")
182 .def(init<HepRandomEngine&>())
183 .def(init<HepRandomEngine*>())
187 .staticmethod(
"setTheSeed")
188 .def(
"getTheSeed", &HepRandom::getTheSeed)
189 .staticmethod(
"getTheSeed")
192 .staticmethod(
"setTheSeeds")
194 .staticmethod(
"getTheSeeds")
196 .staticmethod(
"getTheTableSeeds")
198 .def(
"getTheGenerator", &HepRandom::getTheGenerator,
199 return_value_policy<reference_existing_object>())
200 .staticmethod(
"getTheGenerator")
201 .def(
"setTheEngine", &HepRandom::setTheEngine)
202 .staticmethod(
"setTheEngine")
203 .def(
"getTheEngine", &HepRandom::getTheEngine,
204 return_value_policy<reference_existing_object>())
205 .staticmethod(
"getTheEngine")
208 .staticmethod(
"saveEngineStatus")
211 .staticmethod(
"restoreEngineStatus")
212 .def(
"showEngineStatus", &HepRandom::showEngineStatus)
213 .staticmethod(
"showEngineStatus")
214 .def(
"createInstance", &HepRandom::createInstance)
215 .staticmethod(
"createInstance")
219 class_<RandBit, boost::noncopyable>
220 (
"RandBit",
"generate bit random number", no_init)
222 .staticmethod(
"shootBit")
226 class_<G4RandGauss, boost::noncopyable>
227 (
"G4RandGauss",
"generate gaussian random number", no_init)
230 .staticmethod(
"shoot")
void f1_restoreEngineStatus()
double f1_RandGaussQ_shoot()
double f2_RandGaussQ_shoot(double mean, double stdDev)
void f2_saveEngineStatus(const char *filename)
void f1_saveEngineStatus()
void f2_restoreEngineStatus(const char *filename)
void f2_setTheSeeds(const list &seedList, int aux)
list f_getTheTableSeeds(int index)
void f1_setTheSeed(long seed)
int f1_RandBit_shootBit()
void f1_setTheSeeds(const list &seedList)
void f2_setTheSeed(long seed, int lux)