61 std::map< const G4int, G4FissionFragmentGenerator* >::iterator fissionGenerator;
64 for(
unsigned int M = 0; M < 10; ++M)
72 if(fissionGenerator->second)
74 finalParticles = fissionGenerator->second->G4GenerateFission(projectile);
85 for(
unsigned int i = 0; i < finalParticles->size(); ++i)
87 finalState->AddSecondary((*finalParticles)[i]);
104 std::pair< std::map< const G4int, G4FissionFragmentGenerator* >::iterator,
bool > newIsotope;
109 if(newIsotope.second || newIsotope.first->second == NULL)
118 std::istringstream dataStream(std::ios::in);
137 newIsotope.first->second = fissionGenerator;
173 delete fissionGenerator;
185 std::map< const G4int, G4FissionFragmentGenerator* >::iterator fissionGenerator;
189 delete fissionGenerator->second;
G4HadFinalState * ApplyYourself(const G4HadProjectile &projectile, G4int Z, G4int A)
MetaState
ENDF format provides for 3 isomers - 1 ground state and 2 meta states.
G4FissionFragmentGenerator is the front end class to be used by the user for handling all fission eve...
void G4SetSamplingScheme(G4FFGEnumerations::FissionSamplingScheme NewScheme)
Set the sampling scheme.
static G4NeutronHPManager * GetInstance()
void G4SetYieldType(G4FFGEnumerations::YieldType WhichYieldType)
Sets the ENDF yield type to be used for the data.
void G4SetMetaState(G4FFGEnumerations::MetaState WhichMetaState)
Sets the metastable state of the fission isotope.
void GetDataStream(G4String, std::istringstream &iss)
~G4WendtFissionFragmentGenerator()
G4NeutronHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
static G4int G4MakeIsotopeCode(G4int Z, G4int A, G4int M)
Converts the Z, A and M of an isotope into an integer representation.
bool InitializeFissionProductYieldClass(std::istringstream &dataFile)
Initializes a new G4FPY...Dist class based on the class descriptor variables of G4FissionFragmentGene...
void InitializeANucleus(const G4int A, const G4int Z, const G4int M, const G4String &dataDirectory)
G4NeutronHPNames fileNames
std::vector< G4DynamicParticle * > G4DynamicParticleVector
void G4SetIsotope(G4int WhichIsotope)
Sets the fission isotope.
static const G4double A[nN]
G4WendtFissionFragmentGenerator()
std::map< const G4int, G4FissionFragmentGenerator * > fissionIsotopes
A map of all the fission isotopes loaded at initialization.
void G4SetCause(G4FFGEnumerations::FissionCause WhichCause)
Sets the cause of fission event.
void G4SetIncidentEnergy(G4double WhatIncidentEnergy)
Sets the incident energy, if any, of the particle that cause fission.
#define G4FFG_FUNCTIONLEAVE__
static const G4double ThermalNeutronEnergy
The energy of thermal neutrons.
static G4WendtFissionFragmentGenerator * GetInstance()
#define G4FFG_FUNCTIONENTER__
static const G4FFGEnumerations::Verbosity Verbosity
Verbosity for the entire package.