#include <G4ProtonField.hh>
Definition at line 48 of file G4ProtonField.hh.
Definition at line 47 of file G4ProtonField.cc.
54 theFermi.
Init(theA, theZ);
58 G4double density = GetDensity(aPosition);
59 G4double fermiMom = GetFermiMomentum(density);
60 theFermiMomBuffer.push_back(fermiMom);
64 G4double density = GetDensity(aPosition);
65 G4double fermiMom = GetFermiMomentum(density);
66 theFermiMomBuffer.push_back(fermiMom);
70 theFermiMomBuffer.push_back(0);
74 theFermiMomBuffer.push_back(0);
virtual G4int GetCharge()=0
G4VNuclearField(G4V3DNucleus *aNucleus=0)
virtual const G4VNuclearDensity * GetNuclearDensity() const =0
virtual G4int GetMassNumber()=0
virtual G4double GetOuterRadius()=0
static constexpr double m
void Init(G4int anA, G4int aZ)
G4V3DNucleus * theNucleus
virtual G4double GetBarrier()
static constexpr double fermi
G4ProtonField::~G4ProtonField |
( |
| ) |
|
|
virtual |
Implements G4VNuclearField.
Definition at line 98 of file G4ProtonField.cc.
107 return bindingEnergy/theA+coulombBarrier;
static G4Pow * GetInstance()
G4double Z13(G4int Z) const
static constexpr double MeV
G4double bindingEnergy(G4int A, G4int Z)
Implements G4VNuclearField.
Definition at line 82 of file G4ProtonField.cc.
86 unsigned int index =
static_cast<unsigned int>(x/(0.3*
fermi));
87 if((index+2) > theFermiMomBuffer.size())
return theFermiMomBuffer.back();
88 G4double y1 = theFermiMomBuffer[index];
89 G4double y2 = theFermiMomBuffer[index+1];
92 G4double fermiMom = y1 + (x-x1)*(y2-y1)/(x2-x1);
static constexpr double fermi
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/source/processes/hadronic/models/binary_cascade/include/G4ProtonField.hh
- source/geant4.10.03.p02/source/processes/hadronic/models/binary_cascade/src/G4ProtonField.cc