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
23namespace CLHEP {
24
25/**
26 * @author <[email protected]>
27 */
29
30public:
31
32static std::ostream & save (std::ostream & os);
33static 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
41using namespace CLHEP;
42#endif
43
44#endif
static std::istream & restore(std::istream &is)
static std::ostream & save(std::ostream &os)