Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::NuclearPotential::NuclearPotentialIsospin Class Reference

#include <G4INCLNuclearPotentialIsospin.hh>

+ Inheritance diagram for G4INCL::NuclearPotential::NuclearPotentialIsospin:

Public Member Functions

 NuclearPotentialIsospin (const G4int A, const G4int Z, const G4bool pionPotential)
 
virtual ~NuclearPotentialIsospin ()
 
virtual G4double computePotentialEnergy (const Particle *const p) const
 
- Public Member Functions inherited from G4INCL::NuclearPotential::INuclearPotential
 INuclearPotential (const G4int A, const G4int Z, const G4bool pionPot)
 
virtual ~INuclearPotential ()
 
G4bool hasPionPotential () const
 Do we have a pion potential?
 
virtual G4double computePotentialEnergy (const Particle *const p) const =0
 
G4double getFermiEnergy (const Particle *const p) const
 Return the Fermi energy for a particle.
 
G4double getFermiEnergy (const ParticleType t) const
 Return the Fermi energy for a particle type.
 
G4double getSeparationEnergy (const Particle *const p) const
 Return the separation energy for a particle.
 
G4double getSeparationEnergy (const ParticleType t) const
 Return the separation energy for a particle type.
 
G4double getFermiMomentum (const Particle *const p) const
 Return the Fermi momentum for a particle.
 
G4double getFermiMomentum (const ParticleType t) const
 Return the Fermi momentum for a particle type.
 

Additional Inherited Members

- Protected Member Functions inherited from G4INCL::NuclearPotential::INuclearPotential
G4double computePionPotentialEnergy (const Particle *const p) const
 Compute the potential energy for the given pion.
 
G4double computeKaonPotentialEnergy (const Particle *const p) const
 Compute the potential energy for the given kaon.
 
G4double computePionResonancePotentialEnergy (const Particle *const p) const
 Compute the potential energy for the given pion resonances (Eta, Omega and EtaPrime and Gamma also).
 
- Protected Attributes inherited from G4INCL::NuclearPotential::INuclearPotential
const G4int theA
 The mass number of the nucleus.
 
const G4int theZ
 The charge number of the nucleus.
 
std::map< ParticleType, G4doublefermiEnergy
 
std::map< ParticleType, G4doublefermiMomentum
 
std::map< ParticleType, G4doubleseparationEnergy
 

Detailed Description

Definition at line 56 of file G4INCLNuclearPotentialIsospin.hh.

Constructor & Destructor Documentation

◆ NuclearPotentialIsospin()

G4INCL::NuclearPotential::NuclearPotentialIsospin::NuclearPotentialIsospin ( const G4int  A,
const G4int  Z,
const G4bool  pionPotential 
)

Definition at line 57 of file G4INCLNuclearPotentialIsospin.cc.

58 : INuclearPotential(A, Z, aPionPotential)
59 {
60 initialize();
61 }
INuclearPotential(const G4int A, const G4int Z, const G4bool pionPot)

◆ ~NuclearPotentialIsospin()

G4INCL::NuclearPotential::NuclearPotentialIsospin::~NuclearPotentialIsospin ( )
virtual

Definition at line 64 of file G4INCLNuclearPotentialIsospin.cc.

64{}

Member Function Documentation

◆ computePotentialEnergy()

G4double G4INCL::NuclearPotential::NuclearPotentialIsospin::computePotentialEnergy ( const Particle *const  p) const
virtual

Implements G4INCL::NuclearPotential::INuclearPotential.

Reimplemented in G4INCL::NuclearPotential::NuclearPotentialEnergyIsospin, and G4INCL::NuclearPotential::NuclearPotentialEnergyIsospinSmooth.

Definition at line 196 of file G4INCLNuclearPotentialIsospin.cc.

196 {
197
198 switch( particle->getType() )
199 {
200 case Proton:
201 return vProton;
202 break;
203 case Neutron:
204 return vNeutron;
205 break;
206
207 case PiPlus:
208 case PiZero:
209 case PiMinus:
210 return computePionPotentialEnergy(particle);
211 break;
212
213 case SigmaPlus:
214 return vSigmaPlus;
215 break;
216 case SigmaZero:
217 return vSigmaZero;
218 break;
219 case Lambda:
220 return vLambda;
221 break;
222 case SigmaMinus:
223 return vSigmaMinus;
224 break;
225
226 case Eta:
227 case Omega:
228 case EtaPrime:
230 break;
231
232 case KPlus:
233 case KZero:
234 case KZeroBar:
235 case KMinus:
236 case KShort:
237 case KLong:
238 return computeKaonPotentialEnergy(particle);
239 break;
240
241 case Photon:
242 return 0.0;
243 break;
244
245 case DeltaPlusPlus:
246 return vDeltaPlusPlus;
247 break;
248 case DeltaPlus:
249 return vDeltaPlus;
250 break;
251 case DeltaZero:
252 return vDeltaZero;
253 break;
254 case DeltaMinus:
255 return vDeltaMinus;
256 break;
257 case Composite:
258 INCL_ERROR("No potential computed for particle of type Cluster.");
259 return 0.0;
260 break;
261 case UnknownParticle:
262 INCL_ERROR("Trying to compute potential energy for an unknown particle.");
263 return 0.0;
264 break;
265 }
266
267 INCL_ERROR("There is no potential for this type of particle.");
268 return 0.0;
269 }
#define INCL_ERROR(x)
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.

Referenced by G4INCL::NuclearPotential::NuclearPotentialEnergyIsospin::computePotentialEnergy(), and G4INCL::NuclearPotential::NuclearPotentialEnergyIsospinSmooth::computePotentialEnergy().


The documentation for this class was generated from the following files: