53{
54 G4bool triton_debug =
false;
55 if (getenv("TritonLEDebug")) triton_debug = true;
58 if (triton_debug)
G4cout <<
"entering LETritonInelastic "
65 }
66
69 G4cout <<
"G4LETritonInelastic::ApplyYourself called" <<
G4endl;
71 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
72 }
73
74 if (triton_debug)
G4cout <<
"running LETritonInelastic 1" <<
G4endl;
75
76
83 }
84
85 if (triton_debug)
G4cout <<
"running LETritonInelastic 2" <<
G4endl;
86
91 massVec[0] = targetNucleus.
AtomicMass( A+3.0, Z+1.0 );
92 massVec[1] = targetNucleus.
AtomicMass( A+2.0, Z+1.0 );
93 massVec[2] = targetNucleus.
AtomicMass( A+2.0, Z );
94 massVec[3] = targetNucleus.
AtomicMass( A+1.0, Z );
95 massVec[4] = theAtomicMass;
96 massVec[5] = massVec[3];
97 if (A > 1.0 && Z > 1.0) massVec[5] = targetNucleus.
AtomicMass(A-1.0, Z-1.0);
98 massVec[6] = targetNucleus.
AtomicMass(A+1.0, Z+1.0);
99 massVec[7] = massVec[3];
100 massVec[8] = massVec[2];
101 if (Z > 1.0) massVec[8] = targetNucleus.
AtomicMass(A+1.0, Z-1.0);
102
106
107 if (triton_debug)
G4cout <<
"running LETritonInelastic 3" <<
G4endl;
109 targetNucleus, theAtomicMass, massVec);
110 if (triton_debug)
G4cout <<
"running LETritonInelastic 4" <<
G4endl;
111
112 G4double p = vec[0]->GetMomentum().mag();
115 delete vec[0];
116
117 if (vecLen <= 1) {
123 }
124
126 for (
G4int i = 1; i < vecLen; ++i) {
131 delete vec[i];
132 }
133
135
136 if (triton_debug)
G4cout <<
"leaving LETritonInelastic" <<
G4endl;
138}
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)