hej is hosted by Hepforge, IPPP Durham
HEJ 2.1.4
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

result_type min () const override
 Minimum number that can be generated. More...
 
result_type max () const override
 Maximum number that can be generated. More...
 
result_type 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 result_type min () const =0
 Minimum number that can be generated. More...
 
virtual result_type max () const =0
 Maximum number that can be generated. More...
 
virtual result_type operator() ()=0
 Generate random number in [min(), max()]. More...
 
virtual ~RNG ()=default
 

Additional Inherited Members

- Public Types inherited from HEJ::RNG
using result_type = unsigned
 Random number type, see std::RandomNumberDistribution. More...
 

Detailed Description

Helper struct with default implementations.

Member Function Documentation

◆ max()

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

Maximum number that can be generated.

Implements HEJ::RNG.

◆ min()

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

Minimum number that can be generated.

Implements HEJ::RNG.

◆ operator()()

result_type HEJ::DefaultRNG::operator() ( )
inlineoverridevirtual

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

Implements HEJ::RNG.


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