hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
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
15namespace 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}
Interface for pseudorandom number generators.
MIXMAX random number generator.
Definition: Mixmax.hh:21
Mixmax()=default
Mixmax(long seed)
Definition: Mixmax.hh:24
double flat() override
Generate pseudorandom number between 0 and 1.
Definition: Mixmax.hh:27
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
Helper struct with default implementations.
Definition: RNG.hh:34