Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtRandom.hh
Show All 34 Lines | public: | ||||
static double random(); | static double random(); | ||||
//This class does not take ownership of the random engine; | //This class does not take ownership of the random engine; | ||||
//the caller needs to make sure that the engine is not | //the caller needs to make sure that the engine is not | ||||
//destroyed. | //destroyed. | ||||
static void setRandomEngine( EvtRandomEngine* randomEngine ); | static void setRandomEngine( EvtRandomEngine* randomEngine ); | ||||
private: | private: | ||||
static EvtRandomEngine* _randomEngine; | static EvtRandomEngine* m_randomEngine; | ||||
}; | }; | ||||
#endif | #endif |