37{
40 {
45 }
46
47
48
50
52 {
54 G4cout <<
"G4RPGXiMinusInelastic::ApplyYourself called" <<
G4endl;
56 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
59 }
60
61
62
63
67 modifiedOriginal = *originalIncident;
68
70 ek += tkin;
73 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
75 if( pp > 0.0 )
76 {
79 }
80
81
82
84 ek -= tkin;
86 et = ek + amas;
87 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
89 if( pp > 0.0 )
90 {
93 }
96 targetParticle = *originalTarget;
99 G4bool incidentHasChanged =
false;
100 G4bool targetHasChanged =
false;
101 G4bool quasiElastic =
false;
105
108 Cascade( vec, vecLen,
109 originalIncident, currentParticle, targetParticle,
110 incidentHasChanged, targetHasChanged, quasiElastic );
111
113 originalIncident, originalTarget, modifiedOriginal,
114 targetNucleus, currentParticle, targetParticle,
115 incidentHasChanged, targetHasChanged, quasiElastic );
116
118 currentParticle, targetParticle,
119 incidentHasChanged );
120
121 delete originalTarget;
123}
G4GLOB_DLL std::ostream G4cout
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
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)