57{
64 }
65
66
68
72 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
75 }
76
77
78
82 modifiedOriginal = *originalIncident;
83
85 ek += tkin;
88 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
90 if (pp > 0.0) {
93 }
94
95
97 ek -= tkin;
99 et = ek + amas;
100 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
102 if (pp > 0.0) {
105 }
108 targetParticle = *originalTarget;
111 G4bool incidentHasChanged =
false;
112 G4bool targetHasChanged =
false;
113 G4bool quasiElastic =
false;
117
120
122 Cascade(vec, vecLen, originalIncident, currentParticle, targetParticle,
123 incidentHasChanged, targetHasChanged, quasiElastic);
124
126 modifiedOriginal, targetNucleus, currentParticle,
127 targetParticle, incidentHasChanged, targetHasChanged,
128 quasiElastic);
129
130 SetUpChange(vec, vecLen, currentParticle, targetParticle, incidentHasChanged);
131
133
134 delete originalTarget;
136}
G4ParticleDefinition * GetDefinition() const
void Initialize(G4int items)
void SetStatusChange(G4HadFinalStateStatus aS)
void SetEnergyChange(G4double anEnergy)
void SetMomentumChange(const G4ThreeVector &aV)
const G4Material * GetMaterial() const
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4HadFinalState theParticleChange
void CalculateMomenta(G4FastVector< G4ReactionProduct, GHADLISTSIZE > &vec, G4int &vecLen, const G4HadProjectile *originalIncident, const G4DynamicParticle *originalTarget, G4ReactionProduct &modifiedOriginal, G4Nucleus &targetNucleus, G4ReactionProduct ¤tParticle, G4ReactionProduct &targetParticle, G4bool &incidentHasChanged, G4bool &targetHasChanged, G4bool quasiElastic)
void DoIsotopeCounting(const G4HadProjectile *theProjectile, const G4Nucleus &aNucleus)
void SetUpChange(G4FastVector< G4ReactionProduct, GHADLISTSIZE > &vec, G4int &vecLen, G4ReactionProduct ¤tParticle, G4ReactionProduct &targetParticle, G4bool &incidentHasChanged)
const G4String & GetName() const
G4double EvaporationEffects(G4double kineticEnergy)
G4double Cinema(G4double kineticEnergy)
G4DynamicParticle * ReturnTargetParticle() const
G4double GetPDGMass() const
const G4String & GetParticleName() const
void SetMomentum(const G4double x, const G4double y, const G4double z)
G4double GetTotalMomentum() const
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
void SetSide(const G4int sid)
void SetKineticEnergy(const G4double en)