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

testSaveSharedEngines.cc File Reference

#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_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 Documentation

#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.


Function Documentation

template<class E>
int checkSharing (  ) 

Definition at line 122 of file testSaveSharedEngines.cc.

template<class E, class D1, class D2>
int checkSharingDistributions ( D1 &  d1,
D2 &  d2,
int  n1,
int  n2 
)

Definition at line 42 of file testSaveSharedEngines.cc.

References equals(), and output().

bool equals ( double  a,
double  b 
)

Definition at line 35 of file testSaveSharedEngines.cc.

References equals01().

bool equals01 ( const std::vector< double > &  ab  ) 

Definition at line 32 of file testSaveSharedEngines.cc.

int main (  ) 

Definition at line 146 of file testSaveSharedEngines.cc.

References output().

std::ofstream output ( "testSaveSharedEngines.cout"   ) 


Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7