Geant4
10.00.p02
|
The INCL configuration object. More...
#include <G4INCLConfig.hh>
Public Member Functions | |
Config () | |
Default constructor. More... | |
Config (G4int, G4int, ParticleSpecies, G4double) | |
Constructor for INCL++ with specified target A, Z, projectile type and energy. More... | |
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 const & | getCalculationTitle () const |
Get the run title. More... | |
std::string const & | getOutputFileRoot () 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... | |
G4double | getProjectileKineticEnergy () const |
Get the projectile kinetic energy. More... | |
void | setProjectileKineticEnergy (G4double const kinE) |
Set the projectile kinetic energy. More... | |
G4int | getVerboseEvent () const |
Get the number of the verbose event. More... | |
Random::SeedVector | 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 const & | getLogFileName () const |
Get the log file name. More... | |
DeExcitationType | getDeExcitationType () const |
Get the de-excitation model. More... | |
std::string | getDeExcitationString () const |
Get the de-excitation string. 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 & | getINCLXXDataFilePath () const |
G4double | getImpactParameter () const |
SeparationEnergyType | getSeparationEnergyType () const |
Get the separation-energy type. More... | |
FermiMomentumType | getFermiMomentumType () const |
Get the Fermi-momentum type. More... | |
void | setFermiMomentumType (FermiMomentumType const f) |
Set the Fermi-momentum type. More... | |
G4double | getCutNN () const |
G4double | getRPCorrelationCoefficient (const ParticleType t) const |
Get the r-p correlation coefficient. More... | |
void | setRPCorrelationCoefficient (const ParticleType t, const G4double corrCoeff) |
Set the r-p correlation coefficient. More... | |
void | setRPCorrelationCoefficient (const G4double corrCoeff) |
Set the r-p correlation coefficient. More... | |
G4double | getNeutronSkinThickness () const |
Get the neutron-skin thickness. More... | |
void | setNeutronSkinThickness (const G4double d) |
Set the neutron-skin thickness. More... | |
G4double | getNeutronSkinAdditionalDiffuseness () const |
Get the neutron-skin additional diffuseness. More... | |
void | setNeutronSkinAdditionalDiffuseness (const G4double d) |
Set the neutron-skin additional diffuseness. More... | |
G4bool | getRefraction () const |
True if we should use refraction. More... | |
void | setRefraction (const G4bool r) |
Set the refraction variable. More... | |
Static Public Member Functions | |
static std::string const | getVersionID () |
Get the INCL version ID. More... | |
static std::string const | getVersionHash () |
Get the INCL version hash. More... | |
static std::string const | getVersionString () |
Get the INCL version string. More... | |
Static Private Attributes | |
static const G4int | randomSeedMin = 1 |
static const G4int | randomSeedMax = ((1<<30)-1)+(1<<30) |
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 67 of file G4INCLConfig.hh.
G4INCL::Config::Config | ( | ) |
Default constructor.
Definition at line 48 of file G4INCLConfig.cc.
References init().
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 53 of file G4INCLConfig.cc.
References init(), projectileKineticEnergy, and projectileSpecies.
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 755 of file G4INCLConfig.cc.
References init().
G4INCL::Config::~Config | ( | ) |
Default destructor.
Definition at line 761 of file G4INCLConfig.cc.
|
inline |
Get back-to-spectator.
Definition at line 217 of file G4INCLConfig.hh.
References backToSpectator.
Referenced by G4INCL::InteractionAvatar::postInteraction().
|
inline |
|
inline |
Do we want CDPP?
Definition at line 169 of file G4INCLConfig.hh.
References CDPP.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the clustering algorithm.
Definition at line 208 of file G4INCLConfig.hh.
References clusterAlgorithmType.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the maximum mass for production of clusters.
Definition at line 211 of file G4INCLConfig.hh.
References clusterMaxMass.
Referenced by G4INCL::ClusteringModelIntercomparison::getCluster(), and G4INCLXXInterfaceStore::SetMaxClusterMass().
|
inline |
Get the Coulomb-distortion algorithm.
Definition at line 175 of file G4INCLConfig.hh.
References coulombType.
Referenced by G4INCL::INCL::INCL().
|
inline |
Definition at line 257 of file G4INCLConfig.hh.
References cutNN.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the de-excitation string.
Definition at line 205 of file G4INCLConfig.hh.
References deExcitationString.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the de-excitation model.
Definition at line 202 of file G4INCLConfig.hh.
References deExcitationType.
|
inline |
Get the Fermi-momentum type.
Definition at line 252 of file G4INCLConfig.hh.
References fermiMomentumType.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Definition at line 246 of file G4INCLConfig.hh.
References impactParameter.
Referenced by G4INCL::INCL::INCL().
|
inline |
Definition at line 225 of file G4INCLConfig.hh.
References INCLXXDataFilePath.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the type of local energy for N-N avatars.
Definition at line 187 of file G4INCLConfig.hh.
References localEnergyBBType.
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 190 of file G4INCLConfig.hh.
References localEnergyPiType.
Referenced by G4INCL::INCL::INCL(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().
|
inline |
Get the log file name.
Definition at line 199 of file G4INCLConfig.hh.
References logFileName.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the neutron-skin additional diffuseness.
Definition at line 299 of file G4INCLConfig.hh.
References neutronSkinAdditionalDiffuseness.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the neutron-skin thickness.
Definition at line 293 of file G4INCLConfig.hh.
References neutronSkinThickness.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
|
inline |
Get the output file root.
Definition at line 102 of file G4INCLConfig.hh.
References outputFileRoot.
|
inline |
Get the Pauli-blocking algorithm.
Definition at line 166 of file G4INCLConfig.hh.
References pauliType.
Referenced by G4INCL::INCL::INCL().
|
inline |
Do we want the pion potential?
Definition at line 172 of file G4INCLConfig.hh.
References pionPotential.
Referenced by G4INCL::Nucleus::Nucleus().
|
inline |
Get the type of the potential for nucleons.
Definition at line 178 of file G4INCLConfig.hh.
References potentialType.
Referenced by G4INCL::Nucleus::Nucleus().
|
inline |
Get the projectile kinetic energy.
Definition at line 136 of file G4INCLConfig.hh.
References projectileKineticEnergy.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the projectile species.
Definition at line 130 of file G4INCLConfig.hh.
References projectileSpecies.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the projectile type.
Definition at line 127 of file G4INCLConfig.hh.
References projectileSpecies, and G4INCL::ParticleSpecies::theType.
|
inline |
Get the seeds for the random-number generator.
Definition at line 158 of file G4INCLConfig.hh.
References G4INCL::Random::SeedVector::push_back(), randomSeed1, randomSeed2, and s.
Referenced by G4INCL::INCL::INCL().
|
inline |
True if we should use refraction.
Definition at line 305 of file G4INCLConfig.hh.
References refraction.
Referenced by G4INCL::SurfaceAvatar::getChannel(), G4INCL::SurfaceAvatar::getTransmissionProbability(), and G4INCL::ParticleEntryChannel::particleEnters().
|
inline |
Get the r-p correlation coefficient.
Definition at line 272 of file G4INCLConfig.hh.
References G4INCL::Proton, rpCorrelationCoefficientNeutron, and rpCorrelationCoefficientProton.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the separation-energy type.
Definition at line 249 of file G4INCLConfig.hh.
References separationEnergyType.
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 115 of file G4INCLConfig.hh.
References targetSpecies, and G4INCL::ParticleSpecies::theA.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the target charge number.
Definition at line 118 of file G4INCLConfig.hh.
References targetSpecies, and G4INCL::ParticleSpecies::theZ.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Whether to use real masses.
Definition at line 220 of file G4INCLConfig.hh.
References useRealMasses.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the number of the verbose event.
Definition at line 142 of file G4INCLConfig.hh.
References verboseEvent.
|
inline |
Get the verbosity.
Definition at line 96 of file G4INCLConfig.hh.
References verbosity.
Referenced by G4INCL::INCL::INCL().
|
static |
Get the INCL version hash.
Definition at line 55 of file G4INCLConfigVersion.cc.
References G4INCL_GIT_HASH.
Referenced by getVersionString().
|
static |
Get the INCL version ID.
Definition at line 53 of file G4INCLConfigVersion.cc.
References G4INCL_VERSION_ID.
Referenced by getVersionString().
|
inlinestatic |
Get the INCL version string.
Definition at line 151 of file G4INCLConfig.hh.
References getVersionHash(), and getVersionID().
Referenced by G4INCL::INCL::INCL(), and summary().
void G4INCL::Config::init | ( | ) |
Initialise the members.
Definition at line 764 of file G4INCLConfig.cc.
References backToSpectator, clusterAlgorithmString, clusterAlgorithmType, clusterMaxMass, G4INCL::ConstantFermiMomentum, coulombString, coulombType, cutNN, G4INCL::DeExcitationNone, deExcitationString, deExcitationType, fermiMomentumString, fermiMomentumType, G4INCL::FirstCollisionLocalEnergy, impactParameter, G4INCL::INCLSeparationEnergy, inputFileName, G4INCL::IntercomparisonClusterAlgorithm, G4INCL::IsospinEnergyPotential, localEnergyBBString, localEnergyBBType, localEnergyPiString, localEnergyPiType, naturalTarget, neutronSkinAdditionalDiffuseness, neutronSkinThickness, G4INCL::NonRelativisticCoulomb, nShots, pauliString, pauliType, pionPotential, potentialString, potentialType, projectileSpecies, projectileString, G4INCL::Proton, randomSeed1, randomSeed2, refraction, rpCorrelationCoefficient, rpCorrelationCoefficientNeutron, rpCorrelationCoefficientProton, separationEnergyString, separationEnergyType, G4INCL::StrictStatisticalPauli, title, useRealMasses, verboseEvent, and verbosity.
Referenced by Config().
|
inline |
Natural targets.
Definition at line 108 of file G4INCLConfig.hh.
References naturalTarget.
Referenced by G4INCL::INCL::prepareReaction().
|
inline |
Set the maximum mass for production of clusters.
Definition at line 214 of file G4INCLConfig.hh.
References clusterMaxMass, and m.
Referenced by G4INCLXXInterfaceStore::SetMaxClusterMass().
|
inline |
Set the Fermi-momentum type.
Definition at line 255 of file G4INCLConfig.hh.
References fermiMomentumType.
|
inline |
Set the type of local energy for N-N avatars.
Definition at line 193 of file G4INCLConfig.hh.
References localEnergyBBType.
|
inline |
Set the type of local energy for N-N avatars.
Definition at line 196 of file G4INCLConfig.hh.
References localEnergyPiType.
|
inline |
Set the neutron-skin additional diffuseness.
Definition at line 302 of file G4INCLConfig.hh.
References neutronSkinAdditionalDiffuseness.
|
inline |
Set the neutron-skin thickness.
Definition at line 296 of file G4INCLConfig.hh.
References neutronSkinThickness.
|
inline |
Set the type of the potential for nucleons.
Definition at line 184 of file G4INCLConfig.hh.
References pionPotential.
|
inline |
Set the type of the potential for nucleons.
Definition at line 181 of file G4INCLConfig.hh.
References potentialType.
|
inline |
Set the projectile kinetic energy.
Definition at line 139 of file G4INCLConfig.hh.
References projectileKineticEnergy.
|
inline |
Set the projectile species.
Definition at line 133 of file G4INCLConfig.hh.
References projectileSpecies.
|
inline |
|
inline |
Set the r-p correlation coefficient.
Definition at line 278 of file G4INCLConfig.hh.
References G4INCL::Proton, rpCorrelationCoefficientNeutron, and rpCorrelationCoefficientProton.
Referenced by setRPCorrelationCoefficient().
|
inline |
Set the r-p correlation coefficient.
Definition at line 287 of file G4INCLConfig.hh.
References G4INCL::Neutron, G4INCL::Proton, and setRPCorrelationCoefficient().
|
inline |
Set target mass number.
Definition at line 121 of file G4INCLConfig.hh.
References A, targetSpecies, and G4INCL::ParticleSpecies::theA.
|
inline |
Set target charge number.
Definition at line 124 of file G4INCLConfig.hh.
References targetSpecies, and G4INCL::ParticleSpecies::theZ.
|
inline |
Set whether to use real masses.
Definition at line 223 of file G4INCLConfig.hh.
References useRealMasses.
std::string G4INCL::Config::summary | ( | ) |
Return a summary of the run configuration.
Definition at line 812 of file G4INCLConfig.cc.
References G4INCL::Composite, G4INCL::ParticleTable::getName(), getVersionString(), nShots, projectileSpecies, targetSpecies, G4INCL::ParticleSpecies::theA, G4INCL::ParticleSpecies::theType, and G4INCL::ParticleSpecies::theZ.
|
private |
Definition at line 386 of file G4INCLConfig.hh.
Referenced by getBackToSpectator(), and init().
|
private |
Definition at line 351 of file G4INCLConfig.hh.
Referenced by getCDPP().
|
private |
Definition at line 381 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 382 of file G4INCLConfig.hh.
Referenced by getClusterAlgorithm(), and init().
|
private |
Definition at line 384 of file G4INCLConfig.hh.
Referenced by getClusterMaxMass(), init(), and setClusterMaxMass().
|
private |
Definition at line 353 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 354 of file G4INCLConfig.hh.
Referenced by getCoulombType(), and init().
|
private |
Definition at line 398 of file G4INCLConfig.hh.
Referenced by getCutNN(), and init().
|
private |
Definition at line 366 of file G4INCLConfig.hh.
|
private |
Definition at line 367 of file G4INCLConfig.hh.
|
private |
Definition at line 368 of file G4INCLConfig.hh.
Referenced by getDeExcitationString(), and init().
|
private |
Definition at line 369 of file G4INCLConfig.hh.
Referenced by getDeExcitationType(), and init().
|
private |
Definition at line 395 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 396 of file G4INCLConfig.hh.
Referenced by getFermiMomentumType(), init(), and setFermiMomentumType().
|
private |
Definition at line 331 of file G4INCLConfig.hh.
|
private |
Definition at line 390 of file G4INCLConfig.hh.
Referenced by getImpactParameter(), and init().
|
private |
Definition at line 379 of file G4INCLConfig.hh.
Referenced by getINCLXXDataFilePath().
|
private |
Definition at line 328 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 360 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 361 of file G4INCLConfig.hh.
Referenced by getLocalEnergyBBType(), init(), and setLocalEnergyBBType().
|
private |
Definition at line 363 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 364 of file G4INCLConfig.hh.
Referenced by getLocalEnergyPiType(), init(), and setLocalEnergyPiType().
|
private |
Definition at line 332 of file G4INCLConfig.hh.
Referenced by getLogFileName().
|
private |
Definition at line 338 of file G4INCLConfig.hh.
Referenced by init(), and isNaturalTarget().
|
private |
Definition at line 413 of file G4INCLConfig.hh.
Referenced by getNeutronSkinAdditionalDiffuseness(), init(), and setNeutronSkinAdditionalDiffuseness().
|
private |
Definition at line 412 of file G4INCLConfig.hh.
Referenced by getNeutronSkinThickness(), init(), and setNeutronSkinThickness().
|
private |
Definition at line 334 of file G4INCLConfig.hh.
Referenced by getNumberOfShots(), init(), and summary().
|
private |
Definition at line 330 of file G4INCLConfig.hh.
Referenced by getOutputFileRoot().
|
private |
Definition at line 349 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 350 of file G4INCLConfig.hh.
Referenced by getPauliType(), and init().
|
private |
Definition at line 358 of file G4INCLConfig.hh.
Referenced by getPionPotential(), init(), and setPionPotential().
|
private |
Definition at line 356 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 357 of file G4INCLConfig.hh.
Referenced by getPotentialType(), init(), and setPotentialType().
|
private |
Definition at line 342 of file G4INCLConfig.hh.
Referenced by Config(), getProjectileKineticEnergy(), and setProjectileKineticEnergy().
|
private |
Definition at line 341 of file G4INCLConfig.hh.
Referenced by Config(), getProjectileSpecies(), getProjectileType(), init(), setProjectileSpecies(), and summary().
|
private |
Definition at line 340 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 346 of file G4INCLConfig.hh.
Referenced by getRandomSeeds(), and init().
|
private |
Definition at line 346 of file G4INCLConfig.hh.
Referenced by getRandomSeeds(), and init().
|
staticprivate |
Definition at line 347 of file G4INCLConfig.hh.
|
staticprivate |
Definition at line 347 of file G4INCLConfig.hh.
|
private |
Definition at line 415 of file G4INCLConfig.hh.
Referenced by getRefraction(), init(), and setRefraction().
|
private |
Definition at line 408 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 410 of file G4INCLConfig.hh.
Referenced by getRPCorrelationCoefficient(), init(), and setRPCorrelationCoefficient().
|
private |
Definition at line 409 of file G4INCLConfig.hh.
Referenced by getRPCorrelationCoefficient(), init(), and setRPCorrelationCoefficient().
|
private |
Definition at line 392 of file G4INCLConfig.hh.
Referenced by init().
|
private |
Definition at line 393 of file G4INCLConfig.hh.
Referenced by getSeparationEnergyType(), and init().
|
private |
Definition at line 337 of file G4INCLConfig.hh.
Referenced by getTargetA(), getTargetZ(), setTargetA(), setTargetZ(), and summary().
|
private |
Definition at line 336 of file G4INCLConfig.hh.
|
private |
Definition at line 329 of file G4INCLConfig.hh.
Referenced by getCalculationTitle(), and init().
|
private |
Definition at line 388 of file G4INCLConfig.hh.
Referenced by getUseRealMasses(), init(), and setUseRealMasses().
|
private |
Definition at line 344 of file G4INCLConfig.hh.
Referenced by getVerboseEvent(), and init().
|
private |
Definition at line 327 of file G4INCLConfig.hh.
Referenced by getVerbosity(), and init().