CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#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.
Macros | |
#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 265 of file testStaticStreamSave.cc.
Referenced by main().
Definition at line 34 of file testStaticStreamSave.cc.
bool equals01 | ( | const std::vector< double > & | ab | ) |
Definition at line 31 of file testStaticStreamSave.cc.
Referenced by equals().
int main | ( | ) |
Definition at line 308 of file testStaticStreamSave.cc.
std::ofstream output | ( | "testStaticStreamSave.cout" | ) |
Referenced by main(), staticSave(), and staticSaveShootBit().
void randomizeStatics | ( | int | n | ) |
Definition at line 242 of file testStaticStreamSave.cc.
Referenced by main().
void restoreStatics | ( | std::string | filename | ) |
Definition at line 298 of file testStaticStreamSave.cc.
Referenced by main().
void saveStatics | ( | std::string | filename | ) |
Definition at line 290 of file testStaticStreamSave.cc.
Referenced by main().
int staticSave | ( | int | n | ) |
Definition at line 43 of file testStaticStreamSave.cc.
int staticSaveShootBit | ( | int | n | ) |
Definition at line 123 of file testStaticStreamSave.cc.