CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Random/Random/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 
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
is
HepRotation and so forth isNear() norm2() rectify() static Rotation row1 row4(To avoid bloat in the code pulled in for programs which don 't use all these features, we split the implementation .cc files. Only isNear() goes into the original Rotation.cc) --------------------------------------- HepAxisAngle and HepEulerAngles classes --------------------------------------- These classes are very useful and simple structures for holding the result of a nice intuituve decomposition of a rotation there is no longer much content in the distinct ZOOM PhysicsVectors library The only content left in the library is the object files representing the various Exception objects When we build the CLHEP classes for the ZOOM we will set up so as to use ZOOM SpaceVector is(but we can disable namespace usage and most of our users do so at this point). What I do is leave Hep3Vector in the global namespace
CLHEP::StaticRandomStates::restore
static std::istream & restore(std::istream &is)
Definition: StaticRandomStates.cc:51
CLHEP
Definition: ClhepVersion.h:13
CLHEP::StaticRandomStates::save
static std::ostream & save(std::ostream &os)
Definition: StaticRandomStates.cc:37