#include <G4FPYSamplingOps.hh>
Public 멤버 함수 | |
G4FPYSamplingOps (void) | |
G4FPYSamplingOps (G4int Verbosity) | |
G4int | G4SampleIntegerGaussian (G4double Mean, G4double StdDev) |
G4int | G4SampleIntegerGaussian (G4double Mean, G4double StdDev, G4FFGEnumerations::GaussianRange Range) |
G4double | G4SampleGaussian (G4double Mean, G4double StdDev) |
G4double | G4SampleGaussian (G4double Mean, G4double StdDev, G4FFGEnumerations::GaussianRange Range) |
G4double | G4SampleUniform (void) |
G4double | G4SampleUniform (G4double Lower, G4double Upper) |
G4double | G4SampleWatt (G4int WhatIsotope, G4FFGEnumerations::FissionCause WhatCause, G4double WhatEnergy) |
void | G4SetVerbosity (G4int WhatVerbosity) |
~G4FPYSamplingOps (void) | |
Protected 멤버 함수 | |
void | Initialize (void) |
G4bool | CheckAndSetParameters (void) |
void | EvaluateWattConstants (void) |
G4double | SampleGaussian (void) |
void | ShiftParameters (G4FFGEnumerations::GaussianReturnType Type) |
G4FPYSamplingOps performs all the uniform and Gaussian distribution sampling operations
G4FPYSamplingOps.hh 파일의 52 번째 라인에서 정의되었습니다.
G4FPYSamplingOps::G4FPYSamplingOps | ( | void | ) |
Default constructor
G4FPYSamplingOps.cc 파일의 49 번째 라인에서 정의되었습니다.
다음을 참조함 : Initialize(), G4FFGDefaultValues::Verbosity, Verbosity_.
G4FPYSamplingOps::G4FPYSamplingOps | ( | G4int | Verbosity | ) |
Overloaded constructor
Verbosity:
Verbosity levelG4FPYSamplingOps.cc 파일의 59 번째 라인에서 정의되었습니다.
다음을 참조함 : Initialize(), Verbosity_.
G4FPYSamplingOps::~G4FPYSamplingOps | ( | void | ) |
Default deconstructor.
G4FPYSamplingOps.cc 파일의 678 번째 라인에서 정의되었습니다.
다음을 참조함 : G4FFG_FUNCTIONENTER__, G4FFG_FUNCTIONLEAVE__, ShiftedGaussianValues_, WattConstants_.
Check to see if the user requested parameters have already been calculated. If they have, it recalls the stored parameters and sets them as the current values.
G4FPYSamplingOps.cc 파일의 341 번째 라인에서 정의되었습니다.
다음을 참조함 : FALSE, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4ShiftedGaussian::G4FindShiftedMean(), Mean_, ShiftedGaussianValues_, StdDev_, TRUE.
다음에 의해서 참조됨 : ShiftParameters().
Evaluates the constants that are required for the Watt fission spectrum sampling.
G4FPYSamplingOps.cc 파일의 359 번째 라인에서 정의되었습니다.
다음을 참조함 : A(), WattSpectrumConstants::B, WattSpectrumConstants::Cause, WattSpectrumConstants::Energy, G4Exception(), G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4FFGEnumerations::GAMMA_INDUCED, G4Pow::GetInstance(), IncidentEnergyBins, JustWarning, K, WattSpectrumConstants::L, WattSpectrumConstants::M, CLHEP::MeV, G4FFGEnumerations::NEUTRON_INDUCED, NeutronInducedWattConstants, NeutronInducedWattIsotopesIndex, G4Pow::powA(), WattSpectrumConstants::Product, G4FFGEnumerations::PROTON_INDUCED, RunMustBeAborted, G4FFGEnumerations::SPONTANEOUS, SpontaneousWattConstants, SpontaneousWattIsotopesIndex, G4FFGDefaultValues::ThermalNeutronEnergy, WattConstants_.
다음에 의해서 참조됨 : G4SampleWatt().
Returns a double value taken from a Gaussian distribution about Mean
and with a standard deviation of StdDev
.
Mean:
Mean about which the Gaussian distribution will be sampledStdDev:
Standard deviation of the Gaussian distribution. 68.3% of the values will lie within the first standard deviation, 95.4% within the second standard deviation, etc...G4FPYSamplingOps.cc 파일의 92 번째 라인에서 정의되었습니다.
다음을 참조함 : FALSE, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, Mean_, NextGaussianIsStoredInMemory_, SampleGaussian(), StdDev_, TRUE.
다음에 의해서 참조됨 : G4FissionProductYieldDist::G4GetFission(), G4SampleGaussian(), G4FissionProductYieldDist::SampleAlphaEnergies().
G4double G4FPYSamplingOps::G4SampleGaussian | ( | G4double | Mean, |
G4double | StdDev, | ||
G4FFGEnumerations::GaussianRange | Range | ||
) |
Returns a double value taken from a Gaussian distribution about Mean
and with a standard deviation of StdDev
.
Mean:
Mean about which the Gaussian distribution will be sampledStdDev:
Standard deviation of the Gaussian distribution. 68.3% of the values will lie within the first standard deviation, 95.4% within the second standard deviation, etc...Range:
POSITIVE
or ALL
G4FPYSamplingOps.cc 파일의 115 번째 라인에서 정의되었습니다.
다음을 참조함 : G4FFGEnumerations::ALL, G4FFGEnumerations::DOUBLE, G4Exception(), G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4SampleGaussian(), JustWarning, Mean_, SampleGaussian(), ShiftParameters(), StdDev_, TRUE.
Returns an integer value taken from a Gaussian distribution. This overloaded version assumes that the range is not restricted to positive values only.
Mean:
Mean about which the Gaussian distribution will be sampledStdDev:
Standard deviation of the Gaussian distribution. 68.3% of the values will lie within the first standard deviation, 95.4% within the second standard deviation, etc...G4FPYSamplingOps.cc 파일의 168 번째 라인에서 정의되었습니다.
다음을 참조함 : FALSE, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, Mean_, NextGaussianIsStoredInMemory_, SampleGaussian(), StdDev_, TRUE.
다음에 의해서 참조됨 : G4SampleIntegerGaussian(), G4FissionProductYieldDist::GenerateAlphas(), G4FissionProductYieldDist::GenerateNeutrons().
G4int G4FPYSamplingOps::G4SampleIntegerGaussian | ( | G4double | Mean, |
G4double | StdDev, | ||
G4FFGEnumerations::GaussianRange | Range | ||
) |
Returns an integer value taken from a Gaussian distribution about Mean
and with a standard deviation of StdDev
.
Mean:
Mean about which the Gaussian distribution will be sampledStdDev:
Standard deviation of the Gaussian distribution. 68.3% of the values will lie within the first standard deviation, 95.4% within the second standard deviation, etc...Range:
POSITIVE
or ALL
G4FPYSamplingOps.cc 파일의 192 번째 라인에서 정의되었습니다.
다음을 참조함 : G4FFGEnumerations::ALL, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4SampleIntegerGaussian(), G4FFGEnumerations::INT, Mean_, SampleGaussian(), ShiftParameters(), StdDev_, TRUE.
Returns a double value evenly distributed in the range (0, 1].
G4FPYSamplingOps.cc 파일의 257 번째 라인에서 정의되었습니다.
다음을 참조함 : CLHEP::HepRandomEngine::flat(), G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, RandomEngine_.
다음에 의해서 참조됨 : G4FissionProductYieldDist::G4GetFission(), G4FissionProductYieldDist::G4GetFissionProduct(), G4SampleUniform(), G4SampleWatt(), G4FissionProductYieldDist::GenerateAlphas(), G4FPYNormalFragmentDist::GetFissionProduct(), G4FPYBiasedLightFragmentDist::GetFissionProduct(), SampleGaussian().
Returns a double value evenly distributed in the range (Lower
, Upper
].
Lower:
Lower bounds of the distributionUpper:
Upper bounds of the distributionG4FPYSamplingOps.cc 파일의 268 번째 라인에서 정의되었습니다.
다음을 참조함 : G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4SampleUniform().
G4double G4FPYSamplingOps::G4SampleWatt | ( | G4int | WhatIsotope, |
G4FFGEnumerations::FissionCause | WhatCause, | ||
G4double | WhatEnergy | ||
) |
Samples the Watt fission spectrum for the selected isotope, using an algorithm adopted from Ref. 1
WhatIsotope:
The isotope that is to be sampledWhatCause:
The cause of the isotope to be sampledWhatEnergy:
The energy, in MeV of the incident particleG4FPYSamplingOps.cc 파일의 284 번째 라인에서 정의되었습니다.
다음을 참조함 : WattSpectrumConstants::B, WattSpectrumConstants::Cause, WattSpectrumConstants::Energy, EvaluateWattConstants(), G4cout, G4endl, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4Log(), G4SampleUniform(), G4Pow::GetInstance(), WattSpectrumConstants::L, WattSpectrumConstants::M, WattSpectrumConstants::Product, WattConstants_, X, Y.
다음에 의해서 참조됨 : G4FissionProductYieldDist::SampleNeutronEnergies().
Sets the verbosity levels
WhichVerbosity:
Combination of levelsSILENT:
All verbose output is repressedUPDATES:
Only high-level internal changes are reportedDAUGHTER_INFO:
Displays information about daughter product samplingNEUTRON_INFO:
Displays information about neutron samplingGAMMA_INFO:
Displays information about gamma samplingALPHA_INFO:
Displays information about alpha samplingMOMENTUM_INFO:
Displays information about momentum balancingEXTRAPOLATION_INTERPOLATION_INFO:
Displays information about any data extrapolation or interpolation that occursDEBUG:
Reports program flow as it steps through functionsPRINT_ALL:
Displays any and all output G4FPYSamplingOps.cc 파일의 329 번째 라인에서 정의되었습니다.
다음을 참조함 : G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4ShiftedGaussian::G4SetVerbosity(), ShiftedGaussianValues_, Verbosity_.
다음에 의해서 참조됨 : G4FissionProductYieldDist::G4SetVerbosity().
Initialize is a common function called by all constructors.
G4FPYSamplingOps.cc 파일의 69 번째 라인에서 정의되었습니다.
다음을 참조함 : FALSE, G4FFG_FUNCTIONENTER__, G4FFG_FUNCTIONLEAVE__, GaussianOne_, GaussianTwo_, Mean_, NextGaussianIsStoredInMemory_, WattSpectrumConstants::Product, RandomEngine_, ShiftedGaussianValues_, StdDev_, Tolerance_, WattConstants_.
다음에 의해서 참조됨 : G4FPYSamplingOps().
Samples a Gaussian distribution defined by the internal class variables NewMean_ and NewStdDev_.
G4FPYSamplingOps.cc 파일의 490 번째 라인에서 정의되었습니다.
다음을 참조함 : FALSE, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4Log(), G4SampleUniform(), GaussianOne_, GaussianTwo_, Mean_, NextGaussianIsStoredInMemory_, StdDev_, TRUE.
다음에 의해서 참조됨 : G4SampleGaussian(), G4SampleIntegerGaussian().
|
protected |
Sets the mean and standard deviation of the Gaussian distribution sampled by this class when POSITIVE
values are requested. ShiftMean() performs two different operations based on the requested data type.
INTEGER:
Iteratively searches for an adjusted mean that produces the same result as the mean requested by the implementor. In this instance the standard deviation is not adjusted.DOUBLE:
Adjusts the standard deviation of the Gaussian distribution so that the first seven standard deviations occur are all positive. The chance that a negative value will result using this method is 2.56E-12 G4FPYSamplingOps.cc 파일의 527 번째 라인에서 정의되었습니다.
다음을 참조함 : CheckAndSetParameters(), CLHEP::HepStat::erf(), FALSE, G4cout, G4endl, G4FFG_SAMPLING_FUNCTIONENTER__, G4FFG_SAMPLING_FUNCTIONLEAVE__, G4ShiftedGaussian::G4InsertShiftedMean(), G4FFGEnumerations::INT, Mean_, NextGaussianIsStoredInMemory_, ShiftedGaussianValues_, StdDev_, Tolerance_, TRUE.
다음에 의해서 참조됨 : G4SampleGaussian(), G4SampleIntegerGaussian().
|
protected |
Contains the first of the two paired random numbers from the Gaussian distribution sampling.
G4FPYSamplingOps.hh 파일의 203 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Initialize(), SampleGaussian().
|
protected |
Contains the second of the two paired random numbers from the Gaussian distribution sampling.
G4FPYSamplingOps.hh 파일의 207 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Initialize(), SampleGaussian().
|
protected |
Mean for sampling a Gaussian distribution
G4FPYSamplingOps.hh 파일의 177 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : CheckAndSetParameters(), G4SampleGaussian(), G4SampleIntegerGaussian(), Initialize(), SampleGaussian(), ShiftParameters().
|
protected |
Declares whether the second paired random number has been already returned.
G4FPYSamplingOps.hh 파일의 199 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : G4SampleGaussian(), G4SampleIntegerGaussian(), Initialize(), SampleGaussian(), ShiftParameters().
|
protected |
Pointer to the CLHEP random number generator.
G4FPYSamplingOps.hh 파일의 193 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : G4SampleUniform(), Initialize().
|
protected |
Structure chain that contains the all the previous values used for sampling a Gaussian distribution
G4FPYSamplingOps.hh 파일의 183 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : CheckAndSetParameters(), G4SetVerbosity(), Initialize(), ShiftParameters(), ~G4FPYSamplingOps().
|
protected |
Standard deviation for sampling a GaussianDistribution
G4FPYSamplingOps.hh 파일의 179 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : CheckAndSetParameters(), G4SampleGaussian(), G4SampleIntegerGaussian(), Initialize(), SampleGaussian(), ShiftParameters().
|
protected |
Defines the tolerance that ShiftParameters() must match.
G4FPYSamplingOps.hh 파일의 209 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Initialize(), ShiftParameters().
|
protected |
Verbosity level
G4FPYSamplingOps.hh 파일의 185 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : G4FPYSamplingOps(), G4SetVerbosity().
|
protected |
Structure that contains the values for sampling the Watt fission spectrum
G4FPYSamplingOps.hh 파일의 189 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : EvaluateWattConstants(), G4SampleWatt(), Initialize(), ~G4FPYSamplingOps().