RandomEngine.cc
Go to the documentation of this file.
1 
9 #include <utl/RandomEngine.h>
10 #include <CLHEP/Random/Randomize.h>
11 
12 using namespace CLHEP;
13 
14 
15 namespace utl {
16 
17  RandomEngine::RandomEngine() :
18  fEngine(new MTwistEngine)
19  { }
20 
21 
22  RandomEngine::RandomEngine(const long seed) :
23  fEngine(new MTwistEngine(seed))
24  { }
25 
26 
28  {
29  delete fEngine;
30  }
31 
32 }
RandomEngineType *const fEngine
Definition: RandomEngine.h:42

, generated on Tue Sep 26 2023.