55{
57
58
60
63 G4cout <<
"G4LEKaonZeroInelastic::ApplyYourself called" <<
G4endl;
65 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
68 }
69
70
71
75 modifiedOriginal = *originalIncident;
76
78 ek += tkin;
81 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
83 if (pp > 0.0) {
86 }
87
88
90 ek -= tkin;
92 et = ek + amas;
93 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
95 if (pp > 0.0) {
98 }
101 targetParticle = *originalTarget;
104 G4bool incidentHasChanged =
false;
105 G4bool targetHasChanged =
false;
106 G4bool quasiElastic =
false;
110
113 Cascade(vec, vecLen, originalIncident, currentParticle, targetParticle,
114 incidentHasChanged, targetHasChanged, quasiElastic);
115
116 CalculateMomenta(vec, vecLen, originalIncident, originalTarget, modifiedOriginal,
117 targetNucleus, currentParticle, targetParticle,
118 incidentHasChanged, targetHasChanged, quasiElastic);
119
120 SetUpChange(vec, vecLen, currentParticle, targetParticle, incidentHasChanged);
121
123
124 delete originalTarget;
126}
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 GetKineticEnergy() const
G4ThreeVector GetMomentum() const
void SetSide(const G4int sid)
void SetKineticEnergy(const G4double en)