Loading [MathJax]/extensions/tex2jax.js
hej is hosted by Hepforge, IPPP Durham
HEJ  2.3.0
High energy resummation for hadron colliders
Ranlux64.hh
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include <string>
11 
12 #include "CLHEP/Random/Ranlux64Engine.h"
13 
14 #include "HEJ/RNG.hh"
15 
16 namespace HEJ {
17 
19 
22  class Ranlux64 : public RNG {
23  public:
26  Ranlux64(std::string const & seed_file);
27 
29  double flat() override;
30 
31  private:
32  CLHEP::Ranlux64Engine ran_;
33  };
34 
35 } // namespace HEJ
Interface for pseudorandom number generators.
Ranlux64 random number generator.
Definition: Ranlux64.hh:22
double flat() override
Generate pseudorandom number between 0 and 1.
Ranlux64(std::string const &seed_file)
Constructor with a file as seed.
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
Interface for random number generator.
Definition: RNG.hh:22