ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCL::Ranecu3 Class Reference

Extended Ranecu-type RNG class. More...

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/inclxx/utils/include/G4INCLRanecu3.hh>

+ Inheritance diagram for G4INCL::Ranecu3:
+ Collaboration diagram for G4INCL::Ranecu3:

Public Member Functions

 Ranecu3 ()
 
 Ranecu3 (const Random::SeedVector &sv)
 
virtual ~Ranecu3 ()
 
Random::SeedVector getSeeds ()
 
void setSeeds (const Random::SeedVector &sv)
 
G4double flat ()
 
- Public Member Functions inherited from G4INCL::IRandomGenerator
 IRandomGenerator ()
 
virtual ~IRandomGenerator ()
 

Private Attributes

G4int iseed1
 
G4int iseed2
 
G4int iseed3
 
G4int i1
 
G4int i2
 
G4int i3
 
G4int iz
 
const G4double uscale
 
const G4int m1
 
const G4int m2
 
const G4int m3
 
const G4int a1
 
const G4int a2
 
const G4int a3
 
const G4int q1
 
const G4int q2
 
const G4int q3
 
const G4int r1
 
const G4int r2
 
const G4int r3
 

Detailed Description

Extended Ranecu-type RNG class.

This generator implements the C++ version of the generator suggested by Badal and Sempau, Comp. Phys. Comm. 175 (2006) 440. It uses three 32-bit seeds and has a period of ~5E27.

Definition at line 59 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 59 of file G4INCLRanecu3.hh

Constructor & Destructor Documentation

G4INCL::Ranecu3::Ranecu3 ( )

Definition at line 49 of file G4INCLRanecu3.cc.

View newest version in sPHENIX GitHub at line 49 of file G4INCLRanecu3.cc

G4INCL::Ranecu3::Ranecu3 ( const Random::SeedVector sv)

Definition at line 62 of file G4INCLRanecu3.cc.

View newest version in sPHENIX GitHub at line 62 of file G4INCLRanecu3.cc

References setSeeds().

+ Here is the call graph for this function:

G4INCL::Ranecu3::~Ranecu3 ( )
virtual

Definition at line 73 of file G4INCLRanecu3.cc.

View newest version in sPHENIX GitHub at line 73 of file G4INCLRanecu3.cc

Member Function Documentation

G4double G4INCL::Ranecu3::flat ( )
virtual

Implements G4INCL::IRandomGenerator.

Definition at line 75 of file G4INCLRanecu3.cc.

View newest version in sPHENIX GitHub at line 75 of file G4INCLRanecu3.cc

References a1, a2, a3, i1, i2, i3, iseed1, iseed2, iseed3, iz, m1, m2, m3, q1, q2, q3, r1, r2, r3, and uscale.

Random::SeedVector G4INCL::Ranecu3::getSeeds ( )
inlinevirtual

Implements G4INCL::IRandomGenerator.

Definition at line 65 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 65 of file G4INCLRanecu3.hh

References iseed1, iseed2, and iseed3.

void G4INCL::Ranecu3::setSeeds ( const Random::SeedVector sv)
inlinevirtual

Implements G4INCL::IRandomGenerator.

Definition at line 73 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 73 of file G4INCLRanecu3.hh

References iseed1, iseed2, and iseed3.

Referenced by Ranecu3().

+ Here is the caller graph for this function:

Member Data Documentation

const G4int G4INCL::Ranecu3::a1
private

Definition at line 87 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 87 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::a2
private

Definition at line 87 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 87 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::a3
private

Definition at line 87 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 87 of file G4INCLRanecu3.hh

Referenced by flat().

G4int G4INCL::Ranecu3::i1
private

Definition at line 84 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 84 of file G4INCLRanecu3.hh

Referenced by flat().

G4int G4INCL::Ranecu3::i2
private

Definition at line 84 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 84 of file G4INCLRanecu3.hh

Referenced by flat().

G4int G4INCL::Ranecu3::i3
private

Definition at line 84 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 84 of file G4INCLRanecu3.hh

Referenced by flat().

G4int G4INCL::Ranecu3::iseed1
private

Definition at line 83 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 83 of file G4INCLRanecu3.hh

Referenced by flat(), getSeeds(), and setSeeds().

G4int G4INCL::Ranecu3::iseed2
private

Definition at line 83 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 83 of file G4INCLRanecu3.hh

Referenced by flat(), getSeeds(), and setSeeds().

G4int G4INCL::Ranecu3::iseed3
private

Definition at line 83 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 83 of file G4INCLRanecu3.hh

Referenced by flat(), getSeeds(), and setSeeds().

G4int G4INCL::Ranecu3::iz
private

Definition at line 84 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 84 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::m1
private

Definition at line 86 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 86 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::m2
private

Definition at line 86 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 86 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::m3
private

Definition at line 86 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 86 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::q1
private

Definition at line 88 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 88 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::q2
private

Definition at line 88 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 88 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::q3
private

Definition at line 88 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 88 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::r1
private

Definition at line 89 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 89 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::r2
private

Definition at line 89 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 89 of file G4INCLRanecu3.hh

Referenced by flat().

const G4int G4INCL::Ranecu3::r3
private

Definition at line 89 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 89 of file G4INCLRanecu3.hh

Referenced by flat().

const G4double G4INCL::Ranecu3::uscale
private

Definition at line 85 of file G4INCLRanecu3.hh.

View newest version in sPHENIX GitHub at line 85 of file G4INCLRanecu3.hh

Referenced by flat().


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