CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include "CLHEP/Random/Randomize.h"
#include "CLHEP/Random/NonRandomEngine.h"
#include "CLHEP/Random/defs.h"
#include <iostream>
#include <iomanip>
#include <vector>
Go to the source code of this file.
Defines | |
#define | CLEAN_OUTPUT |
#define | TEST_STATIC_SAVE |
#define | TEST_SAVE_STATIC_STATES |
#define | VERBOSER |
#define | VERBOSER2 |
Functions | |
std::ofstream | output ("testStaticStreamSave.cout") |
bool | equals01 (const std::vector< double > &ab) |
bool | equals (double a, double b) |
template<class D> | |
int | staticSave (int n) |
template<class D> | |
int | staticSaveShootBit (int n) |
void | randomizeStatics (int n) |
std::vector< double > | captureStatics () |
void | saveStatics (std::string filename) |
void | restoreStatics (std::string filename) |
int | main () |
#define CLEAN_OUTPUT |
Definition at line 9 of file testStaticStreamSave.cc.
#define TEST_SAVE_STATIC_STATES |
Definition at line 22 of file testStaticStreamSave.cc.
#define TEST_STATIC_SAVE |
Definition at line 21 of file testStaticStreamSave.cc.
#define VERBOSER |
Definition at line 25 of file testStaticStreamSave.cc.
#define VERBOSER2 |
Definition at line 26 of file testStaticStreamSave.cc.
std::vector<double> captureStatics | ( | ) |
Definition at line 264 of file testStaticStreamSave.cc.
bool equals | ( | double | a, | |
double | b | |||
) |
bool equals01 | ( | const std::vector< double > & | ab | ) |
Definition at line 31 of file testStaticStreamSave.cc.
int main | ( | ) |
Definition at line 306 of file testStaticStreamSave.cc.
References captureStatics(), output(), randomizeStatics(), restoreStatics(), and saveStatics().
std::ofstream output | ( | "testStaticStreamSave.cout" | ) |
void randomizeStatics | ( | int | n | ) |
Definition at line 242 of file testStaticStreamSave.cc.
void restoreStatics | ( | std::string | filename | ) |
Definition at line 296 of file testStaticStreamSave.cc.
void saveStatics | ( | std::string | filename | ) |
Definition at line 288 of file testStaticStreamSave.cc.
int staticSave | ( | int | n | ) |
int staticSaveShootBit | ( | int | n | ) |