54 SlowProton( originalIncident, targetNucleus );
55 delete originalTarget;
65 modifiedOriginal = *originalIncident;
71 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
84 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
92 SlowProton( originalIncident, targetNucleus );
93 delete originalTarget;
99 targetParticle = *originalTarget;
102 G4bool incidentHasChanged =
false;
103 G4bool targetHasChanged =
false;
104 G4bool quasiElastic =
false;
109 InitialCollision(vec, vecLen, currentParticle, targetParticle,
110 incidentHasChanged, targetHasChanged);
113 originalIncident, originalTarget, modifiedOriginal,
114 targetNucleus, currentParticle, targetParticle,
115 incidentHasChanged, targetHasChanged, quasiElastic);
118 currentParticle, targetParticle,
119 incidentHasChanged );
121 delete originalTarget;
127 G4RPGProtonInelastic::SlowProton(
const G4HadProjectile *originalIncident,
137 massVec[0] = targetNucleus.
AtomicMass( A+1.0, Z+1.0 );
140 massVec[1] = targetNucleus.
AtomicMass( A , Z+1.0 );
141 massVec[2] = theAtomicMass;
143 if (A > 1.0 && A-1.0 > Z)
144 massVec[3] = targetNucleus.
AtomicMass( A-1.0, Z );
146 if (A > 2.0 && A-2.0 > Z)
147 massVec[4] = targetNucleus.
AtomicMass( A-2.0, Z );
149 if (A > 3.0 && Z > 1.0 && A-3.0 > Z-1.0)
150 massVec[5] = targetNucleus.
AtomicMass( A-3.0, Z-1.0 );
152 if (A > 1.0 && A-1.0 > Z+1.0)
153 massVec[6] = targetNucleus.
AtomicMass( A-1.0, Z+1.0 );
154 massVec[7] = massVec[3];
156 if (A > 1.0 && Z > 1.0)
157 massVec[8] = targetNucleus.
AtomicMass( A-1.0, Z-1.0 );
164 targetNucleus, theAtomicMass, massVec );
170 for(
G4int i=0; i<vecLen; ++i )
192 G4bool& incidentHasChanged,
199 std::vector<G4int> fsTypes;
220 incidentHasChanged =
true;
224 targetHasChanged =
true;
226 }
else if (part2 >
neu && part2 <
xi0) {
227 targetHasChanged =
true;
231 targetHasChanged =
true;
232 incidentHasChanged =
true;
249 targetHasChanged =
true;
250 }
else if (part2 ==
neu) {
252 incidentHasChanged =
true;
253 targetHasChanged =
true;
258 targetHasChanged =
true;
262 incidentHasChanged =
true;
263 if (part2 >
neu && part2 <
xi0) targetHasChanged =
true;
273 fsTypes.erase(fsTypes.begin());
274 fsTypes.erase(fsTypes.begin());
279 for(
G4int i=0; i < mult-2; ++i ) {
280 partType = fsTypes[i];
289 CheckQnums(vec, vecLen, currentParticle, targetParticle,
290 testCharge, testBaryon, testStrange);