Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4INCLConfig.hh>
Public Member Functions | |
Config () | |
Default constructor. | |
Config (G4int, G4int, ParticleSpecies, G4double) | |
Config (G4int argc, char *argv[], G4bool isFullRun) | |
Constructor based on command-line and config-file options. | |
~Config () | |
Default destructor. | |
void | init () |
Initialise the members. | |
std::string | summary () |
Return a summary of the run configuration. | |
G4int | getVerbosity () const |
Get the verbosity. | |
std::string const & | getCalculationTitle () const |
Get the run title. | |
std::string const & | getOutputFileRoot () const |
Get the output file root. | |
G4int | getNumberOfShots () const |
Get the number of shots. | |
G4bool | isNaturalTarget () const |
Natural targets. | |
G4int | getTargetA () const |
Get the target mass number. | |
G4int | getTargetZ () const |
Get the target charge number. | |
void | setTargetA (G4int A) |
Set target mass number. | |
void | setTargetZ (G4int Z) |
Set target charge number. | |
ParticleType | getProjectileType () const |
Get the projectile type. | |
ParticleSpecies | getProjectileSpecies () const |
Get the projectile species. | |
void | setProjectileSpecies (ParticleSpecies const &ps) |
Set the projectile species. | |
G4float | getProjectileKineticEnergy () const |
Get the projectile kinetic energy. | |
void | setProjectileKineticEnergy (G4float const kinE) |
Set the projectile kinetic energy. | |
G4int | getVerboseEvent () const |
Get the number of the verbose event. | |
SeedVector const | getRandomSeeds () const |
Get the seeds for the random-number generator. | |
PauliType | getPauliType () const |
Get the Pauli-blocking algorithm. | |
G4bool | getCDPP () const |
Do we want CDPP? | |
G4bool | getPionPotential () const |
Do we want the pion potential? | |
CoulombType | getCoulombType () const |
Get the Coulomb-distortion algorithm. | |
PotentialType | getPotentialType () const |
Get the type of the potential for nucleons. | |
void | setPotentialType (PotentialType type) |
Set the type of the potential for nucleons. | |
void | setPionPotential (const G4bool pionPot) |
Set the type of the potential for nucleons. | |
LocalEnergyType | getLocalEnergyBBType () const |
Get the type of local energy for N-N avatars. | |
LocalEnergyType | getLocalEnergyPiType () const |
Get the type of local energy for pi-N and decay avatars. | |
void | setLocalEnergyBBType (const LocalEnergyType t) |
Set the type of local energy for N-N avatars. | |
void | setLocalEnergyPiType (const LocalEnergyType t) |
Set the type of local energy for N-N avatars. | |
std::string const & | getLogFileName () const |
Get the log file name. | |
DeExcitationType | getDeExcitationType () const |
Get the de-excitation model. | |
ClusterAlgorithmType | getClusterAlgorithm () const |
Get the clustering algorithm. | |
G4int | getClusterMaxMass () const |
Get the maximum mass for production of clusters. | |
void | setClusterMaxMass (const G4int m) |
Set the maximum mass for production of clusters. | |
G4bool | getBackToSpectator () const |
Get back-to-spectator. | |
G4bool | getUseRealMasses () const |
Whether to use real masses. | |
void | setUseRealMasses (G4bool use) |
Set whether to use real masses. | |
std::string const | echo () const |
Echo the input options. | |
std::string const & | getINCLXXDataFilePath () const |
G4double | getImpactParameter () const |
SeparationEnergyType | getSeparationEnergyType () const |
Get the separation-energy type. | |
Static Public Member Functions | |
static std::string const | getVersionID () |
Get the INCL version ID. | |
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 58 of file G4INCLConfig.hh.
G4INCL::Config::Config | ( | ) |
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 63 of file G4INCLConfig.cc.
Constructor based on command-line and config-file options.
argc | command-line parameters |
argv | command-line parameters |
isFullRun | is this a real calculation: true = yes; false = no, it's just a unit test |
Definition at line 633 of file G4INCLConfig.cc.
G4INCL::Config::~Config | ( | ) |
std::string const G4INCL::Config::echo | ( | ) | const |
Echo the input options.
Definition at line 694 of file G4INCLConfig.cc.
Referenced by G4INCL::INCL::configToString(), and G4INCL::INCL::INCL().
|
inline |
Get back-to-spectator.
Definition at line 195 of file G4INCLConfig.hh.
Referenced by G4INCL::InteractionAvatar::postInteraction().
|
inline |
|
inline |
Do we want CDPP?
Definition at line 150 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the clustering algorithm.
Definition at line 186 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the maximum mass for production of clusters.
Definition at line 189 of file G4INCLConfig.hh.
Referenced by G4INCL::ClusteringModelIntercomparison::getCluster().
|
inline |
Get the Coulomb-distortion algorithm.
Definition at line 156 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the de-excitation model.
Definition at line 183 of file G4INCLConfig.hh.
|
inline |
Definition at line 227 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Definition at line 206 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the type of local energy for N-N avatars.
Definition at line 168 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().
|
inline |
Get the type of local energy for pi-N and decay avatars.
Definition at line 171 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().
|
inline |
Get the log file name.
Definition at line 180 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
|
inline |
Get the output file root.
Definition at line 93 of file G4INCLConfig.hh.
|
inline |
Get the Pauli-blocking algorithm.
Definition at line 147 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Do we want the pion potential?
Definition at line 153 of file G4INCLConfig.hh.
Referenced by G4INCL::Nucleus::Nucleus().
|
inline |
Get the type of the potential for nucleons.
Definition at line 159 of file G4INCLConfig.hh.
Referenced by G4INCL::Nucleus::Nucleus().
|
inline |
Get the projectile kinetic energy.
Definition at line 127 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the projectile species.
Definition at line 121 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
|
inline |
Get the seeds for the random-number generator.
Definition at line 139 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the separation-energy type.
Definition at line 230 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the target mass number.
Note that A==0 means natural target. You should first check the isNaturalTarget() method.
Definition at line 106 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the target charge number.
Definition at line 109 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Whether to use real masses.
Definition at line 198 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the number of the verbose event.
Definition at line 133 of file G4INCLConfig.hh.
|
inline |
Get the verbosity.
Definition at line 87 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
static |
Get the INCL version ID.
Definition at line 55 of file G4INCLConfigVersion.cc.
Referenced by G4INCL::INCL::INCL(), and summary().
void G4INCL::Config::init | ( | ) |
Initialise the members.
Definition at line 642 of file G4INCLConfig.cc.
Referenced by Config().
|
inline |
Natural targets.
Definition at line 99 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::prepareReaction().
Set the maximum mass for production of clusters.
Definition at line 192 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::GetINCLModel().
|
inline |
Set the type of local energy for N-N avatars.
Definition at line 174 of file G4INCLConfig.hh.
|
inline |
Set the type of local energy for N-N avatars.
Definition at line 177 of file G4INCLConfig.hh.
Set the type of the potential for nucleons.
Definition at line 165 of file G4INCLConfig.hh.
|
inline |
Set the type of the potential for nucleons.
Definition at line 162 of file G4INCLConfig.hh.
Set the projectile kinetic energy.
Definition at line 130 of file G4INCLConfig.hh.
|
inline |
Set the projectile species.
Definition at line 124 of file G4INCLConfig.hh.
|
inline |
Set target mass number.
Definition at line 112 of file G4INCLConfig.hh.
|
inline |
Set target charge number.
Definition at line 115 of file G4INCLConfig.hh.
|
inline |
Set whether to use real masses.
Definition at line 201 of file G4INCLConfig.hh.
std::string G4INCL::Config::summary | ( | ) |
Return a summary of the run configuration.
Definition at line 678 of file G4INCLConfig.cc.