Tsld011

  • Default engine of type HepJamesRandom already instantiated

  • Use static methods defined in HepRandom to set/get the main engine to the generator

    • HepRandomEngine* theNewEngine = new RanecuEngine;
      HepRandom::setTheEngine(theNewEngine);
    • HepRandomEngine* theEngine =
      HepRandom::getTheEngine();

Previous slide Next slide Back to first slide View graphic version