hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.1.4
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/MixMaxRng.h"
11
#include "CLHEP/Random/Randomize.h"
12
13
#include "
HEJ/RNG.hh
"
14
15
namespace
HEJ
{
16
18
21
class
Mixmax
:
public
DefaultRNG
{
22
public
:
23
Mixmax
() =
default
;
25
Mixmax
(
long
seed): ran_{seed} {}
26
28
double
flat
()
override
{
29
return
ran_.flat();
30
}
31
32
private
:
33
CLHEP::MixMaxRng ran_;
34
};
35
36
}
// namespace HEJ
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)
Constructor with explicit seed.
Definition:
Mixmax.hh:25
HEJ::Mixmax::flat
double flat() override
Generate pseudorandom number between 0 and 1.
Definition:
Mixmax.hh:28
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::DefaultRNG
Helper struct with default implementations.
Definition:
RNG.hh:37
Generated by
1.9.5