#include <G4INCLNuclearPotentialConstant.hh>
◆ NuclearPotentialConstant()
G4INCL::NuclearPotential::NuclearPotentialConstant::NuclearPotentialConstant |
( |
const G4int | A, |
|
|
const G4int | Z, |
|
|
const G4bool | pionPotential ) |
◆ ~NuclearPotentialConstant()
G4INCL::NuclearPotential::NuclearPotentialConstant::~NuclearPotentialConstant |
( |
| ) |
|
|
virtual |
◆ computePotentialEnergy()
G4double G4INCL::NuclearPotential::NuclearPotentialConstant::computePotentialEnergy |
( |
const Particle *const | p | ) |
const |
|
virtual |
Implements G4INCL::NuclearPotential::INuclearPotential.
Definition at line 170 of file G4INCLNuclearPotentialConstant.cc.
170 {
171
172 switch( particle->getType() )
173 {
176 return vNucleon;
177 break;
178
183 break;
184
189 break;
190
194 return vSigma;
195 break;
197 return vLambda;
198 break;
199
205 break;
206
208 return 0.0;
209 break;
210
215 return vDelta;
216 break;
218 INCL_ERROR(
"Trying to compute potential energy of an unknown particle.");
219 return 0.0;
220 break;
221 default:
222 INCL_ERROR(
"Trying to compute potential energy of a malformed particle.");
223 return 0.0;
224 break;
225 }
226 }
G4double computePionPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion.
G4double computePionResonancePotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion resonances (Eta, Omega and EtaPrime and Gamma also).
G4double computeKaonPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given kaon.
◆ getDeltaPotential()
G4double G4INCL::NuclearPotential::NuclearPotentialConstant::getDeltaPotential |
( |
| ) |
const |
|
inline |
◆ getNucleonPotential()
G4double G4INCL::NuclearPotential::NuclearPotentialConstant::getNucleonPotential |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: