#include <G4FermiFragmentsPoolVI.hh>
Definition at line 45 of file G4FermiFragmentsPoolVI.hh.
◆ G4FermiFragmentsPoolVI()
G4FermiFragmentsPoolVI::G4FermiFragmentsPoolVI |
( |
| ) |
|
|
explicit |
Definition at line 39 of file G4FermiFragmentsPoolVI.cc.
40{
41
46
49
50
51
52
53 fragment_pool.reserve(991);
54 Initialise();
55}
G4double GetMaxLifeTime() const
G4double GetFBUEnergyLimit() const
G4double GetMinExcitation() const
G4DeexPrecoParameters * GetParameters()
static G4NuclearLevelData * GetInstance()
◆ ~G4FermiFragmentsPoolVI()
G4FermiFragmentsPoolVI::~G4FermiFragmentsPoolVI |
( |
| ) |
|
Definition at line 57 of file G4FermiFragmentsPoolVI.cc.
58{
59 for(
G4int i=0; i<maxA; ++i) {
60 for(auto & ptr : list_p[i]) { delete ptr; ptr = nullptr; }
61 for(auto & ptr : list_c[i]) { delete ptr; ptr = nullptr; }
62 }
63 for(auto & ptr : fragment_pool) { delete ptr; ptr = nullptr; }
64}
◆ ClosestChannels()
Definition at line 67 of file G4FermiFragmentsPoolVI.cc.
68{
71
72
73 for(
size_t j=0; j<(list_c[
A]).size(); ++j) {
75 if(frag->
GetZ() != Z) {
continue; }
77
78
79
80 if(std::abs(de) <= tolerance) {
82 break;
83 } else {
84
85 de += tolerance;
86 if(de >= 0.0 && de <= demax) {
88 demax = de;
89 }
90
91
92 }
93 }
94 return res;
95}
double A(double temperature)
G4double GetTotalEnergy(void) const
◆ Dump()
void G4FermiFragmentsPoolVI::Dump |
( |
| ) |
const |
Definition at line 302 of file G4FermiFragmentsPoolVI.cc.
303{
304 G4cout <<
"----------------------------------------------------------------"
306 G4cout <<
"##### List of Fragments in the Fermi Fragment Pool #####"
308 G4int nfrag = fragment_pool.size();
309 G4cout <<
" For stable " << nfrag <<
" Elim(MeV) = "
310 << elim/CLHEP::MeV <<
G4endl;
311 for(
G4int i=0; i<nfrag; ++i) {
313 }
315
316
317 G4cout <<
"----------------------------------------------------------------"
319 G4cout <<
"### G4FermiFragmentPoolVI: fragments sorted by A" <<
G4endl;
320
323 ama[0] = 0;
326 size_t am(0);
327 for(
size_t j=0; j<list_f[
A].size(); ++j) {
331 size_t nch = (list_c[
A])[j]->GetNumberOfChannels();
332 am = std::max(am, nch);
333 G4cout <<
" ("<<a1<<
","<<z1<<
"); Eex(MeV)= "
336 << "; Nchannels= " << nch
338 (z1*proton_mass_c2 + (a1 - z1)*neutron_mass_c2)
340 for(size_t k=0; k<nch; ++k) {
341 const G4FermiPair* fpair = ((list_c[
A])[j]->GetChannels())[k];
348 <<
") prob= " << ((list_c[
A])[j]->GetProbabilities())[k]
350 }
351 }
353 }
356
358 for(
G4int j=0; j<maxA; ++j) {
G4cout << list_f[j].size() <<
", "; }
360
362 for (
size_t j=0; j<maxA; ++j) {
G4cout << ama[j] <<
", "; }
364
366 for(
G4int j=0; j<maxA; ++j) {
G4cout << list_p[j].size() <<
", "; }
368
369 G4cout <<
"----------------------------------------------------------------"
372
373 prec =
G4cout.precision(6);
376 for(
size_t j=0; j<list_p[
A].size(); ++j) {
383 G4cout <<
"("<<a1<<
","<<z1<<
")("<<a2<<
","<<z2<<
") % Eex(MeV)= "
384 << std::setw(8)<< (list_p[
A])[j]->GetExcitationEnergy()
388 }
390 G4cout <<
"----------------------------------------------------------------"
392 }
394}
G4GLOB_DLL std::ostream G4cout
G4double GetExcitationEnergy(void) const
G4int GetSpin(void) const
void DumpFragment(const G4FermiFragment *) const
const G4FermiFragment * GetFragment2() const
const G4FermiFragment * GetFragment1() const
◆ DumpFragment()
void G4FermiFragmentsPoolVI::DumpFragment |
( |
const G4FermiFragment * |
f | ) |
const |
Definition at line 288 of file G4FermiFragmentsPoolVI.cc.
289{
290 if(f) {
292 G4cout <<
" Z= " << f->
GetZ() <<
" A= " << std::setw(2) << f->
GetA()
295 <<
" 2s= " << f->
GetSpin() <<
" IsStable: "
299 }
300}
G4double GetFragmentMass(void) const
G4bool HasChannels(G4int Z, G4int A, G4double exc) const
Referenced by Dump().
◆ FermiDecayProbability()
◆ GetEnergyLimit()
G4double G4FermiFragmentsPoolVI::GetEnergyLimit |
( |
| ) |
const |
|
inline |
◆ GetMaxA()
G4int G4FermiFragmentsPoolVI::GetMaxA |
( |
| ) |
const |
|
inline |
◆ GetMaxZ()
G4int G4FermiFragmentsPoolVI::GetMaxZ |
( |
| ) |
const |
|
inline |
◆ GetTolerance()
G4double G4FermiFragmentsPoolVI::GetTolerance |
( |
| ) |
const |
|
inline |
◆ HasChannels()
◆ IsPhysical()
Definition at line 97 of file G4FermiFragmentsPoolVI.cc.
98{
99 for(auto const& ptr : list_f[A]) {
100 if(ptr->GetZ() == Z) { return true; }
101 }
102 return false;
103}
The documentation for this class was generated from the following files: