hej is hosted by Hepforge, IPPP Durham
HEJ 2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::Ranlux64 Class Reference

Ranlux64 random number generator. More...

#include <Ranlux64.hh>

Inheritance diagram for HEJ::Ranlux64:
Collaboration diagram for HEJ::Ranlux64:

Public Member Functions

 Ranlux64 ()
 
 Ranlux64 (std::string const &seed_file)
 Constructor with a file as seed. More...
 
double flat () override
 Generate pseudorandom number between 0 and 1. More...
 
- Public Member Functions inherited from HEJ::DefaultRNG
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

Ranlux64 random number generator.

For details on ranlux64, see [7], [6]

Constructor & Destructor Documentation

◆ Ranlux64() [1/2]

HEJ::Ranlux64::Ranlux64 ( )

◆ Ranlux64() [2/2]

HEJ::Ranlux64::Ranlux64 ( std::string const &  seed_file)

Constructor with a file as seed.

Member Function Documentation

◆ flat()

double HEJ::Ranlux64::flat ( )
overridevirtual

Generate pseudorandom number between 0 and 1.

Implements HEJ::RNG.


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