CLHEP VERSION 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.
Macros | |
#define | CLEAN_OUTPUT |
#define | TEST_SHARED_ENGINES |
#define | VERBOSER |
#define | VERBOSER2 |
Functions | |
std::ofstream | output ("testSaveSharedEngines.cout") |
bool | equals01 (const std::vector< double > &ab) |
bool | equals (double a, double b) |
template<class E , class D1 , class D2 > | |
int | checkSharingDistributions (D1 &d1, D2 &d2, int n1, int n2) |
template<class E > | |
int | checkSharing () |
int | main () |
#define CLEAN_OUTPUT |
Definition at line 9 of file testSaveSharedEngines.cc.
#define TEST_SHARED_ENGINES |
Definition at line 21 of file testSaveSharedEngines.cc.
#define VERBOSER |
Definition at line 25 of file testSaveSharedEngines.cc.
#define VERBOSER2 |
Definition at line 26 of file testSaveSharedEngines.cc.
int checkSharing | ( | ) |
Definition at line 122 of file testSaveSharedEngines.cc.
References checkSharingDistributions().
Referenced by main().
int checkSharingDistributions | ( | D1 & | d1, |
D2 & | d2, | ||
int | n1, | ||
int | n2 ) |
Definition at line 42 of file testSaveSharedEngines.cc.
References equals(), and output().
Referenced by checkSharing().
Definition at line 35 of file testSaveSharedEngines.cc.
References a, b, and equals01().
Referenced by checkSharingDistributions().
bool equals01 | ( | const std::vector< double > & | ab | ) |
Definition at line 32 of file testSaveSharedEngines.cc.
Referenced by equals().
int main | ( | ) |
Definition at line 146 of file testSaveSharedEngines.cc.
References checkSharing(), and output().
std::ofstream output | ( | "testSaveSharedEngines.cout" | ) |
Referenced by checkSharingDistributions(), and main().