Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4FissionFragmentGenerator.hh>
Static Public Member Functions | |
static G4int | G4MakeIsotopeCode (G4int Z, G4int A, G4int M) |
Protected Member Functions | |
void | Initialize () |
G4FissionFragmentGenerator is the front end class to be used by the user for handling all fission event generation.
This class is intended to be instantiated for one type of fission event for as specific isotope/isomer, fission type, and incident neutron energy. For this reason no functions exist to change or modify these values once the class in constructed. A new class must be created by the user for each type of fission event, if such functionality is desired.
Definition at line 53 of file G4FissionFragmentGenerator.hh.
G4FissionFragmentGenerator::G4FissionFragmentGenerator | ( | ) |
Default constructor
92238
GROUND_STATE
SPONTANEOUS
0.025
eVINDEPENDENT
0
0
NORMAL
Definition at line 53 of file G4FissionFragmentGenerator.cc.
G4FissionFragmentGenerator::G4FissionFragmentGenerator | ( | G4int | Verbosity | ) |
Overloaded constructor
Verbosity:
Verbosity levelDefinition at line 62 of file G4FissionFragmentGenerator.cc.
G4FissionFragmentGenerator::~G4FissionFragmentGenerator | ( | ) |
Default deconstructor
Definition at line 677 of file G4FissionFragmentGenerator.cc.
G4DynamicParticleVector * G4FissionFragmentGenerator::G4GenerateFission | ( | ) |
Generates a single fission event
Definition at line 93 of file G4FissionFragmentGenerator.cc.
Referenced by G4GenerateFission(), and G4GenerateFission().
G4DynamicParticleVector * G4FissionFragmentGenerator::G4GenerateFission | ( | const G4HadProjectile & | Projectile | ) |
Generates a single fission event
Projectile:
G4HadProjectile of the fission-inducing particleDefinition at line 109 of file G4FissionFragmentGenerator.cc.
const std::vector< G4DynamicParticleVector * > G4FissionFragmentGenerator::G4GenerateFission | ( | G4long | NumberOfFissions, |
const G4HadProjectile & | Projectile ) |
Generates NumberOfFissions fission events
NumberOfFissions:
The number of fission events to generateNumberOfFissions
fission events Definition at line 122 of file G4FissionFragmentGenerator.cc.
G4Ions * G4FissionFragmentGenerator::G4GenerateFissionProduct | ( | ) |
Returns a randomly sampled fission product
Definition at line 151 of file G4FissionFragmentGenerator.cc.
G4double G4FissionFragmentGenerator::G4GetAlphaProduction | ( | ) |
Returns the production rate of alpha particles for fission events
Definition at line 166 of file G4FissionFragmentGenerator.cc.
G4FFGEnumerations::FissionCause G4FissionFragmentGenerator::G4GetCause | ( | ) |
Returns the FissionCause of the fission event.
Definition at line 182 of file G4FissionFragmentGenerator.cc.
G4double G4FissionFragmentGenerator::G4GetIncidentEnergy | ( | ) |
Returns the energy of the fission inducing particle.
Definition at line 190 of file G4FissionFragmentGenerator.cc.
G4int G4FissionFragmentGenerator::G4GetIsotope | ( | ) |
Returns the code of the fission isotope in ZZZAAA format.
Definition at line 198 of file G4FissionFragmentGenerator.cc.
G4FFGEnumerations::MetaState G4FissionFragmentGenerator::G4GetMetaState | ( | ) |
Returns the MetaState of the fission isotope.
Definition at line 206 of file G4FissionFragmentGenerator.cc.
G4FFGEnumerations::FissionSamplingScheme G4FissionFragmentGenerator::G4GetSamplingScheme | ( | ) |
Returns the FissionSamplingScheme that is currently in use.
Definition at line 214 of file G4FissionFragmentGenerator.cc.
G4double G4FissionFragmentGenerator::G4GetTernaryProbability | ( | ) |
Returns the probability of ternary fission
Definition at line 174 of file G4FissionFragmentGenerator.cc.
G4FFGEnumerations::YieldType G4FissionFragmentGenerator::G4GetYieldType | ( | ) |
Returns the yield type that is currently in use
Definition at line 222 of file G4FissionFragmentGenerator.cc.
Converts the Z, A and M of an isotope into an integer representation
Definition at line 230 of file G4FissionFragmentGenerator.cc.
Referenced by G4WendtFissionFragmentGenerator::ApplyYourself(), and G4WendtFissionFragmentGenerator::InitializeANucleus().
void G4FissionFragmentGenerator::G4SetAlphaProduction | ( | G4double | WhatAlphaProduction | ) |
Sets the number of alpha particles produced in fission.
AlphaProduction
is negative then alpha particles are sampled on a Gaussian with a mean of abs(AlphaProduction)
.Definition at line 240 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetCause | ( | G4FFGEnumerations::FissionCause | WhichCause | ) |
Sets the cause of fission event.
WhichCause:
SPONTANEOUS
, N_INDUCED
, P_INDUCED
, or G_INDUCED
Definition at line 278 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetIncidentEnergy | ( | G4double | WhatIncidentEnergy | ) |
Sets the incident energy, if any, of the particle that cause fission.
WhatIncidentEnergy:
Kinetic energy of the particle with units applied;Definition at line 341 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetIsotope | ( | G4int | WhichIsotope | ) |
Sets the fission isotope
WhichIsotope:
Code of the isotope in ZZZAAA formatDefinition at line 398 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetMetaState | ( | G4FFGEnumerations::MetaState | WhichMetaState | ) |
Sets the metastable state of the fission isotope.
WhichMetaState:
GROUND_STATE
, META_1
, or META_2
Definition at line 438 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetSamplingScheme | ( | G4FFGEnumerations::FissionSamplingScheme | NewScheme | ) |
Set the sampling scheme.
NORMAL:
Sets the parameters of this class to sample fission events without any biasing.LIGHT_FRAGMENT:
Sets the parameters of this class to bias the fragment generation by always selecting a light fragment (A < 115) first.WENDT:
Sets the parameters of this class to sample fission events according to the Wendt sampling scheme. Please refer to the code documentation for G4FPYWendtSamplingDist for a more detailed explanation. Definition at line 499 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetTernaryProbability | ( | G4double | WhatTernaryProbability | ) |
Sets the probability of ternary fission
WhatAlphaProductionProbability:
Probability of generating alpha particles for a fission event. 1 = 100% chance of alpha productionDefinition at line 259 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetVerbosity | ( | G4int | WhatVerbosity | ) |
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 Definition at line 617 of file G4FissionFragmentGenerator.cc.
void G4FissionFragmentGenerator::G4SetYieldType | ( | G4FFGEnumerations::YieldType | WhichYieldType | ) |
Sets the ENDF yield type to be used for the data
WhichYieldType:
INDEPENDENT
or COMULATIVE
Definition at line 560 of file G4FissionFragmentGenerator.cc.
|
protected |
Initialize is a common function called by all constructors.
Definition at line 71 of file G4FissionFragmentGenerator.cc.
Referenced by G4FissionFragmentGenerator(), and G4FissionFragmentGenerator().
bool G4FissionFragmentGenerator::InitializeFissionProductYieldClass | ( | std::istringstream & | dataFile | ) |
Initializes a new G4FPY
...Dist class based on the class descriptor variables of G4FissionFragmentGenerator.
Definition at line 630 of file G4FissionFragmentGenerator.cc.
|
protected |
Controls whether alpha particles are emitted, and how many
Definition at line 263 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetAlphaProduction(), G4SetAlphaProduction(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
The cause of fission: SPONTANEOUS
or N_INDUCED
.
Definition at line 255 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetCause(), G4SetCause(), G4SetIncidentEnergy(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
Kinetic energy, if any, of the incident particle in GeV.
Definition at line 257 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetIncidentEnergy(), G4SetCause(), G4SetIncidentEnergy(), and Initialize().
|
protected |
Number in ZZZAAA format of the isotope that G4FissionFragmentGenerator references
Definition at line 248 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetIsotope(), G4SetIsotope(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
If Isotope_, MetaState_, Cause_, or IncidentEnergy_ are changed in the middle of a run then the class pointed at by YieldData_ will need to be reconstructed
Definition at line 268 of file G4FissionFragmentGenerator.hh.
Referenced by G4GenerateFission(), G4GenerateFissionProduct(), G4SetCause(), G4SetIsotope(), G4SetMetaState(), G4SetYieldType(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
MetaState information of the isotope that G4FissionFragmentGenerator references
A value of 0 refers to the ground state
Definition at line 253 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetMetaState(), G4SetMetaState(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
The sampling scheme that is used: NORMAL
, LIGHT_FRAGMENT
, or WENDT
.
Definition at line 276 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetSamplingScheme(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
Sets the ternary fission probability. Valid ranges are [0, 1]
Definition at line 261 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetTernaryProbability(), G4SetTernaryProbability(), Initialize(), and InitializeFissionProductYieldClass().
|
protected |
Verbosity level
Definition at line 270 of file G4FissionFragmentGenerator.hh.
Referenced by G4FissionFragmentGenerator(), G4FissionFragmentGenerator(), G4SetAlphaProduction(), G4SetCause(), G4SetIncidentEnergy(), G4SetIsotope(), G4SetMetaState(), G4SetTernaryProbability(), G4SetVerbosity(), G4SetYieldType(), and InitializeFissionProductYieldClass().
|
protected |
Pointer to G4FissionProductYieldDist class that holds all the probabilistic yield data
Definition at line 280 of file G4FissionFragmentGenerator.hh.
Referenced by G4GenerateFission(), G4GenerateFissionProduct(), G4SetAlphaProduction(), G4SetCause(), G4SetIncidentEnergy(), G4SetIsotope(), G4SetMetaState(), G4SetTernaryProbability(), G4SetVerbosity(), G4SetYieldType(), Initialize(), InitializeFissionProductYieldClass(), and ~G4FissionFragmentGenerator().
|
protected |
The type of yield to be used: INDEPENDET
or CUMULATIVE
Definition at line 259 of file G4FissionFragmentGenerator.hh.
Referenced by G4GetYieldType(), G4SetYieldType(), Initialize(), and InitializeFissionProductYieldClass().