#include <G4NucleiProperties.hh>
Definition at line 47 of file G4NucleiProperties.hh.
G4NucleiProperties::~G4NucleiProperties |
( |
| ) |
|
|
inline |
G4NucleiProperties::G4NucleiProperties |
( |
| ) |
|
|
inline |
Definition at line 268 of file G4NucleiProperties.cc.
270 if (
A < 1 || Z < 0 || Z >
A) {
273 G4cout <<
"G4NucleiProperties::GetMassExccess: Wrong values for A = "
274 << A <<
" and Z = " <<
Z <<
G4endl;
280 G4bool inAMETable =
false;
281 if ( ! use_old_evaluation ) {
282 inAMETable = G4NucleiPropertiesTableAME12::IsInTable(
Z,A);
284 inAMETable = G4NucleiPropertiesTableAME03::IsInTable(
Z,A);
287 if ( ! use_old_evaluation ) {
288 return G4NucleiPropertiesTableAME12::GetBindingEnergy(
Z,A);
290 return G4NucleiPropertiesTableAME03::GetBindingEnergy(
Z,A);
292 }
else if (G4NucleiPropertiesTheoreticalTable::IsInTable(
Z,A)) {
293 return G4NucleiPropertiesTheoreticalTable::GetBindingEnergy(
Z,A);
295 return BindingEnergy(A,
Z);
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
static G4ParticleTable * GetParticleTable()
Definition at line 261 of file G4NucleiProperties.cc.
double A(double temperature)
static G4double GetBindingEnergy(const G4int A, const G4int Z)
Definition at line 188 of file G4NucleiProperties.cc.
190 if (
A < 1 || Z < 0 || Z >
A) {
193 G4cout <<
"G4NucleiProperties::GetMassExccess: Wrong values for A = "
194 << A <<
" and Z = " <<
Z <<
G4endl;
201 G4bool inAMETable =
false;
202 if ( ! use_old_evaluation ) {
203 inAMETable = G4NucleiPropertiesTableAME12::IsInTable(
Z,A);
205 inAMETable = G4NucleiPropertiesTableAME03::IsInTable(
Z,A);
209 if ( ! use_old_evaluation ) {
210 return G4NucleiPropertiesTableAME12::GetMassExcess(
Z,A);
212 return G4NucleiPropertiesTableAME03::GetMassExcess(
Z,A);
214 }
else if (G4NucleiPropertiesTheoreticalTable::IsInTable(
Z,A)){
215 return G4NucleiPropertiesTheoreticalTable::GetMassExcess(
Z,A);
217 return MassExcess(A,
Z);
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
static G4ParticleTable * GetParticleTable()
Definition at line 181 of file G4NucleiProperties.cc.
static G4double GetMassExcess(const G4int A, const G4int Z)
double A(double temperature)
Definition at line 64 of file G4NucleiProperties.cc.
68 if (std::fabs(
A -
G4int(
A)) > 1.e-10) {
69 mass = NuclearMass(
A,
Z);
static G4double GetNuclearMass(const G4double A, const G4double Z)
double A(double temperature)
Definition at line 82 of file G4NucleiProperties.cc.
84 if (mass_proton <= 0.0 ) {
87 if (nucleus!=0) mass_proton = nucleus->
GetPDGMass();
89 if (nucleus!=0) mass_neutron = nucleus->
GetPDGMass();
91 if (nucleus!=0) mass_deuteron = nucleus->
GetPDGMass();
93 if (nucleus!=0) mass_triton = nucleus->
GetPDGMass();
95 if (nucleus!=0) mass_alpha = nucleus->
GetPDGMass();
97 if (nucleus!=0) mass_He3 = nucleus->
GetPDGMass();
101 if (
A < 1 || Z < 0 || Z >
A) {
104 G4cout <<
"G4NucleiProperties::GetNuclearMass: Wrong values for A = " << A
114 if ( (
Z==1)&&(A==1) ) {
116 }
else if ( (
Z==0)&&(A==1) ) {
118 }
else if ( (
Z==1)&&(A==2) ) {
119 mass = mass_deuteron;
120 }
else if ( (
Z==1)&&(A==3) ) {
122 }
else if ( (
Z==2)&&(A==4) ) {
124 }
else if ( (
Z==2)&&(A==3) ) {
130 G4bool inAMETable =
false;
131 if ( ! use_old_evaluation ) {
132 inAMETable = G4NucleiPropertiesTableAME12::IsInTable(
Z,A);
134 inAMETable = G4NucleiPropertiesTableAME03::IsInTable(
Z,A);
138 if ( ! use_old_evaluation ) {
139 mass = G4NucleiPropertiesTableAME12::GetNuclearMass(
Z,A);
141 mass = G4NucleiPropertiesTableAME03::GetNuclearMass(
Z,A);
143 }
else if (G4NucleiPropertiesTheoreticalTable::IsInTable(
Z,A)){
145 mass = G4NucleiPropertiesTheoreticalTable::GetNuclearMass(
Z,A);
151 if (mass < 0.) mass = 0.0;
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
G4double GetPDGMass() const
static G4ParticleTable * GetParticleTable()
Definition at line 155 of file G4NucleiProperties.cc.
double A(double temperature)
static bool IsInStableTable(const G4double A, const G4double Z)
Definition at line 162 of file G4NucleiProperties.cc.
164 if (
A < 1 || Z < 0 || Z >
A) {
167 G4cout <<
"G4NucleiProperties::IsInStableTable: Wrong values for A = "
168 << A <<
" and Z = " <<
Z <<
G4endl;
174 if ( ! use_old_evaluation ) {
175 return G4NucleiPropertiesTableAME12::IsInTable(
Z,A);
177 return G4NucleiPropertiesTableAME03::IsInTable(
Z,A);
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
static G4ParticleTable * GetParticleTable()
void G4NucleiProperties::UseOldAMETable |
( |
G4bool |
val = true | ) |
|
|
static |
The documentation for this class was generated from the following files: