#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::RanluxppEngine, and CLHEP::RanshiEngine.
Referenced by G4UniversalFluctuation::AddExcitation(), G4Evaporation::BreakFragment(), G4FPYSamplingOps::G4SampleUniform(), G4VEmissionProbability::SampleEnergy(), G4SBBremTable::SampleEnergyTransfer(), G4IonFluctuations::SampleFluctuations(), G4UniversalFluctuation::SampleGauss(), G4PreCompoundFragment::SampleKineticEnergy(), G4UrbanAdjointMscModel::SampleScattering(), G4UrbanMscModel::SampleScattering(), G4WentzelVIModel::SampleScattering(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4BoldyshevTripletModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4eplusTo3GammaOKVIModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4WentzelOKandVIxSection::SampleSingleScattering(), CLHEP::RandBreitWigner::shoot(), CLHEP::RandBreitWigner::shoot(), CLHEP::RandBreitWigner::shoot(), CLHEP::RandBreitWigner::shoot(), CLHEP::RandFlat::shoot(), CLHEP::RandGauss::shoot(), CLHEP::RandGauss::shoot(), CLHEP::RandPoisson::shoot(), CLHEP::RandPoisson::shoot(), CLHEP::RandStudentT::shoot(), CLHEP::RandStudentT::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::RanluxppEngine, and CLHEP::RanshiEngine.
Referenced by G4MTRunManager::InitializeEventLoop(), G4TaskRunManager::InitializeEventLoop(), G4MTRunManager::RefillSeeds(), G4TaskRunManager::RefillSeeds(), G4SBBremTable::SampleEnergyTransfer(), G4UniversalFluctuation::SampleGlandz(), G4UrbanFluctuation::SampleGlandz(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eDPWACoulombScatteringModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PolarizedComptonModel::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::RanluxppEngine, and CLHEP::RanshiEngine.
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(), CLHEP::DualRand::DualRand(), CLHEP::DualRand::DualRand(), getSeed(), CLHEP::DualRand::getState(), CLHEP::HepJamesRandom::getState(), CLHEP::MixMaxRng::getState(), CLHEP::MTwistEngine::getState(), CLHEP::RanecuEngine::getState(), CLHEP::RanecuEngine::getState(), CLHEP::Ranlux64Engine::getState(), CLHEP::RanluxEngine::getState(), CLHEP::RanshiEngine::getState(), CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::MixMaxRng::MixMaxRng(), CLHEP::MixMaxRng::put(), CLHEP::MTwistEngine::put(), CLHEP::RanecuEngine::put(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::RanluxEngine::RanluxEngine(), CLHEP::RanluxEngine::RanluxEngine(), CLHEP::RanluxEngine::RanluxEngine(), CLHEP::RanluxppEngine::RanluxppEngine(), CLHEP::RanshiEngine::RanshiEngine(), CLHEP::RanshiEngine::RanshiEngine(), CLHEP::RanshiEngine::RanshiEngine(), CLHEP::DualRand::restoreStatus(), CLHEP::HepJamesRandom::restoreStatus(), CLHEP::MTwistEngine::restoreStatus(), CLHEP::RanecuEngine::restoreStatus(), CLHEP::Ranlux64Engine::restoreStatus(), CLHEP::RanluxEngine::restoreStatus(), CLHEP::RanshiEngine::restoreStatus(), CLHEP::MTwistEngine::saveStatus(), CLHEP::RanecuEngine::setIndex(), CLHEP::DualRand::setSeed(), CLHEP::HepJamesRandom::setSeed(), CLHEP::MixMaxRng::setSeed(), CLHEP::MTwistEngine::setSeed(), CLHEP::RanecuEngine::setSeed(), CLHEP::Ranlux64Engine::setSeed(), CLHEP::RanluxEngine::setSeed(), CLHEP::RanluxppEngine::setSeed(), CLHEP::MixMaxRng::setSeeds(), CLHEP::RanecuEngine::setSeeds(), CLHEP::Ranlux64Engine::setSeeds(), CLHEP::RanluxEngine::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::RanecuEngine(), CLHEP::RanecuEngine::setIndex(), CLHEP::RanecuEngine::setSeed(), CLHEP::DualRand::setSeeds(), CLHEP::HepJamesRandom::setSeeds(), CLHEP::MixMaxRng::setSeeds(), CLHEP::MTwistEngine::setSeeds(), CLHEP::RanecuEngine::setSeeds(), CLHEP::Ranlux64Engine::setSeeds(), CLHEP::RanluxEngine::setSeeds(), CLHEP::RanluxppEngine::setSeeds(), and CLHEP::RanshiEngine::setSeeds().
The documentation for this class was generated from the following files: