StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
tauola_set_seed.h
1 // Temporary solution embedded in this tauola_seed_seed.h:
2 //
3 // enables reinitialization of Fortran Random numbergenerator used in TAUOLA.
4 //
5 // Can be invoked by
6 // setSeed( 47238, 985439, 0 );
7 // instead of
8 // Tauola::setSeed( 47238, 985439, 0 );
9 //
10 // It can be used with up to date version of library as well
11 // because of #ifndef rmarin_ condition.
12 
13 #ifndef rmarin_
14 // Set seed for TAUOLA-FORTRAN random number generator
15 extern "C" void rmarin_(int *ijklin, int *ntotin, int *ntot2n);
16 #endif
17 
19 static void setSeed( int ijklin, int ntotin, int ntot2n ) { rmarin_(&ijklin,&ntotin,&ntot2n); }