CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
StaticRandomStates.h
Go to the documentation of this file.
1
// $Id
2
// -*- C++ -*-
3
//
4
// -----------------------------------------------------------------------
5
// HEP Random
6
// --- StaticRandomStates ---
7
// class header file
8
// -----------------------------------------------------------------------
9
//
10
// It's a holder for methods to save and restore the full states of all
11
// static random distribution generators, including engine and cached data.
12
//
13
// =======================================================================
14
// Mark Fischler - Created: Dec. 21, 2004
15
// =======================================================================
16
17
#ifndef StaticRandomStates_h
18
#define StaticRandomStates_h 1
19
20
#include "CLHEP/Random/defs.h"
21
#include <iostream>
22
23
namespace
CLHEP
{
24
25
/**
26
* @author <
[email protected]
>
27
*/
28
class
StaticRandomStates
{
29
30
public
:
31
32
static
std::ostream &
save
(std::ostream & os);
33
static
std::istream &
restore
(std::istream & is);
34
35
};
36
37
}
// namespace CLHEP
38
39
#ifdef ENABLE_BACKWARDS_COMPATIBILITY
40
// backwards compatibility will be enabled ONLY in CLHEP 1.9
41
using namespace
CLHEP
;
42
#endif
43
44
#endif
CLHEP::StaticRandomStates
Definition:
StaticRandomStates.h:28
CLHEP::StaticRandomStates::restore
static std::istream & restore(std::istream &is)
Definition:
StaticRandomStates.cc:52
CLHEP::StaticRandomStates::save
static std::ostream & save(std::ostream &os)
Definition:
StaticRandomStates.cc:38
CLHEP
Definition:
DiagMatrix.h:23
CLHEP-CLHEP_2_4_6_4
Random
Random
StaticRandomStates.h
Generated by
1.9.6