57 G4cout <<
"G4RPGKPlusInelastic::ApplyYourself called" <<
G4endl;
59 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
76 currentParticle.SetKineticEnergy( ek );
78 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
79 G4double pp = currentParticle.GetMomentum().mag();
83 currentParticle.SetMomentum( momentum * (p/pp) );
90 currentParticle.SetKineticEnergy( ek );
92 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
93 pp = currentParticle.GetMomentum().mag();
97 currentParticle.SetMomentum( momentum * (p/pp) );
103 targetParticle.SetSide( -1 );
104 G4bool incidentHasChanged =
false;
105 G4bool targetHasChanged =
false;
106 G4bool quasiElastic =
false;
112 if( currentParticle.GetKineticEnergy() > cutOff )
113 Cascade( vec, vecLen,
114 originalIncident, currentParticle, targetParticle,
115 incidentHasChanged, targetHasChanged, quasiElastic );
118 originalIncident, originalTarget, modifiedOriginal,
119 targetNucleus, currentParticle, targetParticle,
120 incidentHasChanged, targetHasChanged, quasiElastic );
123 currentParticle, targetParticle,
124 incidentHasChanged );
126 delete originalTarget;
G4double EvaporationEffects(G4double kineticEnergy)
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)
const G4String & GetName() const
void SetSide(const G4int sid)
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)
G4ParticleDefinition * GetDefinition() const
void Initialize(G4int items)
G4DynamicParticle * ReturnTargetParticle() const
const G4String & GetParticleName() const
void SetStatusChange(G4HadFinalStateStatus aS)
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
void SetEnergyChange(G4double anEnergy)
G4double GetPDGMass() const
G4double Cinema(G4double kineticEnergy)
G4HadFinalState theParticleChange
static constexpr double MeV
const G4Material * GetMaterial() const
void SetMomentumChange(const G4ThreeVector &aV)