CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#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_ANONYMOUS_ENGINE_RESTORE |
#define | TEST_ANONYMOUS_RESTORE_STATICS |
#define | VERBOSER |
#define | VERBOSER2 |
Functions | |
std::ofstream | output ("testAnonymousEngineRestore.cout") |
template<class E1 , class E2 > | |
int | anonymousRestoreStatics () |
bool | equals01 (const std::vector< double > &ab) |
bool | equals (double a, double b) |
std::vector< double > | aSequence (int n) |
void | randomizeStatics (int n) |
std::vector< double > | captureStatics () |
void | saveStatics (std::string filename) |
void | restoreStatics (std::string filename) |
template<class E > | |
void | anonymousRestore1 (int n, std::vector< double > &v) |
template<> | |
void | anonymousRestore1< NonRandomEngine > (int n, std::vector< double > &v) |
template<class E > | |
int | anonymousRestore2 (const std::vector< double > &v) |
template<class E > | |
int | anonymousRestore (int n) |
template<class E > | |
int | anonymousRestoreStatics1 () |
int | main () |
#define CLEAN_OUTPUT |
Definition at line 10 of file testAnonymousEngineRestore.cc.
#define TEST_ANONYMOUS_ENGINE_RESTORE |
Definition at line 22 of file testAnonymousEngineRestore.cc.
#define TEST_ANONYMOUS_RESTORE_STATICS |
Definition at line 23 of file testAnonymousEngineRestore.cc.
#define VERBOSER |
Definition at line 25 of file testAnonymousEngineRestore.cc.
#define VERBOSER2 |
Definition at line 26 of file testAnonymousEngineRestore.cc.
int anonymousRestore | ( | int | n | ) |
Definition at line 186 of file testAnonymousEngineRestore.cc.
void anonymousRestore1 | ( | int | n, |
std::vector< double > & | v | ||
) |
Definition at line 121 of file testAnonymousEngineRestore.cc.
void anonymousRestore1< NonRandomEngine > | ( | int | n, |
std::vector< double > & | v | ||
) |
Definition at line 137 of file testAnonymousEngineRestore.cc.
int anonymousRestore2 | ( | const std::vector< double > & | v | ) |
Definition at line 157 of file testAnonymousEngineRestore.cc.
int anonymousRestoreStatics | ( | ) |
Definition at line 231 of file testAnonymousEngineRestore.cc.
int anonymousRestoreStatics1 | ( | ) |
Definition at line 195 of file testAnonymousEngineRestore.cc.
std::vector< double > aSequence | ( | int | n | ) |
Definition at line 43 of file testAnonymousEngineRestore.cc.
Referenced by anonymousRestore1< NonRandomEngine >().
std::vector< double > captureStatics | ( | ) |
Definition at line 78 of file testAnonymousEngineRestore.cc.
Referenced by anonymousRestoreStatics(), and anonymousRestoreStatics1().
Definition at line 37 of file testAnonymousEngineRestore.cc.
Referenced by anonymousRestoreStatics().
bool equals01 | ( | const std::vector< double > & | ab | ) |
Definition at line 34 of file testAnonymousEngineRestore.cc.
Referenced by equals().
int main | ( | ) |
Definition at line 308 of file testAnonymousEngineRestore.cc.
std::ofstream output | ( | "testAnonymousEngineRestore.cout" | ) |
void randomizeStatics | ( | int | n | ) |
Definition at line 55 of file testAnonymousEngineRestore.cc.
Referenced by anonymousRestoreStatics(), and anonymousRestoreStatics1().
void restoreStatics | ( | std::string | filename | ) |
Definition at line 111 of file testAnonymousEngineRestore.cc.
Referenced by anonymousRestoreStatics(), and anonymousRestoreStatics1().
void saveStatics | ( | std::string | filename | ) |
Definition at line 103 of file testAnonymousEngineRestore.cc.
Referenced by anonymousRestoreStatics(), and anonymousRestoreStatics1().