Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4INCL::NuclearPotential::NuclearPotentialIsospin Class Reference

#include <G4INCLNuclearPotentialIsospin.hh>

Inheritance diagram for G4INCL::NuclearPotential::NuclearPotentialIsospin:
Collaboration 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? More...
 
G4double getFermiEnergy (const Particle *const p) const
 Return the Fermi energy for a particle. More...
 
G4double getFermiEnergy (const ParticleType t) const
 Return the Fermi energy for a particle type. More...
 
G4double getSeparationEnergy (const Particle *const p) const
 Return the separation energy for a particle. More...
 
G4double getSeparationEnergy (const ParticleType t) const
 Return the separation energy for a particle type. More...
 
G4double getFermiMomentum (const Particle *const p) const
 Return the Fermi momentum for a particle. More...
 
G4double getFermiMomentum (const ParticleType t) const
 Return the Fermi momentum for a particle type. More...
 

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. More...
 
G4double computePionResonancePotentialEnergy (const Particle *const p) const
 Compute the potential energy for the given pion resonances (Eta, Omega and EtaPrime and Gamma also). More...
 
- Protected Attributes inherited from G4INCL::NuclearPotential::INuclearPotential
const G4int theA
 The mass number of the nucleus. More...
 
const G4int theZ
 The charge number of the nucleus. More...
 
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

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  }
double A(double temperature)
INuclearPotential(const G4int A, const G4int Z, const G4bool pionPot)
G4INCL::NuclearPotential::NuclearPotentialIsospin::~NuclearPotentialIsospin ( )
virtual

Definition at line 64 of file G4INCLNuclearPotentialIsospin.cc.

64 {}

Member Function Documentation

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

Implements G4INCL::NuclearPotential::INuclearPotential.

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

Definition at line 148 of file G4INCLNuclearPotentialIsospin.cc.

148  {
149 
150  switch( particle->getType() )
151  {
152  case Proton:
153  return vProton;
154  break;
155  case Neutron:
156  return vNeutron;
157  break;
158 
159  case PiPlus:
160  case PiZero:
161  case PiMinus:
162  return computePionPotentialEnergy(particle);
163  break;
164 
165  case Eta:
166  case Omega:
167  case EtaPrime:
168  return computePionResonancePotentialEnergy(particle);
169  break;
170 
171  case Photon:
172  return 0.0;
173  break;
174 
175  case DeltaPlusPlus:
176  return vDeltaPlusPlus;
177  break;
178  case DeltaPlus:
179  return vDeltaPlus;
180  break;
181  case DeltaZero:
182  return vDeltaZero;
183  break;
184  case DeltaMinus:
185  return vDeltaMinus;
186  break;
187  case Composite:
188  INCL_ERROR("No potential computed for particle of type Cluster.");
189  return 0.0;
190  break;
191  case UnknownParticle:
192  INCL_ERROR("Trying to compute potential energy for an unknown particle.");
193  return 0.0;
194  break;
195  }
196 
197  INCL_ERROR("There is no potential for this type of particle.");
198  return 0.0;
199  }
#define INCL_ERROR(x)
G4double computePionResonancePotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion resonances (Eta, Omega and EtaPrime and Gamma also)...
G4double computePionPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion.

Here is the call graph for this function:

Here is the caller graph for this function:


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