36{
43 }
44
45
46
49
54
55
56
57
60
62 ek += tkin;
63 currentParticle.SetKineticEnergy( ek );
65 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
66 G4double pp = currentParticle.GetMomentum().mag();
67 if( pp > 0.0 )
68 {
70 currentParticle.SetMomentum( momentum * (p/pp) );
71 }
72
73
74
76 ek -= tkin;
77 currentParticle.SetKineticEnergy( ek );
78 et = ek + amas;
79 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
80 pp = currentParticle.GetMomentum().mag();
81 if( pp > 0.0 )
82 {
84 currentParticle.SetMomentum( momentum * (p/pp) );
85 }
86
88
90 targetParticle.SetSide( -1 );
91 G4bool incidentHasChanged =
false;
92 G4bool targetHasChanged =
false;
93 G4bool quasiElastic =
false;
97
99 if( currentParticle.GetKineticEnergy() > cutOff )
100 InitialCollision(vec, vecLen, currentParticle, targetParticle,
101 incidentHasChanged, targetHasChanged);
102
104 originalIncident, originalTarget, modifiedOriginal,
105 targetNucleus, currentParticle, targetParticle,
106 incidentHasChanged, targetHasChanged, quasiElastic );
107
109 currentParticle, targetParticle,
110 incidentHasChanged );
111
112 delete originalTarget;
114}
G4ParticleDefinition * GetDefinition() const
void Initialize(G4int items)
void SetStatusChange(G4HadFinalStateStatus aS)
void SetEnergyChange(G4double anEnergy)
void SetMomentumChange(const G4ThreeVector &aV)
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4HadFinalState theParticleChange
G4double EvaporationEffects(G4double kineticEnergy)
G4double Cinema(G4double kineticEnergy)
G4DynamicParticle * ReturnTargetParticle() const
G4double GetPDGMass() const
void CalculateMomenta(G4FastVector< G4ReactionProduct, 256 > &vec, G4int &vecLen, const G4HadProjectile *originalIncident, const G4DynamicParticle *originalTarget, G4ReactionProduct &modifiedOriginal, G4Nucleus &targetNucleus, G4ReactionProduct ¤tParticle, G4ReactionProduct &targetParticle, G4bool &incidentHasChanged, G4bool &targetHasChanged, G4bool quasiElastic)
void SetUpChange(G4FastVector< G4ReactionProduct, 256 > &vec, G4int &vecLen, G4ReactionProduct ¤tParticle, G4ReactionProduct &targetParticle, G4bool &incidentHasChanged)
void SetSide(const G4int sid)