hej is hosted by Hepforge, IPPP Durham
HEJ 2  2.0
High energy resummation for hadron colliders
make_RNG.hh
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include <memory>
11 #include <string>
12 
13 #include "HEJ/optional.hh"
14 #include "HEJ/RNG.hh"
15 
16 namespace HEJ {
18 
28  std::unique_ptr<HEJ::RNG> make_RNG(
29  std::string const & name,
30  optional<std::string> const & seed
31  );
32 }
Interface for pseudorandom number generators.
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
boost::optional< T > optional
Definition: optional.hh:23
std::unique_ptr< HEJ::RNG > make_RNG(std::string const &name, optional< std::string > const &seed)
Factory function for random number generators.
Defines the optional type.