hej
is hosted by
Hepforge
,
IPPP Durham
HEJ 2
2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
Mixmax.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <CLHEP/Random/Randomize.h>
11
#include <CLHEP/Random/MixMaxRng.h>
12
13
#include "
HEJ/RNG.hh
"
14
15
namespace
HEJ
{
16
18
21
class
Mixmax
:
public
DefaultRNG
{
22
public
:
23
Mixmax
() =
default
;
24
Mixmax
(
long
seed): ran_{seed} {};
25
27
double
flat
()
override
{
28
return
ran_.flat();
29
};
30
31
private
:
32
CLHEP::MixMaxRng ran_;
33
};
34
35
}
RNG.hh
Interface for pseudorandom number generators.
HEJ::Mixmax
MIXMAX random number generator.
Definition:
Mixmax.hh:21
HEJ::Mixmax::Mixmax
Mixmax()=default
HEJ::Mixmax::Mixmax
Mixmax(long seed)
Definition:
Mixmax.hh:24
HEJ::Mixmax::flat
double flat() override
Generate pseudorandom number between 0 and 1.
Definition:
Mixmax.hh:27
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::DefaultRNG
Helper struct with default implementations.
Definition:
RNG.hh:34
Generated by
1.9.5