144{
145
148
149
154 theNeutron.SetKineticEnergy(eKinetic);
155
156
161
162
163
165 theNeutronAngularDis.
SetTarget(theTarget);
166
167
168 theNeutron.Lorentz(theNeutron, -1*theTarget);
169
170 eKinetic = theNeutron.GetKineticEnergy();
171
172
173
174
175
176 G4int nPrompt=0, gPrompt=0;
177 SampleMult(theTrack, &nPrompt, &gPrompt, eKinetic);
178
179
181 for(
G4int i=0; i<nPrompt; i++)
182 {
191
193
194 }
195
196
197 for(
G4int i=0; i<gPrompt; i++)
198 {
207 thePhoton->
Lorentz(*thePhoton, -1.*theTarget);
208
212
213
215 delete thePhoton;
216 }
217
218
219
220
221
224
225
228}
void Put(const value_type &val) const
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetMomentum(const G4ThreeVector &momentum)
G4double GetTotalMomentum() const
void SetKineticEnergy(G4double aEnergy)
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
void SetLocalEnergyDeposit(G4double aE)
const G4Material * GetMaterial() const
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4double GetTemperature() const
static G4Neutron * Neutron()
G4ReactionProduct GetBiasedThermalNucleus(G4double aMass, G4ThreeVector aVelocity, G4double temp=-1) const
G4double GetPDGMass() const
void SetTarget(const G4ReactionProduct &aTarget)
void SetProjectileRP(const G4ReactionProduct &anIncidentParticleRP)
G4Cache< G4HadFinalState * > theResult
G4double GetFragmentKinetic()
void SetMomentum(const G4double x, const G4double y, const G4double z)
G4double GetTotalMomentum() const
const G4ParticleDefinition * GetDefinition() const
G4ThreeVector GetMomentum() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetKineticEnergy(const G4double en)
G4double getPhotonDircosu(G4int index)
G4double getNeutronEnergy(G4int index)
G4double getPhotonEnergy(G4int index)
G4double getNeutronDircosv(G4int index)
G4double getPhotonDircosw(G4int index)
G4double getNeutronDircosw(G4int index)
G4double getNeutronDircosu(G4int index)
G4double getPhotonDircosv(G4int index)