Geant4 11.2.2
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?
 
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 }
const G4double A[17]
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 205 of file G4INCLNuclearPotentialIsospin.cc.

205 {
206
207 switch( particle->getType() )
208 {
209 case Proton:
210 return vProton;
211 break;
212 case Neutron:
213 return vNeutron;
214 break;
215
216 case PiPlus:
217 case PiZero:
218 case PiMinus:
219 return computePionPotentialEnergy(particle);
220 break;
221
222 case SigmaPlus:
223 return vSigmaPlus;
224 break;
225 case SigmaZero:
226 return vSigmaZero;
227 break;
228 case Lambda:
229 return vLambda;
230 break;
231 case SigmaMinus:
232 return vSigmaMinus;
233 break;
234
235 case Eta:
236 case Omega:
237 case EtaPrime:
239 break;
240
241 case KPlus:
242 case KZero:
243 case KZeroBar:
244 case KMinus:
245 case KShort:
246 case KLong:
247 return computeKaonPotentialEnergy(particle);
248 break;
249
250 case Photon:
251 return 0.0;
252 break;
253
254 case antiProton:
255 return vantiProton;
256 break;
257 case antiNeutron:
258 return vantiProton;
259 break;
260 case antiLambda:
261 return 0.0;
262 break;
263 case antiSigmaMinus:
264 return 0.0;
265 break;
266 case antiSigmaPlus:
267 return 0.0;
268 break;
269 case antiSigmaZero:
270 return 0.0;
271 break;
272 case antiXiMinus:
273 return 0.0;
274 break;
275 case antiXiZero:
276 return 0.0;
277 break;
278 case XiMinus:
279 return 0.0;
280 break;
281 case XiZero:
282 return 0.0;
283 break;
284
285 case DeltaPlusPlus:
286 return vDeltaPlusPlus;
287 break;
288 case DeltaPlus:
289 return vDeltaPlus;
290 break;
291 case DeltaZero:
292 return vDeltaZero;
293 break;
294 case DeltaMinus:
295 return vDeltaMinus;
296 break;
297 case Composite:
298 INCL_ERROR("No potential computed for particle of type Cluster.");
299 return 0.0;
300 break;
301 case UnknownParticle:
302 INCL_ERROR("Trying to compute potential energy for an unknown particle.");
303 return 0.0;
304 break;
305 }
306
307 INCL_ERROR("There is no potential for this type of particle.");
308 return 0.0;
309 }
#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: