laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauRandom.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2005 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
21 #ifndef LAU_RANDOM
22 #define LAU_RANDOM
23 
24 #include "Rtypes.h"
25 
26 class TRandom;
27 
28 namespace LauRandom {
29 
31 
36  TRandom* randomFun();
37 
39 
42  TRandom* zeroSeedRandom();
43 
45 
48  void setSeed(UInt_t seed);
49 
50 }
51 
52 #endif
TRandom * randomFun()
Access the singleton random number generator with a particular seed.
Definition: LauRandom.cc:20
TRandom * zeroSeedRandom()
Access the singleton random number generator with seed set from machine clock time (within +-1 sec)...
Definition: LauRandom.cc:30
void setSeed(UInt_t seed)
Set seed of random-number generator to a given value.
Definition: LauRandom.cc:41