hej is hosted by Hepforge, IPPP Durham
HEJ 2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
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/RNG.hh"
14#include "HEJ/optional.hh"
15
16namespace HEJ {
18
28 std::unique_ptr<RNG> make_RNG(
29 std::string const & name,
30 optional<std::string> const & seed
31 );
32} // namespace HEJ
Interface for pseudorandom number generators.
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
boost::optional< T > optional
Definition: optional.hh:23
std::unique_ptr< RNG > make_RNG(std::string const &name, optional< std::string > const &seed)
Factory function for random number generators.
Defines the optional type.