#include <G4HyperNucleiProperties.hh>
Definition at line 45 of file G4HyperNucleiProperties.hh.
◆ ~G4HyperNucleiProperties()
G4HyperNucleiProperties::~G4HyperNucleiProperties |
( |
| ) |
|
|
inline |
◆ G4HyperNucleiProperties()
G4HyperNucleiProperties::G4HyperNucleiProperties |
( |
| ) |
|
|
inline |
◆ GetAtomicMass()
Definition at line 102 of file G4HyperNucleiProperties.cc.
103{
104 if (A < 1 || Z < 0 || Z > A-L || L > A || L <0 ) {
105#ifdef G4VERBOSE
107 G4cout <<
"G4HyperNucleiProperties::GetAtomicMass: "
108 << " Wrong values for A = " << A
109 << " Z = " << Z
110 <<
" L = " << L <<
G4endl;
111 }
112#endif
113 return 0.0;
114
115 } else {
117 return nuclearMass + Z*electron_mass_c2
118 - 1.433e-5*MeV*std::pow(
G4double(Z),2.39);
119 }
120}
G4DLLIMPORT std::ostream G4cout
static G4double GetNuclearMass(G4int A, G4int Z, G4int L)
static G4ParticleTable * GetParticleTable()
◆ GetNuclearMass()
Definition at line 42 of file G4HyperNucleiProperties.cc.
43{
45
47 if (A < 2 || Z < 0 || Z > A-L || L>A ) {
48#ifdef G4VERBOSE
50 G4cout <<
"G4HyperNucleiProperties::GetNuclearMass: "
51 << " Wrong values for A = " << A
52 << " Z = " << Z
53 << " L = " << L
55 }
56#endif
57 return 0.0;
58 } else if( A==2 ) {
59#ifdef G4VERBOSE
61 G4cout <<
"G4HyperNucleiProperties::GetNuclearMass: "
62 << " No boud state for A = " << A
63 << " Z = " << Z
64 << " L = " << L
66 }
67#endif
68 return 0.0;
69 }
70
71
73 if (lambda ==0) {
74#ifdef G4VERBOSE
76 G4cout <<
"G4HyperNucleiProperties::GetNuclearMass: "
77 <<
" Lambda is not defined " <<
G4endl;
78 }
79#endif
80 return 0.0;
81 }
83
88 static const G4double eps =0.0001*MeV;
89
91
93 if (A-L ==2) bs=a2;
94 else if(A-L ==3) bs=a3;
95 else if(A-L >3) bs=b7*std::exp(-b8/(A-L+1.));
96 mass += L*(mL-bs) + eps;
97
98 return mass;
99}
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4int GetVerboseLevel() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
Referenced by GetAtomicMass(), and G4IonTable::GetNucleusMass().
The documentation for this class was generated from the following files: