Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::Geant4RandomGenerator Class Reference

#include <G4INCLGeant4Random.hh>

+ Inheritance diagram for G4INCL::Geant4RandomGenerator:

Public Member Functions

 Geant4RandomGenerator ()
 
 Geant4RandomGenerator (const SeedVector &)
 
virtual ~Geant4RandomGenerator ()
 
SeedVector getSeeds () const
 
void setSeeds (const SeedVector &)
 
G4double flat ()
 
- Public Member Functions inherited from G4INCL::IRandomGenerator
 IRandomGenerator ()
 
virtual ~IRandomGenerator ()
 
virtual SeedVector getSeeds () const =0
 
virtual void setSeeds (const SeedVector &)=0
 
virtual G4double flat ()=0
 

Detailed Description

Definition at line 51 of file G4INCLGeant4Random.hh.

Constructor & Destructor Documentation

◆ Geant4RandomGenerator() [1/2]

G4INCL::Geant4RandomGenerator::Geant4RandomGenerator ( )
inline

Definition at line 53 of file G4INCLGeant4Random.hh.

53{};

◆ Geant4RandomGenerator() [2/2]

G4INCL::Geant4RandomGenerator::Geant4RandomGenerator ( const SeedVector )
inline

Definition at line 54 of file G4INCLGeant4Random.hh.

54{};

◆ ~Geant4RandomGenerator()

virtual G4INCL::Geant4RandomGenerator::~Geant4RandomGenerator ( )
inlinevirtual

Definition at line 55 of file G4INCLGeant4Random.hh.

55{};

Member Function Documentation

◆ flat()

G4double G4INCL::Geant4RandomGenerator::flat ( )
inlinevirtual

Implements G4INCL::IRandomGenerator.

Definition at line 67 of file G4INCLGeant4Random.hh.

67 {
68 return G4UniformRand();
69 }
#define G4UniformRand()
Definition: Randomize.hh:53

◆ getSeeds()

SeedVector G4INCL::Geant4RandomGenerator::getSeeds ( ) const
inlinevirtual

Implements G4INCL::IRandomGenerator.

Definition at line 57 of file G4INCLGeant4Random.hh.

57 {
58 WARN("getSeeds not supported.");
59 SeedVector sv;
60 return sv;
61 }
#define WARN(x)
std::vector< long > SeedVector

◆ setSeeds()

void G4INCL::Geant4RandomGenerator::setSeeds ( const SeedVector )
inlinevirtual

Implements G4INCL::IRandomGenerator.

Definition at line 63 of file G4INCLGeant4Random.hh.

63 {
64 WARN("setSeeds not supported.");
65 }

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