57{
59
60
62
65 G4cout <<
"G4LEAntiXiZeroInelastic::ApplyYourself called" <<
G4endl;
67 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
70 }
71
72
73
77 modifiedOriginal = *originalIncident;
78
80 ek += tkin;
83 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
85 if (pp > 0.0) {
88 }
89
90
92 ek -= tkin;
94 et = ek + amas;
95 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
97 if (pp > 0.0) {
100 }
103 targetParticle = *originalTarget;
106 G4bool incidentHasChanged =
false;
107 G4bool targetHasChanged =
false;
108 G4bool quasiElastic =
false;
112
117 Cascade(vec, vecLen, originalIncident, currentParticle, targetParticle,
118 incidentHasChanged, targetHasChanged, quasiElastic);
119
121 modifiedOriginal, targetNucleus, currentParticle,
122 targetParticle, incidentHasChanged, targetHasChanged,
123 quasiElastic);
124
125 SetUpChange(vec, vecLen, currentParticle, targetParticle, incidentHasChanged);
126
128
129 delete originalTarget;
131}
G4ParticleDefinition * GetDefinition() const
void Initialize(G4int items)
const G4Material * GetMaterial() const
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() 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)