#include <RandomEngine.h>
◆ HepRandomEngine()
CLHEP::HepRandomEngine::HepRandomEngine |
( |
| ) |
|
◆ ~HepRandomEngine()
CLHEP::HepRandomEngine::~HepRandomEngine |
( |
| ) |
|
|
virtual |
◆ beginTag()
std::string CLHEP::HepRandomEngine::beginTag |
( |
| ) |
|
|
static |
Definition at line 68 of file RandomEngine.cc.
68 {
69 return "HepRandomEngine-begin";
70}
◆ checkFile()
bool CLHEP::HepRandomEngine::checkFile |
( |
std::istream & |
file, |
|
|
const std::string & |
filename, |
|
|
const std::string & |
classname, |
|
|
const std::string & |
methodname |
|
) |
| |
|
staticprotected |
◆ exponent_bit_32()
static double CLHEP::HepRandomEngine::exponent_bit_32 |
( |
| ) |
|
|
inlinestaticprotected |
◆ flat()
virtual double CLHEP::HepRandomEngine::flat |
( |
| ) |
|
|
pure virtual |
Implemented in CLHEP::DualRand, CLHEP::HepJamesRandom, CLHEP::MixMaxRng, CLHEP::MTwistEngine, CLHEP::NonRandomEngine, CLHEP::RanecuEngine, CLHEP::Ranlux64Engine, CLHEP::RanluxEngine, CLHEP::RanshiEngine, and CLHEP::RanluxppEngine.
Referenced by G4UniversalFluctuation::AddExcitation(), G4Evaporation::BreakFragment(), G4FPYSamplingOps::G4SampleUniform(), G4VEmissionProbability::SampleEnergy(), G4SBBremTable::SampleEnergyTransfer(), G4IonFluctuations::SampleFluctuations(), G4UniversalFluctuation::SampleGauss(), G4PreCompoundFragment::SampleKineticEnergy(), G4UrbanAdjointMscModel::SampleScattering(), G4UrbanMscModel::SampleScattering(), G4WentzelVIModel::SampleScattering(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4eplusTo3GammaOKVIModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4WentzelOKandVIxSection::SampleSingleScattering(), CLHEP::RandFlat::shoot(), CLHEP::RandGauss::shoot(), CLHEP::RandStudentT::shoot(), CLHEP::RandBreitWigner::shoot(), CLHEP::RandPoisson::shoot(), CLHEP::RandExpZiggurat::ziggurat_UNI(), and CLHEP::RandGaussZiggurat::ziggurat_UNI().
◆ flatArray()
virtual void CLHEP::HepRandomEngine::flatArray |
( |
const int |
size, |
|
|
double * |
vect |
|
) |
| |
|
pure virtual |
Implemented in CLHEP::DualRand, CLHEP::HepJamesRandom, CLHEP::MixMaxRng, CLHEP::MTwistEngine, CLHEP::NonRandomEngine, CLHEP::RanecuEngine, CLHEP::Ranlux64Engine, CLHEP::RanluxEngine, CLHEP::RanshiEngine, and CLHEP::RanluxppEngine.
Referenced by G4MTRunManager::InitializeEventLoop(), G4TaskRunManager::InitializeEventLoop(), G4MTRunManager::RefillSeeds(), G4TaskRunManager::RefillSeeds(), G4SBBremTable::SampleEnergyTransfer(), G4UniversalFluctuation::SampleGlandz(), G4UrbanFluctuation::SampleGlandz(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), and CLHEP::RandFlat::shootArray().
◆ get() [1/2]
bool CLHEP::HepRandomEngine::get |
( |
const std::vector< unsigned long > & |
v | ) |
|
|
virtual |
◆ get() [2/2]
std::istream & CLHEP::HepRandomEngine::get |
( |
std::istream & |
is | ) |
|
|
virtual |
Reimplemented in CLHEP::DualRand, CLHEP::HepJamesRandom, CLHEP::MixMaxRng, CLHEP::MTwistEngine, CLHEP::NonRandomEngine, CLHEP::RanecuEngine, CLHEP::Ranlux64Engine, CLHEP::RanluxEngine, CLHEP::RanshiEngine, and CLHEP::RanluxppEngine.
Definition at line 63 of file RandomEngine.cc.
63 {
64 std::cerr << "HepRandomEngine::get called -- no effect!\n";
65 return is;
66}
Referenced by CLHEP::HepRandom::engine(), CLHEP::HepRandom::getTheEngine(), and CLHEP::operator>>().
◆ getSeed()
long CLHEP::HepRandomEngine::getSeed |
( |
| ) |
const |
|
inline |
◆ getSeeds()
const long * CLHEP::HepRandomEngine::getSeeds |
( |
| ) |
const |
|
inline |
◆ getState() [1/2]
bool CLHEP::HepRandomEngine::getState |
( |
const std::vector< unsigned long > & |
v | ) |
|
|
virtual |
◆ getState() [2/2]
std::istream & CLHEP::HepRandomEngine::getState |
( |
std::istream & |
is | ) |
|
|
virtual |
◆ mantissa_bit_12()
static double CLHEP::HepRandomEngine::mantissa_bit_12 |
( |
| ) |
|
|
inlinestaticprotected |
◆ mantissa_bit_24()
static double CLHEP::HepRandomEngine::mantissa_bit_24 |
( |
| ) |
|
|
inlinestaticprotected |
◆ mantissa_bit_32()
static double CLHEP::HepRandomEngine::mantissa_bit_32 |
( |
| ) |
|
|
inlinestaticprotected |
◆ name()
virtual std::string CLHEP::HepRandomEngine::name |
( |
| ) |
const |
|
pure virtual |
◆ nearlyTwoToMinus_54()
static double CLHEP::HepRandomEngine::nearlyTwoToMinus_54 |
( |
| ) |
|
|
inlinestaticprotected |
◆ newEngine() [1/2]
HepRandomEngine * CLHEP::HepRandomEngine::newEngine |
( |
const std::vector< unsigned long > & |
v | ) |
|
|
static |
Definition at line 96 of file RandomEngine.cc.
96 {
98}
static HepRandomEngine * newEngine(std::istream &is)
◆ newEngine() [2/2]
◆ operator double()
CLHEP::HepRandomEngine::operator double |
( |
| ) |
|
|
virtual |
◆ operator float()
CLHEP::HepRandomEngine::operator float |
( |
| ) |
|
|
virtual |
◆ operator unsigned int()
CLHEP::HepRandomEngine::operator unsigned int |
( |
| ) |
|
|
virtual |
◆ operator!=()
◆ operator==()
◆ put() [1/2]
std::vector< unsigned long > CLHEP::HepRandomEngine::put |
( |
| ) |
const |
|
virtual |
◆ put() [2/2]
std::ostream & CLHEP::HepRandomEngine::put |
( |
std::ostream & |
os | ) |
const |
|
virtual |
◆ restoreStatus()
virtual void CLHEP::HepRandomEngine::restoreStatus |
( |
const char |
filename[] = "Config.conf" | ) |
|
|
pure virtual |
◆ saveStatus()
virtual void CLHEP::HepRandomEngine::saveStatus |
( |
const char |
filename[] = "Config.conf" | ) |
const |
|
pure virtual |
◆ setSeed()
virtual void CLHEP::HepRandomEngine::setSeed |
( |
long |
seed, |
|
|
int |
|
|
) |
| |
|
pure virtual |
◆ setSeeds()
virtual void CLHEP::HepRandomEngine::setSeeds |
( |
const long * |
seeds, |
|
|
int |
|
|
) |
| |
|
pure virtual |
◆ showStatus()
virtual void CLHEP::HepRandomEngine::showStatus |
( |
| ) |
const |
|
pure virtual |
◆ twoToMinus_32()
static double CLHEP::HepRandomEngine::twoToMinus_32 |
( |
| ) |
|
|
inlinestaticprotected |
◆ twoToMinus_48()
static double CLHEP::HepRandomEngine::twoToMinus_48 |
( |
| ) |
|
|
inlinestaticprotected |
◆ twoToMinus_49()
static double CLHEP::HepRandomEngine::twoToMinus_49 |
( |
| ) |
|
|
inlinestaticprotected |
◆ twoToMinus_53()
static double CLHEP::HepRandomEngine::twoToMinus_53 |
( |
| ) |
|
|
inlinestaticprotected |
◆ theSeed
long CLHEP::HepRandomEngine::theSeed |
|
protected |
Definition at line 142 of file RandomEngine.h.
Referenced by CLHEP::DualRand::DualRand(), getSeed(), CLHEP::DualRand::getState(), CLHEP::HepJamesRandom::getState(), CLHEP::MixMaxRng::getState(), CLHEP::MTwistEngine::getState(), CLHEP::RanecuEngine::getState(), CLHEP::Ranlux64Engine::getState(), CLHEP::RanluxEngine::getState(), CLHEP::RanshiEngine::getState(), CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::MixMaxRng::MixMaxRng(), CLHEP::RanecuEngine::put(), CLHEP::MixMaxRng::put(), CLHEP::MTwistEngine::put(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::RanluxEngine::RanluxEngine(), CLHEP::RanluxppEngine::RanluxppEngine(), CLHEP::RanshiEngine::RanshiEngine(), CLHEP::DualRand::restoreStatus(), CLHEP::HepJamesRandom::restoreStatus(), CLHEP::MTwistEngine::restoreStatus(), CLHEP::RanecuEngine::restoreStatus(), CLHEP::RanluxEngine::restoreStatus(), CLHEP::Ranlux64Engine::restoreStatus(), CLHEP::RanshiEngine::restoreStatus(), CLHEP::MTwistEngine::saveStatus(), CLHEP::RanecuEngine::setIndex(), CLHEP::RanecuEngine::setSeed(), CLHEP::HepJamesRandom::setSeed(), CLHEP::MixMaxRng::setSeed(), CLHEP::RanluxppEngine::setSeed(), CLHEP::Ranlux64Engine::setSeed(), CLHEP::RanluxEngine::setSeed(), CLHEP::DualRand::setSeed(), CLHEP::MTwistEngine::setSeed(), CLHEP::RanecuEngine::setSeeds(), CLHEP::Ranlux64Engine::setSeeds(), CLHEP::RanluxEngine::setSeeds(), CLHEP::MixMaxRng::setSeeds(), CLHEP::RanshiEngine::setSeeds(), CLHEP::DualRand::showStatus(), CLHEP::HepJamesRandom::showStatus(), CLHEP::MTwistEngine::showStatus(), CLHEP::RanecuEngine::showStatus(), CLHEP::Ranlux64Engine::showStatus(), CLHEP::RanluxEngine::showStatus(), and CLHEP::RanshiEngine::showStatus().
◆ theSeeds
const long* CLHEP::HepRandomEngine::theSeeds |
|
protected |
Definition at line 143 of file RandomEngine.h.
Referenced by getSeeds(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::RanecuEngine::setIndex(), CLHEP::RanecuEngine::setSeed(), CLHEP::HepJamesRandom::setSeeds(), CLHEP::RanluxppEngine::setSeeds(), CLHEP::RanecuEngine::setSeeds(), CLHEP::Ranlux64Engine::setSeeds(), CLHEP::RanluxEngine::setSeeds(), CLHEP::MixMaxRng::setSeeds(), CLHEP::DualRand::setSeeds(), CLHEP::MTwistEngine::setSeeds(), and CLHEP::RanshiEngine::setSeeds().
The documentation for this class was generated from the following files: