40 G4WendtFissionFragmentGenerator::
41 G4WendtFissionFragmentGenerator()
67 std::map< const G4int, G4FissionFragmentGenerator* >::iterator fissionGenerator;
70 for(
unsigned int M = 0; M < 10; ++M)
73 fissionGenerator = fissionIsotopes.find(isotope);
75 if(fissionGenerator != fissionIsotopes.end())
78 if(fissionGenerator->second)
80 finalParticles = fissionGenerator->second->G4GenerateFission(projectile);
91 for(
unsigned int i = 0; i < finalParticles->size(); ++i)
93 finalState->AddSecondary((*finalParticles)[i]);
99 if ( finalState != NULL ) finalState->SetStatusChange(
stopAndKill);
111 std::pair< std::map< const G4int, G4FissionFragmentGenerator* >::iterator,
bool > newIsotope;
116 if(newIsotope.second || newIsotope.first->second == NULL)
125 std::istringstream dataStream(std::ios::in);
144 newIsotope.first->second = fissionGenerator;
180 delete fissionGenerator;
182 fissionIsotopes.erase(newIsotope.first);
192 std::map< const G4int, G4FissionFragmentGenerator* >::iterator fissionGenerator;
194 for(fissionGenerator = fissionIsotopes.begin(); fissionGenerator != fissionIsotopes.end(); ++fissionGenerator)
196 delete fissionGenerator->second;
static G4ParticleHPManager * GetInstance()
G4HadFinalState * ApplyYourself(const G4HadProjectile &projectile, G4int Z, G4int A)
void G4SetSamplingScheme(G4FFGEnumerations::FissionSamplingScheme NewScheme)
void G4SetYieldType(G4FFGEnumerations::YieldType WhichYieldType)
void G4SetMetaState(G4FFGEnumerations::MetaState WhichMetaState)
void GetDataStream(G4String, std::istringstream &iss)
~G4WendtFissionFragmentGenerator()
static G4int G4MakeIsotopeCode(G4int Z, G4int A, G4int M)
bool InitializeFissionProductYieldClass(std::istringstream &dataFile)
void InitializeANucleus(const G4int A, const G4int Z, const G4int M, const G4String &dataDirectory)
double A(double temperature)
std::vector< G4DynamicParticle * > G4DynamicParticleVector
void G4SetIsotope(G4int WhichIsotope)
void G4SetCause(G4FFGEnumerations::FissionCause WhichCause)
void G4SetIncidentEnergy(G4double WhatIncidentEnergy)
#define G4FFG_FUNCTIONLEAVE__
G4ParticleHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
static const G4double ThermalNeutronEnergy
#define G4FFG_FUNCTIONENTER__
static const G4FFGEnumerations::Verbosity Verbosity