69{
71
72
74
77 G4cout <<
"G4LEAntiNeutronInelastic::ApplyYourself called" <<
G4endl;
79 G4cout <<
"target material = " << targetMaterial->
GetName() <<
", ";
82 }
83
84
85
89 modifiedOriginal = *originalIncident;
90
92 ek += tkin;
95 G4double p = std::sqrt( std::abs((et-amas)*(et+amas)) );
97 if (pp > 0.0) {
100 }
101
102
104 ek -= tkin;
106 et = ek + amas;
107 p = std::sqrt( std::abs((et-amas)*(et+amas)) );
109 if (pp > 0.0) {
112 }
113
116 targetParticle = *originalTarget;
119 G4bool incidentHasChanged =
false;
120 G4bool targetHasChanged =
false;
121 G4bool quasiElastic =
false;
125
128
131 Cascade(vec, vecLen, originalIncident, currentParticle, targetParticle,
132 incidentHasChanged, targetHasChanged, quasiElastic);
133 else
134 quasiElastic = true;
135
137 modifiedOriginal, targetNucleus, currentParticle,
138 targetParticle, incidentHasChanged, targetHasChanged,
139 quasiElastic);
140
141 SetUpChange(vec, vecLen, currentParticle, targetParticle, incidentHasChanged);
142
144
145 delete originalTarget;
147}
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 GetTotalMomentum() const
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
void SetSide(const G4int sid)
void SetKineticEnergy(const G4double en)