Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
G4INCL::Config Class Reference

#include <G4INCLConfig.hh>

Public Member Functions

 Config ()
 Default constructor. More...
 
 Config (G4int, G4int, ParticleSpecies, G4double)
 
 Config (G4int argc, char *argv[], G4bool isFullRun)
 Constructor based on command-line and config-file options. More...
 
 ~Config ()
 Default destructor. More...
 
void init ()
 Initialise the members. More...
 
std::string summary ()
 Return a summary of the run configuration. More...
 
G4int getVerbosity () const
 Get the verbosity. More...
 
std::string constgetCalculationTitle () const
 Get the run title. More...
 
std::string constgetOutputFileRoot () const
 Get the output file root. More...
 
G4int getNumberOfShots () const
 Get the number of shots. More...
 
G4bool isNaturalTarget () const
 Natural targets. More...
 
G4int getTargetA () const
 Get the target mass number. More...
 
G4int getTargetZ () const
 Get the target charge number. More...
 
void setTargetA (G4int A)
 Set target mass number. More...
 
void setTargetZ (G4int Z)
 Set target charge number. More...
 
ParticleType getProjectileType () const
 Get the projectile type. More...
 
ParticleSpecies getProjectileSpecies () const
 Get the projectile species. More...
 
void setProjectileSpecies (ParticleSpecies const &ps)
 Set the projectile species. More...
 
G4float getProjectileKineticEnergy () const
 Get the projectile kinetic energy. More...
 
void setProjectileKineticEnergy (G4float const kinE)
 Set the projectile kinetic energy. More...
 
G4int getVerboseEvent () const
 Get the number of the verbose event. More...
 
SeedVector const getRandomSeeds () const
 Get the seeds for the random-number generator. More...
 
PauliType getPauliType () const
 Get the Pauli-blocking algorithm. More...
 
G4bool getCDPP () const
 Do we want CDPP? More...
 
G4bool getPionPotential () const
 Do we want the pion potential? More...
 
CoulombType getCoulombType () const
 Get the Coulomb-distortion algorithm. More...
 
PotentialType getPotentialType () const
 Get the type of the potential for nucleons. More...
 
void setPotentialType (PotentialType type)
 Set the type of the potential for nucleons. More...
 
void setPionPotential (const G4bool pionPot)
 Set the type of the potential for nucleons. More...
 
LocalEnergyType getLocalEnergyBBType () const
 Get the type of local energy for N-N avatars. More...
 
LocalEnergyType getLocalEnergyPiType () const
 Get the type of local energy for pi-N and decay avatars. More...
 
void setLocalEnergyBBType (const LocalEnergyType t)
 Set the type of local energy for N-N avatars. More...
 
void setLocalEnergyPiType (const LocalEnergyType t)
 Set the type of local energy for N-N avatars. More...
 
std::string constgetLogFileName () const
 Get the log file name. More...
 
DeExcitationType getDeExcitationType () const
 Get the de-excitation model. More...
 
ClusterAlgorithmType getClusterAlgorithm () const
 Get the clustering algorithm. More...
 
G4int getClusterMaxMass () const
 Get the maximum mass for production of clusters. More...
 
void setClusterMaxMass (const G4int m)
 Set the maximum mass for production of clusters. More...
 
G4bool getBackToSpectator () const
 Get back-to-spectator. More...
 
G4bool getUseRealMasses () const
 Whether to use real masses. More...
 
void setUseRealMasses (G4bool use)
 Set whether to use real masses. More...
 
std::string const echo () const
 Echo the input options. More...
 
std::string constgetINCLXXDataFilePath () const
 
G4double getImpactParameter () const
 
SeparationEnergyType getSeparationEnergyType () const
 Get the separation-energy type. More...
 

Static Public Member Functions

static std::string const getVersionID ()
 Get the INCL version ID. More...
 

Detailed Description

The INCL configuration object

The Config object keeps track of various INCL physics options (e.g. which Pauli blocking scheme to use, whether to use local energy option or not, etc.

Definition at line 56 of file G4INCLConfig.hh.

Constructor & Destructor Documentation

G4INCL::Config::Config ( )

Default constructor.

Definition at line 56 of file G4INCLConfig.cc.

Here is the call graph for this function:

G4INCL::Config::Config ( G4int  ,
G4int  ,
G4INCL::ParticleSpecies  proj,
G4double  projectileE 
)

Constructor for INCL++ with specified target A, Z, projectile type and energy. All other options are the default ones.

Definition at line 61 of file G4INCLConfig.cc.

Here is the call graph for this function:

G4INCL::Config::Config ( G4int  argc,
char *  argv[],
G4bool  isFullRun 
)

Constructor based on command-line and config-file options.

Parameters
argccommand-line parameters
argvcommand-line parameters
isFullRunis this a real calculation: true = yes; false = no, it's just a unit test

Definition at line 631 of file G4INCLConfig.cc.

Here is the call graph for this function:

G4INCL::Config::~Config ( )

Default destructor.

Definition at line 637 of file G4INCLConfig.cc.

Member Function Documentation

std::string const G4INCL::Config::echo ( ) const

Echo the input options.

Definition at line 692 of file G4INCLConfig.cc.

Here is the caller graph for this function:

G4bool G4INCL::Config::getBackToSpectator ( ) const
inline

Get back-to-spectator.

Definition at line 193 of file G4INCLConfig.hh.

Here is the caller graph for this function:

std::string const& G4INCL::Config::getCalculationTitle ( ) const
inline

Get the run title.

Definition at line 88 of file G4INCLConfig.hh.

G4bool G4INCL::Config::getCDPP ( ) const
inline

Do we want CDPP?

Definition at line 148 of file G4INCLConfig.hh.

Here is the caller graph for this function:

ClusterAlgorithmType G4INCL::Config::getClusterAlgorithm ( ) const
inline

Get the clustering algorithm.

Definition at line 184 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4int G4INCL::Config::getClusterMaxMass ( ) const
inline

Get the maximum mass for production of clusters.

Definition at line 187 of file G4INCLConfig.hh.

Here is the caller graph for this function:

CoulombType G4INCL::Config::getCoulombType ( ) const
inline

Get the Coulomb-distortion algorithm.

Definition at line 154 of file G4INCLConfig.hh.

Here is the caller graph for this function:

DeExcitationType G4INCL::Config::getDeExcitationType ( ) const
inline

Get the de-excitation model.

Definition at line 181 of file G4INCLConfig.hh.

G4double G4INCL::Config::getImpactParameter ( ) const
inline

Definition at line 225 of file G4INCLConfig.hh.

Here is the caller graph for this function:

std::string const& G4INCL::Config::getINCLXXDataFilePath ( ) const
inline

Definition at line 204 of file G4INCLConfig.hh.

Here is the caller graph for this function:

LocalEnergyType G4INCL::Config::getLocalEnergyBBType ( ) const
inline

Get the type of local energy for N-N avatars.

Definition at line 166 of file G4INCLConfig.hh.

Here is the caller graph for this function:

LocalEnergyType G4INCL::Config::getLocalEnergyPiType ( ) const
inline

Get the type of local energy for pi-N and decay avatars.

Definition at line 169 of file G4INCLConfig.hh.

Here is the caller graph for this function:

std::string const& G4INCL::Config::getLogFileName ( ) const
inline

Get the log file name.

Definition at line 178 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4int G4INCL::Config::getNumberOfShots ( ) const
inline

Get the number of shots.

Definition at line 94 of file G4INCLConfig.hh.

std::string const& G4INCL::Config::getOutputFileRoot ( ) const
inline

Get the output file root.

Definition at line 91 of file G4INCLConfig.hh.

PauliType G4INCL::Config::getPauliType ( ) const
inline

Get the Pauli-blocking algorithm.

Definition at line 145 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4bool G4INCL::Config::getPionPotential ( ) const
inline

Do we want the pion potential?

Definition at line 151 of file G4INCLConfig.hh.

Here is the caller graph for this function:

PotentialType G4INCL::Config::getPotentialType ( ) const
inline

Get the type of the potential for nucleons.

Definition at line 157 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4float G4INCL::Config::getProjectileKineticEnergy ( ) const
inline

Get the projectile kinetic energy.

Definition at line 125 of file G4INCLConfig.hh.

Here is the caller graph for this function:

ParticleSpecies G4INCL::Config::getProjectileSpecies ( ) const
inline

Get the projectile species.

Definition at line 119 of file G4INCLConfig.hh.

Here is the caller graph for this function:

ParticleType G4INCL::Config::getProjectileType ( ) const
inline

Get the projectile type.

Definition at line 116 of file G4INCLConfig.hh.

SeedVector const G4INCL::Config::getRandomSeeds ( ) const
inline

Get the seeds for the random-number generator.

Definition at line 137 of file G4INCLConfig.hh.

Here is the caller graph for this function:

SeparationEnergyType G4INCL::Config::getSeparationEnergyType ( ) const
inline

Get the separation-energy type.

Definition at line 228 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4int G4INCL::Config::getTargetA ( ) const
inline

Get the target mass number.

Note that A==0 means natural target. You should first check the isNaturalTarget() method.

Definition at line 104 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4int G4INCL::Config::getTargetZ ( ) const
inline

Get the target charge number.

Definition at line 107 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4bool G4INCL::Config::getUseRealMasses ( ) const
inline

Whether to use real masses.

Definition at line 196 of file G4INCLConfig.hh.

Here is the caller graph for this function:

G4int G4INCL::Config::getVerboseEvent ( ) const
inline

Get the number of the verbose event.

Definition at line 131 of file G4INCLConfig.hh.

G4int G4INCL::Config::getVerbosity ( ) const
inline

Get the verbosity.

Definition at line 85 of file G4INCLConfig.hh.

Here is the caller graph for this function:

std::string const G4INCL::Config::getVersionID ( )
static

Get the INCL version ID.

Definition at line 53 of file G4INCLConfigVersion.cc.

Here is the caller graph for this function:

void G4INCL::Config::init ( )

Initialise the members.

Definition at line 640 of file G4INCLConfig.cc.

Here is the caller graph for this function:

G4bool G4INCL::Config::isNaturalTarget ( ) const
inline

Natural targets.

Definition at line 97 of file G4INCLConfig.hh.

Here is the caller graph for this function:

void G4INCL::Config::setClusterMaxMass ( const G4int  m)
inline

Set the maximum mass for production of clusters.

Definition at line 190 of file G4INCLConfig.hh.

Here is the caller graph for this function:

void G4INCL::Config::setLocalEnergyBBType ( const LocalEnergyType  t)
inline

Set the type of local energy for N-N avatars.

Definition at line 172 of file G4INCLConfig.hh.

void G4INCL::Config::setLocalEnergyPiType ( const LocalEnergyType  t)
inline

Set the type of local energy for N-N avatars.

Definition at line 175 of file G4INCLConfig.hh.

void G4INCL::Config::setPionPotential ( const G4bool  pionPot)
inline

Set the type of the potential for nucleons.

Definition at line 163 of file G4INCLConfig.hh.

void G4INCL::Config::setPotentialType ( PotentialType  type)
inline

Set the type of the potential for nucleons.

Definition at line 160 of file G4INCLConfig.hh.

void G4INCL::Config::setProjectileKineticEnergy ( G4float const  kinE)
inline

Set the projectile kinetic energy.

Definition at line 128 of file G4INCLConfig.hh.

void G4INCL::Config::setProjectileSpecies ( ParticleSpecies const ps)
inline

Set the projectile species.

Definition at line 122 of file G4INCLConfig.hh.

void G4INCL::Config::setTargetA ( G4int  A)
inline

Set target mass number.

Definition at line 110 of file G4INCLConfig.hh.

void G4INCL::Config::setTargetZ ( G4int  Z)
inline

Set target charge number.

Definition at line 113 of file G4INCLConfig.hh.

void G4INCL::Config::setUseRealMasses ( G4bool  use)
inline

Set whether to use real masses.

Definition at line 199 of file G4INCLConfig.hh.

std::string G4INCL::Config::summary ( )

Return a summary of the run configuration.

Definition at line 676 of file G4INCLConfig.cc.

Here is the call graph for this function:


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