ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCL::NuclearPotential Namespace Reference

Classes

class  INuclearPotential
 
class  NuclearPotentialConstant
 
class  NuclearPotentialEnergyIsospin
 
class  NuclearPotentialEnergyIsospinSmooth
 
class  NuclearPotentialIsospin
 

Functions

INuclearPotential const * createPotential (const PotentialType type, const G4int theA, const G4int theZ, const G4bool pionPotential)
 Create an INuclearPotential object.
 
void clearCache ()
 Clear the INuclearPotential cache.
 

Function Documentation

void G4INCL::NuclearPotential::clearCache ( )

Clear the INuclearPotential cache.

Definition at line 102 of file G4INCLINuclearPotential.cc.

View newest version in sPHENIX GitHub at line 102 of file G4INCLINuclearPotential.cc

References e.

Referenced by G4INCL::INCL::~INCL().

+ Here is the caller graph for this function:

INuclearPotential const * G4INCL::NuclearPotential::createPotential ( const PotentialType  type,
const G4int  theA,
const G4int  theZ,
const G4bool  pionPotential 
)

Create an INuclearPotential object.

This is the method that should be used to instantiate objects derived from INuclearPotential. It uses a caching mechanism to minimise thrashing and speed up the code.

Parameters
typethe type of the potential to be created
theAmass number of the nucleus
theZcharge number of the nucleus
pionPotentialwhether pions should also feel the potential
Returns
a pointer to the nuclear potential

Definition at line 70 of file G4INCLINuclearPotential.cc.

View newest version in sPHENIX GitHub at line 70 of file G4INCLINuclearPotential.cc

References G4INCL::ConstantPotential, INCL_FATAL, G4INCL::IsospinEnergyPotential, G4INCL::IsospinEnergySmoothPotential, and G4INCL::IsospinPotential.

Referenced by G4INCL::Nucleus::Nucleus().

+ Here is the caller graph for this function: