67 : verboseLevel(verbose), thisFinalState(0), thisHadrons(0),
79 G4cout <<
" >>> G4CascadeCoalescence::FindClusters()" <<
G4endl;
98 G4cout <<
" >>> G4CascadeCoalescence::selectCandidates()" <<
G4endl;
104 for (
size_t idx1=0; idx1<nHad; idx1++) {
106 for (
size_t idx2=idx1+1; idx2<nHad; idx2++) {
108 for (
size_t idx3=idx2+1; idx3<nHad; idx3++) {
110 for (
size_t idx4=idx3+1; idx4<nHad; idx4++) {
131 size_t idx3,
size_t idx4) {
181 G4cout <<
" >>> G4CascadeCoalescence::createNuclei()" <<
G4endl;
201 G4cout <<
" >>> G4CascadeCoalescence::removeNucleons()" <<
G4endl;
204 std::set<size_t>::reverse_iterator usedIter;
217 for (
size_t i=0; i<aCluster.size(); i++)
232 for (
size_t i=0; i<aCluster.size(); i++) {
250 for (
size_t i=0; i<aCluster.size(); i++) {
289 for (
size_t i=0; i<clus.size(); i++)
302 if (clus.size() == 2)
305 if (clus.size() == 3)
309 if (clus.size() == 4)
324 if (aCluster.size()<2)
return false;
326 G4int A = aCluster.size();
330 if (A==2 && type==3) Z = 1;
331 if (A==3 && type==5) Z = 1;
332 if (A==3 && type==4) Z = 2;
333 if (A==4 && type==6) Z = 2;
335 if (Z < 0)
return false;
350 G4cout <<
" >>> G4CascadeCoalescence::" << name <<
" ";
351 std::copy(aCluster.begin(), aCluster.end(),
352 std::ostream_iterator<size_t>(
G4cout,
" "));
356 for (
size_t i=0; i<aCluster.size(); i++)