91{
94
95 G4int A = theNucleus.GetA_asInt();
96 G4int Z = theNucleus.GetZ_asInt();
97
99
100
103
107
108
109
110
112
114
115 if(
M - mass <= lowestEnergyLimit) {
117 }
118
120 G4cout <<
"G4NeutronRadCapture::DoIt: Eini(MeV)="
123 <<
" Z= " <<
Z <<
" A= " <<
A <<
G4endl;
124 }
127 lv2.boost(bst);
133 delete news;
134
136
137 lab4mom -= lv2;
143
145 G4cout <<
"Gamma 4-mom: " << lv2 <<
" "
147 }
148 if(theDef) {
153 delete news;
154 }
155
156
157 } else {
158
159
161 G4double etot = std::max(mass, lab4mom.
e());
162 G4double ptot = std::sqrt((etot - mass)*(etot + mass));
164 lab4mom.
set(v.
x()*ptot,v.
y()*ptot,v.
z()*ptot,etot);
165 }
166
168
170 G4cout <<
"G4NeutronRadCapture::ApplyYourself initial G4Fragmet:"
173 }
174
175
176
177
180 fv->push_back(aFragment);
181 size_t n = fv->size();
182
184 G4cout <<
"G4NeutronRadCapture: " <<
n <<
" final particle icID= " << icID <<
G4endl;
185 }
186 for(
size_t i=0; i<
n; ++i) {
187
190
193
200 else {
202 if(eexc <= minExcitation) { eexc = 0.0; }
204
205
206
207
208
209 }
213 << " Ekin(MeV)= " << etot/MeV
216 }
220 ekin));
222 if(timeF < 0.0) { timeF = 0.0; }
224 if(theDef == electron) {
226 } else {
228 }
230 delete news;
231 delete f;
232 }
233 delete fv;
234 }
235
237}
std::vector< G4Fragment * > G4FragmentVector
G4ThreeVector G4RandomDirection()
G4GLOB_DLL std::ostream G4cout
Hep3Vector boostVector() const
void set(double x, double y, double z, double t)
static G4Deuteron * Deuteron()
G4double GetExcitationEnergy() const
const G4LorentzVector & GetMomentum() const
G4double GetCreationTime() const
const G4ParticleDefinition * GetParticleDefinition() const
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondary(G4DynamicParticle *aP, G4int mod=-1)
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4double GetGlobalTime() const
void SetTime(G4double aT)
void SetCreatorModelID(G4int id)
G4HadFinalState theParticleChange
G4ParticleDefinition * GetIon(G4int Z, G4int A, G4int lvl=0)
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4double GetPDGMass() const
const G4String & GetParticleName() const
static G4Triton * Triton()
G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)