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

#include <G4INCLNuclearPotentialEnergyIsospin.hh>

+ Inheritance diagram for G4INCL::NuclearPotential::NuclearPotentialEnergyIsospin:

Public Member Functions

 NuclearPotentialEnergyIsospin (const G4int A, const G4int Z, const G4bool pionPotential)
 
virtual ~NuclearPotentialEnergyIsospin ()
 
virtual G4double computePotentialEnergy (const Particle *const p) const
 
- Public Member Functions inherited from G4INCL::NuclearPotential::NuclearPotentialIsospin
 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 G4INCLNuclearPotentialEnergyIsospin.hh.

Constructor & Destructor Documentation

◆ NuclearPotentialEnergyIsospin()

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

Definition at line 58 of file G4INCLNuclearPotentialEnergyIsospin.cc.

59 : NuclearPotentialIsospin(A,Z,aPionPotential)
60 {}
NuclearPotentialIsospin(const G4int A, const G4int Z, const G4bool pionPotential)

◆ ~NuclearPotentialEnergyIsospin()

G4INCL::NuclearPotential::NuclearPotentialEnergyIsospin::~NuclearPotentialEnergyIsospin ( )
virtual

Definition at line 63 of file G4INCLNuclearPotentialEnergyIsospin.cc.

63{}

Member Function Documentation

◆ computePotentialEnergy()

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

Reimplemented from G4INCL::NuclearPotential::NuclearPotentialIsospin.

Definition at line 65 of file G4INCLNuclearPotentialEnergyIsospin.cc.

65 {
66
68
69 if(particle->isNucleon()) {
70 const G4double t = particle->getKineticEnergy();
71 const G4double tf = getFermiEnergy(particle);
72 // Constant potential for T<Tf
73 if(t < tf)
74 return v0;
75
76 // Linear function for T>Tf
77 const G4double v = v0 - alpha*(t-tf)/(1-alpha);
78 return (v>0.0) ? v : 0.0; // return 0.0 if v is negative
79 } else
80 return v0;
81 }
double G4double
Definition: G4Types.hh:83
G4double getFermiEnergy(const Particle *const p) const
Return the Fermi energy for a particle.
virtual G4double computePotentialEnergy(const Particle *const p) const

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