CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
EngineFactory.h
Go to the documentation of this file.
1
// $Id
2
// -*- C++ -*-
3
//
4
// -----------------------------------------------------------------------
5
// HEP Random
6
// --- EngineFactory ---
7
// class header file
8
// -----------------------------------------------------------------------
9
10
// Class generating new engines from streamed saves.
11
12
// =======================================================================
13
// M Fischler - Created: 12/21/04
14
// =======================================================================
15
16
#ifndef EngineFactory_h
17
#define EngineFactory_h 1
18
19
#include "CLHEP/Random/defs.h"
20
#include "CLHEP/Random/RandomEngine.h"
21
22
namespace
CLHEP
{
23
24
class
EngineFactory
{
25
public
:
26
static
HepRandomEngine
*
newEngine
(std::istream & is);
27
static
HepRandomEngine
*
newEngine
(std::vector<unsigned long>
const
& v);
28
};
29
30
}
// namespace CLHEP
31
32
#ifdef ENABLE_BACKWARDS_COMPATIBILITY
33
// backwards compatibility will be enabled ONLY in CLHEP 1.9
34
using namespace
CLHEP
;
35
#endif
36
37
38
#endif
39
CLHEP::EngineFactory
Definition:
EngineFactory.h:24
CLHEP::EngineFactory::newEngine
static HepRandomEngine * newEngine(std::istream &is)
Definition:
EngineFactory.cc:61
CLHEP::HepRandomEngine
Definition:
RandomEngine.h:55
CLHEP
Definition:
DiagMatrix.h:23
CLHEP-CLHEP_2_4_6_4
Random
Random
EngineFactory.h
Generated by
1.9.6