GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void Random::SetCurrent ( const char *  name = "basic")

to set the current TRandomom object

If the given name is not known, the current generator is not changed. Default is basic: To change the initial conditions of your GEM simulations, just do, for instance:

Random *therand = Random::Instance(); // give a pointer to the unique instance
Random::SetCurrent("medium"); // now medium is the current
{ // start your gammaware simulation
BaseGEM mynucleus; ....
}

Definition at line 75 of file Random.cpp.