53{
56
59 G4cout <<
"G4LEDeuteronInelastic::ApplyYourself called" <<
G4endl;
61 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
62 }
63
64
71 }
72
77 massVec[0] = targetNucleus.
AtomicMass( A+2.0, Z+1.0 );
78 massVec[1] = targetNucleus.
AtomicMass( A+1.0, Z+1.0 );
79 massVec[2] = targetNucleus.
AtomicMass( A+1.0, Z );
80 massVec[3] = theAtomicMass;
81 massVec[4] = 0.;
82 if (A > 1.0 && A-1.0 > Z)
83 massVec[4] = targetNucleus.
AtomicMass(A-1.0, Z);
84 massVec[5] = 0.;
85 if (A > 2.0 && Z > 1.0 && A-2.0 > Z-1.0)
86 massVec[5] = targetNucleus.
AtomicMass(A-2.0, Z-1.0);
87 massVec[6] = 0.;
88 if (A > Z+1.0)
89 massVec[6] = targetNucleus.
AtomicMass(A, Z+1.0);
90 massVec[7] = massVec[3];
91 massVec[8] = 0.;
92 if (Z > 1.0) massVec[8] = targetNucleus.
AtomicMass(A,Z-1.0);
93
97
99 targetNucleus, theAtomicMass, massVec);
100
101 G4double p = vec[0]->GetMomentum().mag();
104 delete vec[0];
105
106 if (vecLen <= 1)
107 {
113 }
114
116 for (
G4int i=1; i<vecLen; ++i) {
121 delete vec[i];
122 }
123
126}
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4ThreeVector &momentum)
void Initialize(G4int items)
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP)
void SetEnergyChange(G4double anEnergy)
void SetMomentumChange(const G4ThreeVector &aV)
const G4Material * GetMaterial() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4HadFinalState theParticleChange
G4ReactionDynamics theReactionDynamics
void DoIsotopeCounting(const G4HadProjectile *theProjectile, const G4Nucleus &aNucleus)
const G4String & GetName() const
G4double AtomicMass(const G4double A, const G4double Z) const
void NuclearReaction(G4FastVector< G4ReactionProduct, 4 > &vec, G4int &vecLen, const G4HadProjectile *originalIncident, const G4Nucleus &aNucleus, const G4double theAtomicMass, const G4double *massVec)