38 {
40
41
42
44
46 {
48 G4cout <<
"G4RPGAntiKZeroInelastic::ApplyYourself called" <<
G4endl;
50 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
53 }
54
55
56
57
61 modifiedOriginal = *originalIncident;
62
64 ek += tkin;
67 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
69 if( pp > 0.0 )
70 {
73 }
74
75
76
78 ek -= tkin;
80 et = ek + amas;
81 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
83 if( pp > 0.0 )
84 {
87 }
90 targetParticle = *originalTarget;
93 G4bool incidentHasChanged =
false;
94 G4bool targetHasChanged =
false;
95 G4bool quasiElastic =
false;
99
102 Cascade( vec, vecLen,
103 originalIncident, currentParticle, targetParticle,
104 incidentHasChanged, targetHasChanged, quasiElastic );
105
106 try
107 {
109 originalIncident, originalTarget, modifiedOriginal,
110 targetNucleus, currentParticle, targetParticle,
111 incidentHasChanged, targetHasChanged, quasiElastic );
112 }
114 {
117 }
119 currentParticle, targetParticle,
120 incidentHasChanged );
121
122 delete originalTarget;
124 }
G4DLLIMPORT std::ostream G4cout
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
const G4String & GetName() const
G4double EvaporationEffects(G4double kineticEnergy)
G4double Cinema(G4double kineticEnergy)
G4DynamicParticle * ReturnTargetParticle() const
G4double GetPDGMass() const
const G4String & GetParticleName() 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 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)