64 #ifdef debug_getFraction
65 G4cout <<
"G4ProjectileDiffractiveChannel::ratio " << ratio <<
G4endl;
81 G4cout <<
" ProjectileDiffractive: A, Z, proj-pdg" <<
" "<< A <<
" "<<Z
94 if ( result && result->size() > 0 )
97 std::vector<G4QHadron *>::iterator i;
101 for (i=result->begin(); i!=result->end(); i++)
103 G4int pdgCode=(*i)->GetPDGCode();
105 if ( pdgCode < 80000000) {
108 G4int qN = pdgCode % 1000;
109 G4int qZ = (pdgCode/1000) %1000;
110 if ( qZ < 500 && qN < 500){
126 (*i)->GetFormationTime(), pos, mom);
127 ktv->push_back(sPrim);
130 G4cout <<
"G4ProjectileDiffractive sec # " << ++count <<
", "
131 <<
"ChipsPDGCode=" << pdgCode <<
", "
133 <<
", time(ns) " << (*i)->GetFormationTime()/
ns
135 <<
", 4mom " << (*i)->Get4Momentum()
140 G4cout <<
"G4ProjectileDiffractiveChannel: Particle with PDG code "<< pdgCode <<
" does not converted!!!"<<
G4endl;
145 std::for_each(result->begin(), result->end(),
DeleteQHadron());
150 if ( result )
delete result;