Geant4 10.7.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 Random::SeedVector &)
 
virtual ~Geant4RandomGenerator ()
 
Random::SeedVector getSeeds ()
 
void setSeeds (const Random::SeedVector &)
 
G4double flat ()
 
- Public Member Functions inherited from G4INCL::IRandomGenerator
 IRandomGenerator ()
 
virtual ~IRandomGenerator ()
 
virtual Random::SeedVector getSeeds ()=0
 
virtual void setSeeds (const Random::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 Random::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:52

◆ getSeeds()

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

Implements G4INCL::IRandomGenerator.

Definition at line 57 of file G4INCLGeant4Random.hh.

57 {
58 INCL_WARN("getSeeds not supported.");
59 Random::SeedVector sv;
60 return sv;
61 }
#define INCL_WARN(x)

◆ setSeeds()

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

Implements G4INCL::IRandomGenerator.

Definition at line 63 of file G4INCLGeant4Random.hh.

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

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