41 G4cout <<
" >>> G4FissionStore::G4FissionStore" <<
G4endl;
47 configurations.push_back(config);
54 G4cout <<
" >>> G4FissionStore::generateConfiguration" <<
G4endl;
59 configProbs.resize(
size(),0.);
64 for (
size_t i = 0; i <
size(); i++) {
65 G4double ez = configurations[i].ezet;
68 if (pr < small) pr = small;
70 if (verboseLevel > 2) {
71 G4cout << configurations[i] <<
"\n probability " << pr <<
G4endl;
74 configProbs[i] = totProb;
81 while (configProbs[igen] <= st && igen <
size()) igen++;
83 if (verboseLevel > 3)
G4cout <<
" igen " << igen <<
G4endl;
85 return configurations[igen];
std::vector< ExP01TrackerHit * > a
G4GLOB_DLL std::ostream G4cout
G4FissionConfiguration generateConfiguration(G4double amax, G4double rand) const
void addConfig(G4double a, G4double z, G4double ez, G4double ek, G4double ev)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.