55{
57
58
60
63 G4cout <<
"G4LEAntiKaonZeroInelastic::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 }
99
102 targetParticle = *originalTarget;
105 G4bool incidentHasChanged =
false;
106 G4bool targetHasChanged =
false;
107 G4bool quasiElastic =
false;
111
114 Cascade(vec, vecLen,
115 originalIncident, currentParticle, targetParticle,
116 incidentHasChanged, targetHasChanged, quasiElastic);
117
118 try {
120 modifiedOriginal, targetNucleus, currentParticle,
121 targetParticle, incidentHasChanged, targetHasChanged,
122 quasiElastic);
123 }
125 {
128 }
129 SetUpChange(vec, vecLen, currentParticle, targetParticle, incidentHasChanged);
130
132 delete originalTarget;
134}
G4ParticleDefinition * GetDefinition() const
void Initialize(G4int items)
const G4Material * GetMaterial() const
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
void Report(std::ostream &aS)
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)