40 G4cout <<
" >>> G4FissionStore::G4FissionStore" <<
G4endl;
46 configurations.push_back(
config);
53 G4cout <<
" >>> G4FissionStore::generateConfiguration" <<
G4endl;
58 configProbs.resize(
size(),0.);
63 for (
size_t i = 0; i <
size(); i++) {
64 G4double ez = configurations[i].ezet;
67 if (pr < small) pr = small;
69 if (verboseLevel > 2) {
70 G4cout << configurations[i] <<
"\n probability " << pr <<
G4endl;
73 configProbs[i] = totProb;
80 while (configProbs[igen] <= st && igen <
size()) igen++;
82 if (verboseLevel > 3)
G4cout <<
" igen " << igen <<
G4endl;
84 return configurations[igen];
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4GLOB_DLL std::ostream G4cout
void addConfig(G4double a, G4double z, G4double ez, G4double ek, G4double ev)
G4FissionConfiguration generateConfiguration(G4double amax, G4double rand) const