Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
G4NonEquilibriumEvaporator Class Reference

#include <G4NonEquilibriumEvaporator.hh>

Inheritance diagram for G4NonEquilibriumEvaporator:
G4CascadeDeexciteBase G4VCascadeDeexcitation G4VCascadeCollider

Public Member Functions

virtual void collide (G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &globalOutput)
 
virtual void deExcite (const G4Fragment &target, G4CollisionOutput &output)
 
 G4NonEquilibriumEvaporator ()
 
virtual void setVerboseLevel (G4int verbose=0)
 
virtual ~G4NonEquilibriumEvaporator ()
 

Protected Member Functions

virtual G4bool explosion (const G4Fragment &target) const
 
virtual G4bool explosion (G4int A, G4int Z, G4double excitation) const
 
void getTargetData (const G4Fragment &target)
 
const G4FragmentmakeFragment (G4int A, G4int Z, G4double EX=0.)
 
const G4FragmentmakeFragment (G4LorentzVector mom, G4int A, G4int Z, G4double EX=0.)
 
virtual void setName (const G4String &name)
 
virtual G4bool validateOutput (const G4Fragment &target, const std::vector< G4InuclElementaryParticle > &particles)
 
virtual G4bool validateOutput (const G4Fragment &target, const std::vector< G4InuclNuclei > &fragments)
 
virtual G4bool validateOutput (const G4Fragment &target, G4CollisionOutput &output)
 

Protected Attributes

G4int A
 
G4Fragment aFragment
 
G4CascadeCheckBalancebalance
 
G4double EEXS
 
G4LorentzVector PEX
 
G4String theName
 
G4int verboseLevel
 
G4int Z
 

Private Member Functions

 G4NonEquilibriumEvaporator (const G4NonEquilibriumEvaporator &)
 
G4double getE0 (G4int A) const
 
G4double getMatrixElement (G4int A) const
 
G4double getParLev (G4int A, G4int Z) const
 
G4NonEquilibriumEvaporatoroperator= (const G4NonEquilibriumEvaporator &)
 

Private Attributes

G4PowtheG4Pow
 
G4InuclSpecialFunctions::paraMaker theParaMaker
 

Detailed Description

Definition at line 46 of file G4NonEquilibriumEvaporator.hh.

Constructor & Destructor Documentation

◆ G4NonEquilibriumEvaporator() [1/2]

G4NonEquilibriumEvaporator::G4NonEquilibriumEvaporator ( )

Definition at line 68 of file G4NonEquilibriumEvaporator.cc.

69 : G4CascadeDeexciteBase("G4NonEquilibriumEvaporator"),
G4CascadeDeexciteBase(const char *name)
G4InuclSpecialFunctions::paraMaker theParaMaker
static G4Pow * GetInstance()
Definition: G4Pow.cc:41

◆ ~G4NonEquilibriumEvaporator()

virtual G4NonEquilibriumEvaporator::~G4NonEquilibriumEvaporator ( )
inlinevirtual

Definition at line 49 of file G4NonEquilibriumEvaporator.hh.

49{}

◆ G4NonEquilibriumEvaporator() [2/2]

G4NonEquilibriumEvaporator::G4NonEquilibriumEvaporator ( const G4NonEquilibriumEvaporator )
private

Member Function Documentation

◆ collide()

void G4VCascadeDeexcitation::collide ( G4InuclParticle bullet,
G4InuclParticle target,
G4CollisionOutput globalOutput 
)
virtualinherited

Implements G4VCascadeCollider.

Definition at line 37 of file G4VCascadeDeexcitation.cc.

39 {
40 if (verboseLevel) {
41 G4cout << " >>> G4VCascadeDeexcitation[" << theName << "]::collide "
42 << " *** SHOULD NOT BE CALLED ***" << G4endl;
43 }
44
45 throw G4HadronicException(__FILE__, __LINE__,
46 "G4VCascadeDeexcitation::collide() invalid, must use ::deExcite(G4Fagment*)");
47}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

References G4cout, G4endl, G4VCascadeCollider::theName, and G4VCascadeCollider::verboseLevel.

Referenced by G4InuclEvaporation::BreakItUp().

◆ deExcite()

void G4NonEquilibriumEvaporator::deExcite ( const G4Fragment target,
G4CollisionOutput output 
)
virtual

Implements G4VCascadeDeexcitation.

Definition at line 73 of file G4NonEquilibriumEvaporator.cc.

74 {
75 if (verboseLevel) {
76 G4cout << " >>> G4NonEquilibriumEvaporator::deExcite" << G4endl;
77 }
78
79 if (verboseLevel>1) G4cout << " evaporating target:\n" << target << G4endl;
80
81 const G4int a_cut = 5;
82 const G4int z_cut = 3;
83
84 const G4double eexs_cut = 0.1;
85
86 const G4double coul_coeff = 1.4;
87 const G4int itry_max = 1000;
88 const G4double small_ekin = 1.0e-6;
89 const G4double width_cut = 0.005;
90
91 getTargetData(target);
92 G4LorentzVector pin = PEX; // Save original four-vector for later
93
95 G4int QPP = config.protonQuasiParticles;
96 G4int QNP = config.neutronQuasiParticles;
97 G4int QPH = config.protonHoles;
98 G4int QNH = config.neutronHoles;
99
100 G4int QP = QPP + QNP;
101 G4int QH = QPH + QNH;
102 G4int QEX = QP + QH;
103
104 G4InuclElementaryParticle dummy(small_ekin, 1);
105 G4LorentzConvertor toTheExitonSystemRestFrame;
106 //*** toTheExitonSystemRestFrame.setVerbose(verboseLevel);
107 toTheExitonSystemRestFrame.setBullet(dummy);
108
109 G4double EFN = FermiEnergy(A, Z, 0);
110 G4double EFP = FermiEnergy(A, Z, 1);
111
112 G4int AR = A - QP;
113 G4int ZR = Z - QPP;
114 G4int NEX = QEX;
115 G4LorentzVector ppout;
116 G4bool try_again = (NEX > 0);
117
118 // Buffer for parameter sets
119 std::pair<G4double, G4double> parms;
120
121 while (try_again) { /* Loop checking 08.06.2015 MHK */
122 if (A >= a_cut && Z >= z_cut && EEXS > eexs_cut) { // ok
123 // update exiton system (include excitation energy!)
125 PEX.setVectM(PEX.vect(), nuc_mass);
126 toTheExitonSystemRestFrame.setTarget(PEX);
127 toTheExitonSystemRestFrame.toTheTargetRestFrame();
128
129 if (verboseLevel > 2) {
130 G4cout << " A " << A << " Z " << Z << " mass " << nuc_mass
131 << " EEXS " << EEXS << G4endl;
132 }
133
135 G4double E0 = getE0(A);
136 G4double PL = getParLev(A, Z);
137 G4double parlev = PL / A;
138 G4double EG = PL * EEXS;
139
140 if (QEX < std::sqrt(2.0 * EG)) { // ok
141 if (verboseLevel > 3)
142 G4cout << " QEX " << QEX << " < sqrt(2*EG) " << std::sqrt(2.*EG)
143 << " NEX " << NEX << G4endl;
144
146 const G4double& AK1 = parms.first;
147 const G4double& CPA1 = parms.second;
148
149 G4double VP = coul_coeff * Z * AK1 / (G4cbrt(A-1) + 1.0) /
150 (1.0 + EEXS / E0);
151 G4double DM1 = bindingEnergy(A,Z);
152 G4double BN = DM1 - bindingEnergy(A-1,Z);
153 G4double BP = DM1 - bindingEnergy(A-1,Z-1);
154 G4double EMN = EEXS - BN;
155 G4double EMP = EEXS - BP - VP * A / (A-1);
156 G4double ESP = 0.0;
157
158 if (verboseLevel > 3) {
159 G4cout << " AK1 " << AK1 << " CPA1 " << " VP " << VP
160 << "\n bind(A,Z) " << DM1 << " dBind(N) " << BN
161 << " dBind(P) " << BP
162 << "\n EMN " << EMN << " EMP " << EMP << G4endl;
163 }
164
165 if (EMN > eexs_cut) { // ok
166 G4int icase = 0;
167
168 if (NEX > 1) {
169 G4double APH = 0.25 * (QP * QP + QH * QH + QP - 3 * QH);
170 G4double APH1 = APH + 0.5 * (QP + QH);
171 ESP = EEXS / QEX;
172 G4double MELE = MEL / ESP / (A*A*A);
173
174 if (verboseLevel > 3)
175 G4cout << " APH " << APH << " APH1 " << APH1 << " ESP " << ESP
176 << G4endl;
177
178 if (ESP > 15.0) {
179 MELE *= std::sqrt(15.0 / ESP);
180 } else if(ESP < 7.0) {
181 MELE *= std::sqrt(ESP / 7.0);
182 if (ESP < 2.0) MELE *= std::sqrt(ESP / 2.0);
183 };
184
185 G4double F1 = EG - APH;
186 G4double F2 = EG - APH1;
187
188 if (verboseLevel > 3)
189 G4cout << " MELE " << MELE << " F1 " << F1 << " F2 " << F2
190 << G4endl;
191
192 if (F1 > 0.0 && F2 > 0.0) {
193 G4double F = F2 / F1;
194 G4double M1 = 2.77 * MELE * PL;
195 G4double D[3] = { 0., 0., 0. };
196 D[0] = M1 * F2 * F2 * theG4Pow->powN(F, NEX-1) / (QEX+1);
197 if (verboseLevel > 3) {
198 G4cout << " D[0] " << D[0] << " with F " << F
199 << " powN(F,NEX-1) " << theG4Pow->powN(F, NEX-1)
200 << G4endl;
201 }
202
203 if (D[0] > 0.0) {
204
205 if (NEX >= 2) {
206 D[1] = 0.0462 / parlev / G4cbrt(A) * QP * EEXS / QEX;
207
208 if (EMP > eexs_cut)
209 D[2] = D[1] * theG4Pow->powN(EMP/EEXS, NEX) * (1.0 + CPA1);
210 D[1] *= theG4Pow->powN(EMN/EEXS, NEX) * getAL(A);
211
212 if (verboseLevel > 3) {
213 G4cout << " D[1] " << D[1] << " with powN(EMN/EEXS, NEX) "
214 << theG4Pow->powN(EMN/EEXS, NEX) << G4endl
215 << " D[2] " << D[2] << " with powN(EMP/EEXS, NEX) "
216 << theG4Pow->powN(EMP/EEXS, NEX) << G4endl;
217 }
218
219 if (QNP < 1) D[1] = 0.0;
220 if (QPP < 1) D[2] = 0.0;
221
222 try_again = NEX > 1 && (D[1] > width_cut * D[0] ||
223 D[2] > width_cut * D[0]);
224
225 if (try_again) {
226 G4double D5 = D[0] + D[1] + D[2];
227 G4double SL = D5 * inuclRndm();
228 G4double S1 = 0.;
229
230 if (verboseLevel > 3)
231 G4cout << " D5 " << D5 << " SL " << SL << G4endl;
232
233 for (G4int i = 0; i < 3; i++) {
234 S1 += D[i];
235 if (SL <= S1) {
236 icase = i;
237 break;
238 }
239 }
240
241 if (verboseLevel > 3)
242 G4cout << " got icase " << icase << G4endl;
243 } // if (try_again)
244 } // if (NEX >= 2)
245 } else try_again = false; // if (D[0] > 0)
246 } else try_again = false; // if (F1>0 && F2>0)
247 } // if (NEX > 1)
248
249 if (try_again) {
250 if (icase > 0) { // N -> N-1 with particle escape
251 if (verboseLevel > 3)
252 G4cout << " try_again icase " << icase << G4endl;
253
254 G4double V = 0.0;
255 G4int ptype = 0;
256 G4double B = 0.0;
257
258 if (A < 3.0) try_again = false;
259
260 if (try_again) {
261
262 if (icase == 1) { // neutron escape
263 if (verboseLevel > 3)
264 G4cout << " trying neutron escape" << G4endl;
265
266 if (QNP < 1) icase = 0;
267 else {
268 B = BN;
269 V = 0.0;
270 ptype = 2;
271 };
272 } else { // proton esape
273 if (verboseLevel > 3)
274 G4cout << " trying proton escape" << G4endl;
275
276 if (QPP < 1) icase = 0;
277 else {
278 B = BP;
279 V = VP;
280 ptype = 1;
281
282 if (Z-1 < 1) try_again = false;
283 };
284 };
285
286 if (try_again && icase != 0) {
287 if (verboseLevel > 3)
288 G4cout << " ptype " << ptype << " B " << B << " V " << V
289 << G4endl;
290
291 G4double EB = EEXS - B;
292 G4double E = EB - V * A / (A-1);
293
294 if (E < 0.0) icase = 0;
295 else {
296 G4double E1 = EB - V;
297 G4double EEXS_new = -1.;
298 G4double EPART = 0.0;
299 G4int itry1 = 0;
300 G4bool bad = true;
301
302 /* Loop checking 08.06.2015 MHK */
303 while (itry1 < itry_max && icase > 0 && bad) {
304 itry1++;
305 G4int itry = 0;
306
307 /* Loop checking 08.06.2015 MHK */
308 while (EEXS_new < 0.0 && itry < itry_max) {
309 itry++;
310 G4double R = inuclRndm();
311 G4double X;
312
313 if (NEX == 2) {
314 X = 1.0 - std::sqrt(R);
315
316 } else {
317 G4double QEX2 = 1.0 / QEX;
318 G4double QEX1 = 1.0 / (QEX-1);
319 X = theG4Pow->powA(0.5*R, QEX2);
320 if (verboseLevel > 3) {
321 G4cout << " R " << R << " QEX2 " << QEX2
322 << " powA(R, QEX2) " << X << G4endl;
323 }
324
325 for (G4int i = 0; i < 1000; i++) {
326 G4double DX = X * QEX1 *
327 (1.0 + QEX2 * X * (1.0 - R / theG4Pow->powN(X, NEX)) / (1.0 - X));
328 if (verboseLevel > 3) {
329 G4cout << " NEX " << NEX << " powN(X, NEX) "
330 << theG4Pow->powN(X, NEX) << G4endl;
331 }
332
333 X -= DX;
334
335 if (std::fabs(DX / X) < 0.01) break;
336
337 };
338 };
339 EPART = EB - X * E1;
340 EEXS_new = EB - EPART * A / (A-1);
341 } // while (EEXS_new < 0.0...
342
343 if (itry == itry_max || EEXS_new < 0.0) {
344 icase = 0;
345 continue;
346 }
347
348 if (verboseLevel > 2)
349 G4cout << " particle " << ptype << " escape " << G4endl;
350
351 EPART /= GeV; // From MeV to GeV
352
353 G4InuclElementaryParticle particle(ptype);
354 particle.setModel(G4InuclParticle::NonEquilib);
355
356 // generate particle momentum
357 G4double mass = particle.getMass();
358 G4double pmod = std::sqrt(EPART * (2.0 * mass + EPART));
360
361 // Push evaporated paricle into current rest frame
362 mom = toTheExitonSystemRestFrame.backToTheLab(mom);
363
364 // Adjust quasiparticle and nucleon counts
365 G4int QPP_new = QPP;
366 G4int QNP_new = QNP;
367
368 G4int A_new = A-1;
369 G4int Z_new = Z;
370
371 if (ptype == 1) {
372 QPP_new--;
373 Z_new--;
374 };
375
376 if (ptype == 2) QNP_new--;
377
378 if (verboseLevel > 3) {
379 G4cout << " nucleus px " << PEX.px() << " py " << PEX.py()
380 << " pz " << PEX.pz() << " E " << PEX.e() << G4endl
381 << " evaporate px " << mom.px() << " py " << mom.py()
382 << " pz " << mom.pz() << " E " << mom.e() << G4endl;
383 }
384
385 // New excitation energy depends on residual nuclear state
386 G4double mass_new = G4InuclNuclei::getNucleiMass(A_new, Z_new);
387
388 EEXS_new = ((PEX-mom).m() - mass_new)*GeV;
389 if (EEXS_new < 0.) continue; // Sanity check for new nucleus
390
391 if (verboseLevel > 3)
392 G4cout << " EEXS_new " << EEXS_new << G4endl;
393
394 PEX -= mom;
395 EEXS = EEXS_new;
396
397 A = A_new;
398 Z = Z_new;
399
400 NEX--;
401 QEX--;
402 QP--;
403 QPP = QPP_new;
404 QNP = QNP_new;
405
406 particle.setMomentum(mom);
407 output.addOutgoingParticle(particle);
408 ppout += mom;
409 if (verboseLevel > 3) {
410 G4cout << particle << G4endl
411 << " ppout px " << ppout.px() << " py " << ppout.py()
412 << " pz " << ppout.pz() << " E " << ppout.e() << G4endl;
413 }
414
415 bad = false;
416 } // while (itry1<itry_max && icase>0
417
418 if (itry1 == itry_max) icase = 0;
419 } // if (E < 0.) [else]
420 } // if (try_again && icase != 0)
421 } // if (try_again)
422 } // if (icase > 0)
423
424 if (icase == 0 && try_again) { // N -> N + 2
425 if (verboseLevel > 3) G4cout << " adding excitons" << G4endl;
426
427 G4double TNN = 1.6 * EFN + ESP;
428 G4double TNP = 1.6 * EFP + ESP;
429 G4double XNUN = 1.0 / (1.6 + ESP / EFN);
430 G4double XNUP = 1.0 / (1.6 + ESP / EFP);
431 G4double SNN1 = csNN(TNP) * XNUP;
432 G4double SNN2 = csNN(TNN) * XNUN;
433 G4double SPN1 = csPN(TNP) * XNUP;
434 G4double SPN2 = csPN(TNN) * XNUN;
435 G4double PP = (QPP * SNN1 + QNP * SPN1) * ZR;
436 G4double PN = (QPP * SPN2 + QNP * SNN2) * (AR - ZR);
437 G4double PW = PP + PN;
438 NEX += 2;
439 QEX += 2;
440 QP++;
441 QH++;
442 AR--;
443
444 if (AR > 1) {
445 G4double SL = PW * inuclRndm();
446
447 if (SL > PP) {
448 QNP++;
449 QNH++;
450 } else {
451 QPP++;
452 QPH++;
453 ZR--;
454 if (ZR < 2) try_again = false;
455 }
456 } else try_again = false;
457 } // if (icase==0 && try_again)
458 } // if (try_again)
459 } else try_again = false; // if (EMN > eexs_cut)
460 } else try_again = false; // if (QEX < sqrg(2*EG)
461 } else try_again = false; // if (A > a_cut ...
462 } // while (try_again)
463
464 // everything finished, set output fragment
465
466 if (output.numberOfOutgoingParticles() == 0) {
467 output.addRecoilFragment(target);
468 } else {
469 G4LorentzVector pnuc = pin - ppout;
470 output.addRecoilFragment(makeFragment(pnuc, A, Z, EEXS));
471
472 if (verboseLevel>3)
473 G4cout << " remaining nucleus\n" << output.getRecoilFragment() << G4endl;
474 }
475
476 validateOutput(target, output); // Check energy conservation, etc.
477 return;
478}
G4double B(G4double temperature)
G4double D(G4double temp)
static const G4double * SL[nLA]
static constexpr double m
Definition: G4SIunits.hh:109
static constexpr double GeV
Definition: G4SIunits.hh:203
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
void setVectM(const Hep3Vector &spatial, double mass)
Hep3Vector vect() const
void getTargetData(const G4Fragment &target)
const G4Fragment & makeFragment(G4LorentzVector mom, G4int A, G4int Z, G4double EX=0.)
virtual G4bool validateOutput(const G4Fragment &target, G4CollisionOutput &output)
G4int numberOfOutgoingParticles() const
void addRecoilFragment(const G4Fragment *aFragment)
void addOutgoingParticle(const G4InuclElementaryParticle &particle)
const G4Fragment & getRecoilFragment(G4int index=0) const
G4double getNucleiMass() const
void getTruncated(G4double Z, std::pair< G4double, G4double > &parms)
Definition: paraMaker.cc:96
void setBullet(const G4InuclParticle *bullet)
G4LorentzVector backToTheLab(const G4LorentzVector &mom) const
void setTarget(const G4InuclParticle *target)
G4double getMatrixElement(G4int A) const
G4double getParLev(G4int A, G4int Z) const
G4double powN(G4double x, G4int n) const
Definition: G4Pow.cc:166
G4double powA(G4double A, G4double y) const
Definition: G4Pow.hh:230
struct config_s config
G4double bindingEnergy(G4int A, G4int Z)
G4LorentzVector generateWithRandomAngles(G4double p, G4double mass=0.)
G4double FermiEnergy(G4int A, G4int Z, G4int ntype)

References G4CascadeDeexciteBase::A, G4CollisionOutput::addOutgoingParticle(), G4CollisionOutput::addRecoilFragment(), B(), G4LorentzConvertor::backToTheLab(), G4InuclSpecialFunctions::bindingEnergy(), anonymous_namespace{G4CascadeParameters.cc}::BP, G4InuclSpecialFunctions::csNN(), G4InuclSpecialFunctions::csPN(), D(), CLHEP::HepLorentzVector::e(), G4CascadeDeexciteBase::EEXS, G4InuclSpecialFunctions::FermiEnergy(), G4InuclSpecialFunctions::G4cbrt(), G4cout, G4endl, G4InuclSpecialFunctions::generateWithRandomAngles(), G4InuclSpecialFunctions::getAL(), getE0(), G4InuclParticle::getMass(), getMatrixElement(), G4InuclNuclei::getNucleiMass(), getParLev(), G4CollisionOutput::getRecoilFragment(), G4CascadeDeexciteBase::getTargetData(), G4InuclSpecialFunctions::paraMaker::getTruncated(), GeV, G4InuclSpecialFunctions::inuclRndm(), m, G4CascadeDeexciteBase::makeFragment(), G4InuclParticle::NonEquilib, G4CollisionOutput::numberOfOutgoingParticles(), G4CascadeDeexciteBase::PEX, G4Pow::powA(), G4Pow::powN(), CLHEP::HepLorentzVector::px(), CLHEP::HepLorentzVector::py(), CLHEP::HepLorentzVector::pz(), G4LorentzConvertor::setBullet(), G4InuclParticle::setModel(), G4InuclParticle::setMomentum(), G4LorentzConvertor::setTarget(), CLHEP::HepLorentzVector::setVectM(), SL, theG4Pow, theParaMaker, G4LorentzConvertor::toTheTargetRestFrame(), G4CascadeDeexciteBase::validateOutput(), CLHEP::HepLorentzVector::vect(), G4VCascadeCollider::verboseLevel, and G4CascadeDeexciteBase::Z.

Referenced by G4CascadeDeexcitation::deExcite().

◆ explosion() [1/2]

G4bool G4CascadeDeexciteBase::explosion ( const G4Fragment target) const
protectedvirtualinherited

Reimplemented in G4EquilibriumEvaporator.

Definition at line 109 of file G4CascadeDeexciteBase.cc.

109 {
110 return explosion(fragment.GetA_asInt(), fragment.GetZ_asInt(),
111 fragment.GetExcitationEnergy()); // in MeV
112}
virtual G4bool explosion(const G4Fragment &target) const

References G4CascadeDeexciteBase::explosion(), G4Fragment::GetA_asInt(), G4Fragment::GetExcitationEnergy(), and G4Fragment::GetZ_asInt().

Referenced by G4CascadeDeexcitation::deExcite(), G4PreCompoundDeexcitation::deExcite(), G4CascadeDeexciteBase::explosion(), and G4EquilibriumEvaporator::explosion().

◆ explosion() [2/2]

G4bool G4CascadeDeexciteBase::explosion ( G4int  A,
G4int  Z,
G4double  excitation 
) const
protectedvirtualinherited

Reimplemented in G4EquilibriumEvaporator.

Definition at line 114 of file G4CascadeDeexciteBase.cc.

115 {
116 if (verboseLevel) G4cout << " >>> " << theName << "::explosion ?" << G4endl;
117
118 const G4int a_cut = 20;
119 const G4double be_cut = 3.0;
120
121 // Neutron balls, or small fragments with high excitations can explode
122 return ((fragA <= a_cut || fragZ==0) &&
123 (excitation >= be_cut * bindingEnergy(fragA,fragZ))
124 );
125}

References G4InuclSpecialFunctions::bindingEnergy(), G4cout, G4endl, G4VCascadeCollider::theName, and G4VCascadeCollider::verboseLevel.

◆ getE0()

G4double G4NonEquilibriumEvaporator::getE0 ( G4int  A) const
private

Definition at line 494 of file G4NonEquilibriumEvaporator.cc.

494 {
495 if (verboseLevel > 3) {
496 G4cout << " >>> G4NonEquilibriumEvaporator::getEO" << G4endl;
497 }
498
499 const G4double e0 = 200.0;
500
501 return e0;
502}

References G4cout, G4endl, and G4VCascadeCollider::verboseLevel.

Referenced by deExcite().

◆ getMatrixElement()

G4double G4NonEquilibriumEvaporator::getMatrixElement ( G4int  A) const
private

Definition at line 480 of file G4NonEquilibriumEvaporator.cc.

480 {
481 if (verboseLevel > 3) {
482 G4cout << " >>> G4NonEquilibriumEvaporator::getMatrixElement" << G4endl;
483 }
484
485 G4double me;
486
487 if (a > 150) me = 100.0;
488 else if (a > 20) me = 140.0;
489 else me = 70.0;
490
491 return me;
492}

References G4cout, G4endl, and G4VCascadeCollider::verboseLevel.

Referenced by deExcite().

◆ getParLev()

G4double G4NonEquilibriumEvaporator::getParLev ( G4int  A,
G4int  Z 
) const
private

Definition at line 504 of file G4NonEquilibriumEvaporator.cc.

504 {
505 if (verboseLevel > 3) {
506 G4cout << " >>> G4NonEquilibriumEvaporator::getParLev" << G4endl;
507 }
508
509 // const G4double par = 0.125;
510 G4double pl = 0.125 * a;
511
512 return pl;
513}

References G4cout, G4endl, and G4VCascadeCollider::verboseLevel.

Referenced by deExcite().

◆ getTargetData()

void G4CascadeDeexciteBase::getTargetData ( const G4Fragment target)
protectedinherited

Definition at line 66 of file G4CascadeDeexciteBase.cc.

66 {
67 A = target.GetA_asInt();
68 Z = target.GetZ_asInt();
69 PEX = target.GetMomentum()/GeV; // Convert from G4 to Bertini units
70 EEXS = target.GetExcitationEnergy();
71}
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:299
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:323
G4int GetZ_asInt() const
Definition: G4Fragment.hh:276
G4int GetA_asInt() const
Definition: G4Fragment.hh:271

References G4CascadeDeexciteBase::A, G4CascadeDeexciteBase::EEXS, G4Fragment::GetA_asInt(), G4Fragment::GetExcitationEnergy(), G4Fragment::GetMomentum(), G4Fragment::GetZ_asInt(), GeV, G4CascadeDeexciteBase::PEX, and G4CascadeDeexciteBase::Z.

Referenced by G4BigBanger::deExcite(), G4EquilibriumEvaporator::deExcite(), G4Fissioner::deExcite(), and deExcite().

◆ makeFragment() [1/2]

const G4Fragment & G4CascadeDeexciteBase::makeFragment ( G4int  A,
G4int  Z,
G4double  EX = 0. 
)
protectedinherited

Definition at line 81 of file G4CascadeDeexciteBase.cc.

81 {
82 return makeFragment(zero, fragA, fragZ, EX);
83}
static const G4LorentzVector zero(0., 0., 0., 0.)

References G4CascadeDeexciteBase::makeFragment(), and anonymous_namespace{G4CascadeDeexciteBase.cc}::zero.

◆ makeFragment() [2/2]

const G4Fragment & G4CascadeDeexciteBase::makeFragment ( G4LorentzVector  mom,
G4int  A,
G4int  Z,
G4double  EX = 0. 
)
protectedinherited

Definition at line 86 of file G4CascadeDeexciteBase.cc.

87 {
88 if (verboseLevel>2) {
89 G4cout << " >>> " << theName << "::makeFragment " << mom << " " << fragA
90 << " " << fragZ << " " << EX << G4endl;
91 }
92
93 // Adjust four-momentum so that mass is nucleus + excitation
94 G4double mass =
95 G4InuclNuclei::getNucleiMass(fragA,fragZ) + EX/GeV;
96 mom.setVectM(mom.vect(), mass);
97
98 // Overwrite previous fragment contents, zeroing out excitons
99 aFragment.SetZandA_asInt(fragZ, fragA);
100 aFragment.SetMomentum(mom*GeV); // Bertini uses GeV!
103
104 return aFragment;
105}
void SetNumberOfHoles(G4int valueTot, G4int valueP=0)
Definition: G4Fragment.hh:391
void SetMomentum(const G4LorentzVector &value)
Definition: G4Fragment.hh:328
void SetNumberOfExcitedParticle(G4int valueTot, G4int valueP)
Definition: G4Fragment.hh:372
void SetZandA_asInt(G4int Znew, G4int Anew)
Definition: G4Fragment.hh:281

References G4CascadeDeexciteBase::aFragment, G4cout, G4endl, G4InuclNuclei::getNucleiMass(), GeV, G4Fragment::SetMomentum(), G4Fragment::SetNumberOfExcitedParticle(), G4Fragment::SetNumberOfHoles(), CLHEP::HepLorentzVector::setVectM(), G4Fragment::SetZandA_asInt(), G4VCascadeCollider::theName, CLHEP::HepLorentzVector::vect(), and G4VCascadeCollider::verboseLevel.

Referenced by G4EquilibriumEvaporator::deExcite(), G4Fissioner::deExcite(), deExcite(), and G4CascadeDeexciteBase::makeFragment().

◆ operator=()

G4NonEquilibriumEvaporator & G4NonEquilibriumEvaporator::operator= ( const G4NonEquilibriumEvaporator )
private

◆ setName()

virtual void G4VCascadeCollider::setName ( const G4String name)
inlineprotectedvirtualinherited

Definition at line 55 of file G4VCascadeCollider.hh.

55{ theName = name; }
const char * name(G4int ptype)

References G4InuclParticleNames::name(), and G4VCascadeCollider::theName.

Referenced by G4CascadeCheckBalance::setOwner().

◆ setVerboseLevel()

void G4CascadeDeexciteBase::setVerboseLevel ( G4int  verbose = 0)
virtualinherited

◆ validateOutput() [1/3]

G4bool G4CascadeDeexciteBase::validateOutput ( const G4Fragment target,
const std::vector< G4InuclElementaryParticle > &  particles 
)
protectedvirtualinherited

Definition at line 142 of file G4CascadeDeexciteBase.cc.

143 {
144 if (!balance) return true; // Skip checks unless requested
145
146 if (verboseLevel > 1)
147 G4cout << " >>> " << theName << "::validateOutput" << G4endl;
148
150 balance->collide(target, particles);
151 return balance->okay(); // Returns false if violations
152}
void collide(G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &output)

References G4CascadeDeexciteBase::balance, G4CascadeCheckBalance::collide(), G4cout, G4endl, G4CascadeCheckBalance::okay(), G4VCascadeCollider::setVerboseLevel(), G4VCascadeCollider::theName, and G4VCascadeCollider::verboseLevel.

◆ validateOutput() [2/3]

G4bool G4CascadeDeexciteBase::validateOutput ( const G4Fragment target,
const std::vector< G4InuclNuclei > &  fragments 
)
protectedvirtualinherited

Definition at line 154 of file G4CascadeDeexciteBase.cc.

155 {
156 if (!balance) return true; // Skip checks unless requested
157
158 if (verboseLevel > 1)
159 G4cout << " >>> " << theName << "::validateOutput" << G4endl;
160
162 balance->collide(target, fragments);
163 return balance->okay(); // Returns false if violations
164}

References G4CascadeDeexciteBase::balance, G4CascadeCheckBalance::collide(), G4cout, G4endl, G4CascadeCheckBalance::okay(), G4VCascadeCollider::setVerboseLevel(), G4VCascadeCollider::theName, and G4VCascadeCollider::verboseLevel.

◆ validateOutput() [3/3]

G4bool G4CascadeDeexciteBase::validateOutput ( const G4Fragment target,
G4CollisionOutput output 
)
protectedvirtualinherited

Definition at line 130 of file G4CascadeDeexciteBase.cc.

131 {
132 if (!balance) return true; // Skip checks unless requested
133
134 if (verboseLevel > 1)
135 G4cout << " >>> " << theName << "::validateOutput" << G4endl;
136
138 balance->collide(target, output);
139 return balance->okay(); // Returns false if violations
140}

References G4CascadeDeexciteBase::balance, G4CascadeCheckBalance::collide(), G4cout, G4endl, G4CascadeCheckBalance::okay(), G4VCascadeCollider::setVerboseLevel(), G4VCascadeCollider::theName, and G4VCascadeCollider::verboseLevel.

Referenced by G4BigBanger::deExcite(), G4EquilibriumEvaporator::deExcite(), and deExcite().

Field Documentation

◆ A

G4int G4CascadeDeexciteBase::A
protectedinherited

◆ aFragment

G4Fragment G4CascadeDeexciteBase::aFragment
protectedinherited

Definition at line 82 of file G4CascadeDeexciteBase.hh.

Referenced by G4CascadeDeexciteBase::makeFragment().

◆ balance

G4CascadeCheckBalance* G4CascadeDeexciteBase::balance
protectedinherited

◆ EEXS

G4double G4CascadeDeexciteBase::EEXS
protectedinherited

◆ PEX

G4LorentzVector G4CascadeDeexciteBase::PEX
protectedinherited

◆ theG4Pow

G4Pow* G4NonEquilibriumEvaporator::theG4Pow
private

Definition at line 55 of file G4NonEquilibriumEvaporator.hh.

Referenced by deExcite().

◆ theName

G4String G4VCascadeCollider::theName
protectedinherited

◆ theParaMaker

G4InuclSpecialFunctions::paraMaker G4NonEquilibriumEvaporator::theParaMaker
private

Definition at line 54 of file G4NonEquilibriumEvaporator.hh.

Referenced by deExcite().

◆ verboseLevel

G4int G4VCascadeCollider::verboseLevel
protectedinherited

Definition at line 53 of file G4VCascadeCollider.hh.

Referenced by G4CascadeCheckBalance::baryonOkay(), G4CascadeCheckBalance::chargeOkay(), G4IntraNucleiCascader::collide(), G4InuclCollider::collide(), G4LightTargetCollider::collide(), G4VCascadeDeexcitation::collide(), G4CascadeCheckBalance::collide(), G4CascadeRecoilMaker::collide(), G4ElementaryParticleCollider::collide(), G4IntraNucleiCascader::copySecondaries(), G4IntraNucleiCascader::copyWoundedNucleus(), G4IntraNucleiCascader::decayTrappedParticle(), G4CascadeDeexcitation::deExcite(), G4InuclCollider::deexcite(), G4PreCompoundDeexcitation::deExcite(), G4BigBanger::deExcite(), G4EquilibriumEvaporator::deExcite(), G4EvaporationInuclCollider::deExcite(), G4Fissioner::deExcite(), deExcite(), G4CascadeCheckBalance::ekinOkay(), G4CascadeCheckBalance::energyOkay(), G4EquilibriumEvaporator::explosion(), G4CascadeDeexciteBase::explosion(), G4CascadeRecoilMaker::fillRecoil(), G4IntraNucleiCascader::finalize(), G4IntraNucleiCascader::finishCascade(), G4VCascadeCollider::G4VCascadeCollider(), G4BigBanger::generateBangInSCM(), G4IntraNucleiCascader::generateCascade(), G4BigBanger::generateMomentumModules(), G4ElementaryParticleCollider::generateMultiplicity(), G4ElementaryParticleCollider::generateSCMfinalState(), G4ElementaryParticleCollider::generateSCMmuonAbsorption(), G4ElementaryParticleCollider::generateSCMpionAbsorption(), G4ElementaryParticleCollider::generateSCMpionNAbsorption(), G4BigBanger::generateX(), G4EquilibriumEvaporator::getAF(), G4Fissioner::getC2(), G4EquilibriumEvaporator::getE0(), getE0(), getMatrixElement(), getParLev(), G4EquilibriumEvaporator::getPARLEVDEN(), G4EquilibriumEvaporator::getQF(), G4Fissioner::getZopt(), G4CascadeRecoilMaker::goodNucleus(), G4EquilibriumEvaporator::goodRemnant(), G4CascadeColliderBase::inelasticInteractionPossible(), G4IntraNucleiCascader::initialize(), G4CascadeDeexciteBase::makeFragment(), G4CascadeRecoilMaker::makeRecoilFragment(), G4CascadeRecoilMaker::makeRecoilNuclei(), G4BigBanger::maxProbability(), G4CascadeCheckBalance::momentumOkay(), G4IntraNucleiCascader::newCascade(), G4InuclCollider::photonuclearOkay(), G4ElementaryParticleCollider::pionNucleonAbsorption(), G4Fissioner::potentialMinimization(), G4IntraNucleiCascader::preloadCascade(), G4IntraNucleiCascader::processSecondary(), G4IntraNucleiCascader::processTrappedParticle(), G4IntraNucleiCascader::releaseSecondary(), G4IntraNucleiCascader::rescatter(), G4InuclCollider::rescatter(), G4IntraNucleiCascader::setupCascade(), G4InuclCollider::setVerboseLevel(), G4LightTargetCollider::setVerboseLevel(), G4VCascadeCollider::setVerboseLevel(), G4CascadeCheckBalance::strangeOkay(), G4InuclCollider::useCascadeDeexcitation(), G4InuclCollider::usePreCompoundDeexcitation(), G4CascadeDeexciteBase::validateOutput(), G4CascadeColliderBase::validateOutput(), G4CascadeRecoilMaker::wholeEvent(), and G4BigBanger::xProbability().

◆ Z

G4int G4CascadeDeexciteBase::Z
protectedinherited

The documentation for this class was generated from the following files: