hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::DefaultRNG Struct Reference

Helper struct with default implementations. More...

#include <RNG.hh>

Inheritance diagram for HEJ::DefaultRNG:
Collaboration diagram for HEJ::DefaultRNG:

Public Member Functions

unsigned min () const override
 Minimum number that can be generated. More...
 
unsigned max () const override
 Maximum number that can be generated. More...
 
unsigned operator() () override
 Generate random number in [min(), max()]. More...
 
- Public Member Functions inherited from HEJ::RNG
virtual double flat ()=0
 Generate random number in (0,1]. More...
 
virtual unsigned min () const =0
 Minimum number that can be generated. More...
 
virtual unsigned max () const =0
 Maximum number that can be generated. More...
 
virtual unsigned operator() ()=0
 Generate random number in [min(), max()]. More...
 
virtual ~RNG ()=default
 

Detailed Description

Helper struct with default implementations.

Member Function Documentation

◆ max()

unsigned HEJ::DefaultRNG::max ( ) const
inlineoverridevirtual

Maximum number that can be generated.

Implements HEJ::RNG.

◆ min()

unsigned HEJ::DefaultRNG::min ( ) const
inlineoverridevirtual

Minimum number that can be generated.

Implements HEJ::RNG.

◆ operator()()

unsigned HEJ::DefaultRNG::operator() ( )
inlineoverridevirtual

Generate random number in [min(), max()].

Implements HEJ::RNG.


The documentation for this struct was generated from the following file: