40G4WendtFissionFragmentGenerator::
41G4WendtFissionFragmentGenerator()
44 Verbosity_ = G4FFGDefaultValues::Verbosity;
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;
double A(double temperature)
std::vector< G4DynamicParticle * > G4DynamicParticleVector
#define G4FFG_FUNCTIONLEAVE__
#define G4FFG_FUNCTIONENTER__
bool InitializeFissionProductYieldClass(std::istringstream &dataFile)
void G4SetYieldType(G4FFGEnumerations::YieldType WhichYieldType)
void G4SetMetaState(G4FFGEnumerations::MetaState WhichMetaState)
void G4SetSamplingScheme(G4FFGEnumerations::FissionSamplingScheme NewScheme)
static G4int G4MakeIsotopeCode(G4int Z, G4int A, G4int M)
void G4SetCause(G4FFGEnumerations::FissionCause WhichCause)
void G4SetIsotope(G4int WhichIsotope)
void G4SetIncidentEnergy(G4double WhatIncidentEnergy)
static G4ParticleHPManager * GetInstance()
void GetDataStream(G4String, std::istringstream &iss)
G4ParticleHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool &active)
void InitializeANucleus(const G4int A, const G4int Z, const G4int M, const G4String &dataDirectory)
G4HadFinalState * ApplyYourself(const G4HadProjectile &projectile, G4int Z, G4int A)
~G4WendtFissionFragmentGenerator()