Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4INCLConfig.hh>
Public Member Functions | |
Config () | |
Default constructor. | |
~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. | |
G4int | getTargetS () const |
Get the target strangess number. | |
void | setTargetA (G4int A) |
Set target mass number. | |
void | setTargetZ (G4int Z) |
Set target charge number. | |
void | setTargetS (G4int S) |
Set target strangess number. | |
ParticleType | getProjectileType () const |
Get the projectile type. | |
ParticleSpecies | getProjectileSpecies () const |
Get the projectile species. | |
void | setProjectileSpecies (ParticleSpecies const &pars) |
Set the projectile species. | |
G4double | getProjectileKineticEnergy () const |
Get the projectile kinetic energy. | |
void | setProjectileKineticEnergy (G4double const kinE) |
Set the projectile kinetic energy. | |
G4int | getVerboseEvent () const |
Get the number of the verbose event. | |
Random::SeedVector | 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? | |
CoulombType | getCoulombType () const |
Get the Coulomb-distortion algorithm. | |
void | setCoulombType (CoulombType const c) |
Set 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. | |
G4bool | getPionPotential () const |
Do we want the pion potential? | |
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. | |
void | setLocalEnergyBBType (const LocalEnergyType t) |
Set 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 | 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. | |
std::string | getDeExcitationString () const |
Get the de-excitation string. | |
ClusterAlgorithmType | getClusterAlgorithm () const |
Get the clustering algorithm. | |
void | setClusterAlgorithm (ClusterAlgorithmType const c) |
Set the clustering algorithm. | |
G4int | getClusterMaxMass () const |
Get the maximum mass for production of clusters. | |
void | setClusterMaxMass (const G4int clm) |
Set the maximum mass for production of clusters. | |
G4bool | getBackToSpectator () const |
Get back-to-spectator. | |
void | setBackToSpectator (const G4bool b) |
Set back-to-spectator. | |
G4bool | getUseRealMasses () const |
Whether to use real masses. | |
void | setUseRealMasses (G4bool use) |
Set whether to use real masses. | |
void | setINCLXXDataFilePath (std::string const &path) |
Set the INCLXX datafile path. | |
std::string const & | getINCLXXDataFilePath () const |
Set the ABLAXX datafile path. | |
G4double | getImpactParameter () const |
SeparationEnergyType | getSeparationEnergyType () const |
Get the separation-energy type. | |
FermiMomentumType | getFermiMomentumType () const |
Get the Fermi-momentum type. | |
void | setFermiMomentumType (FermiMomentumType const f) |
Set the Fermi-momentum type. | |
G4double | getFermiMomentum () const |
Get the Fermi momentum. | |
void | setFermiMomentum (const G4double p) |
Set the Fermi momentum. | |
G4double | getCutNN () const |
G4double | getRPCorrelationCoefficient (const ParticleType t) const |
Get the r-p correlation coefficient. | |
void | setRPCorrelationCoefficient (const ParticleType t, const G4double corrCoeff) |
Set the r-p correlation coefficient. | |
void | setRPCorrelationCoefficient (const G4double corrCoeff) |
Set the r-p correlation coefficient. | |
G4double | getNeutronSkin () const |
Get the neutron-skin thickness. | |
void | setNeutronSkin (const G4double d) |
Set the neutron-skin thickness. | |
G4double | getNeutronHalo () const |
Get the neutron-halo size. | |
void | setNeutronHalo (const G4double d) |
Set the neutron-halo size. | |
G4bool | getRefraction () const |
True if we should use refraction. | |
void | setRefraction (const G4bool r) |
Set the refraction variable. | |
RNGType | getRNGType () const |
Get the RNG type. | |
void | setRNGType (RNGType const r) |
Set the RNG type. | |
PhaseSpaceGeneratorType | getPhaseSpaceGeneratorType () const |
Get the phase-space-generator type. | |
void | setPhaseSpaceGeneratorType (PhaseSpaceGeneratorType const p) |
Set the phase-space-generator type. | |
CascadeActionType | getCascadeActionType () const |
Get the cascade-action type. | |
void | setCascadeActionType (CascadeActionType const c) |
Set the cascade-action type. | |
unsigned int | getAutosaveFrequency () const |
Get the autosave frequency. | |
void | setAutosaveFrequency (const unsigned int f) |
Set the autosave frequency. | |
CrossSectionsType | getCrossSectionsType () const |
Get the Cross Section type. | |
G4int | getMaxNumberMultipions () const |
Get the maximum number of pions for multipion collisions. | |
void | setMaxNumberMultipions (const G4int n) |
Set the maximum number of pions for multipion collisions. | |
void | setCrossSectionsType (CrossSectionsType const c) |
Set the Cross Section type. | |
G4double | getHadronizationTime () const |
Get the hadronization time. | |
void | setHadronizationTime (const G4double t) |
Set the hadronization time. | |
G4bool | getInverseKinematics () const |
G4bool | getsrcPairConfig () const |
G4float | getsrcPairDist () const |
G4double | getDecayTimeThreshold () const |
Get the decay time threshold time. | |
void | setDecayTimeThreshold (const G4double t) |
Set decay time threshold time. | |
G4double | getBias () const |
Get the bias. | |
G4double | getAtrestThreshold () const |
Get the pbar at rest annihilation threshold. | |
void | setAtrestThreshold (const G4double t) |
Set the pbar at rest annihilation threshold. | |
Static Public Member Functions | |
static std::string const | getVersionID () |
Get the INCL version ID. | |
static std::string const | getVersionHash () |
Get the INCL version hash. | |
static std::string const | getVersionString () |
Get the INCL version string. | |
Friends | |
class | ::ConfigParser |
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 60 of file G4INCLConfig.hh.
G4INCL::Config::Config | ( | ) |
G4INCL::Config::~Config | ( | ) |
|
inline |
Get the pbar at rest annihilation threshold.
Definition at line 381 of file G4INCLConfig.hh.
|
inline |
Get the autosave frequency.
Definition at line 338 of file G4INCLConfig.hh.
|
inline |
Get back-to-spectator.
Definition at line 205 of file G4INCLConfig.hh.
Referenced by G4INCL::InteractionAvatar::postInteraction().
|
inline |
Get the bias.
Definition at line 378 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
|
inline |
Get the cascade-action type.
Definition at line 332 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Do we want CDPP?
Definition at line 151 of file G4INCLConfig.hh.
Referenced by G4INCL::Pauli::initialize().
|
inline |
Get the clustering algorithm.
Definition at line 193 of file G4INCLConfig.hh.
Referenced by G4INCL::Clustering::initialize().
|
inline |
Get the maximum mass for production of clusters.
Definition at line 199 of file G4INCLConfig.hh.
Referenced by G4INCL::ClusteringModelIntercomparison::getCluster(), and G4INCLXXInterfaceStore::SetMaxClusterMass().
|
inline |
Get the Coulomb-distortion algorithm.
Definition at line 154 of file G4INCLConfig.hh.
Referenced by G4INCL::CoulombDistortion::initialize().
|
inline |
Get the Cross Section type.
Definition at line 344 of file G4INCLConfig.hh.
Referenced by G4INCL::CrossSections::initialize().
|
inline |
Definition at line 262 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the decay time threshold time.
Definition at line 372 of file G4INCLConfig.hh.
|
inline |
Get the de-excitation string.
Definition at line 190 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Get the de-excitation model.
Definition at line 187 of file G4INCLConfig.hh.
|
inline |
Get the Fermi momentum.
Definition at line 257 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the Fermi-momentum type.
Definition at line 251 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the hadronization time.
Definition at line 356 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Definition at line 245 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL().
|
inline |
Set the ABLAXX datafile path.
Definition at line 224 of file G4INCLConfig.hh.
Referenced by G4INCL::NNbarToAnnihilationChannel::fillFinalState(), G4INCL::ParticleTable::initialize(), G4INCL::PbarAtrestEntryChannel::makeMesonStar(), and G4INCL::INCL::processEvent().
|
inline |
Definition at line 365 of file G4INCLConfig.hh.
|
inline |
Get the type of local energy for N-N avatars.
Definition at line 172 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 178 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().
|
inline |
|
inline |
Get the maximum number of pions for multipion collisions.
Definition at line 347 of file G4INCLConfig.hh.
Referenced by G4INCL::CrossSections::initialize().
|
inline |
Get the neutron-halo size.
Definition at line 308 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the neutron-skin thickness.
Definition at line 302 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
|
inline |
Get the output file root.
Definition at line 81 of file G4INCLConfig.hh.
|
inline |
Get the Pauli-blocking algorithm.
Definition at line 148 of file G4INCLConfig.hh.
Referenced by G4INCL::Pauli::initialize().
|
inline |
Get the phase-space-generator type.
Definition at line 326 of file G4INCLConfig.hh.
Referenced by G4INCL::PhaseSpaceGenerator::initialize().
|
inline |
Do we want the pion potential?
Definition at line 166 of file G4INCLConfig.hh.
Referenced by G4INCL::Nucleus::Nucleus().
|
inline |
Get the type of the potential for nucleons.
Definition at line 160 of file G4INCLConfig.hh.
Referenced by G4INCL::Nucleus::Nucleus().
|
inline |
Get the projectile kinetic energy.
Definition at line 121 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the projectile species.
Definition at line 115 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the projectile type.
Definition at line 112 of file G4INCLConfig.hh.
Referenced by G4INCL::InteractionAvatar::shouldUseLocalEnergy().
|
inline |
Get the seeds for the random-number generator.
Definition at line 143 of file G4INCLConfig.hh.
|
inline |
True if we should use refraction.
Definition at line 314 of file G4INCLConfig.hh.
Referenced by G4INCL::SurfaceAvatar::getChannel(), and G4INCL::SurfaceAvatar::getTransmissionProbability().
|
inline |
|
inline |
Get the r-p correlation coefficient.
Definition at line 281 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the separation-energy type.
Definition at line 248 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Definition at line 367 of file G4INCLConfig.hh.
|
inline |
Definition at line 369 of file G4INCLConfig.hh.
|
inline |
Get the target mass number.
Note that A==0 means natural target. You should first check the isNaturalTarget() method.
Definition at line 94 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the target strangess number.
Definition at line 100 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Get the target charge number.
Definition at line 97 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().
|
inline |
Whether to use real masses.
Definition at line 211 of file G4INCLConfig.hh.
Referenced by G4INCL::ParticleTable::initialize().
|
inline |
Get the number of the verbose event.
Definition at line 127 of file G4INCLConfig.hh.
|
inline |
|
static |
Get the INCL version hash.
Definition at line 56 of file G4INCLConfigVersion.cc.
Referenced by getVersionString().
|
static |
Get the INCL version ID.
Definition at line 54 of file G4INCLConfigVersion.cc.
Referenced by getVersionString().
|
inlinestatic |
Get the INCL version string.
Definition at line 136 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::INCL(), and summary().
void G4INCL::Config::init | ( | ) |
Initialise the members.
Definition at line 51 of file G4INCLConfig.cc.
Referenced by Config(), and G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Natural targets.
Definition at line 87 of file G4INCLConfig.hh.
Referenced by G4INCL::INCL::prepareReaction().
|
inline |
Set the pbar at rest annihilation threshold.
Definition at line 384 of file G4INCLConfig.hh.
|
inline |
Set the autosave frequency.
Definition at line 341 of file G4INCLConfig.hh.
|
inline |
Set back-to-spectator.
Definition at line 208 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the cascade-action type.
Definition at line 335 of file G4INCLConfig.hh.
|
inline |
Set the clustering algorithm.
Definition at line 196 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the maximum mass for production of clusters.
Definition at line 202 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetMaxClusterMass().
|
inline |
Set the Coulomb-distortion algorithm.
Definition at line 157 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the Cross Section type.
Definition at line 353 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set decay time threshold time.
Definition at line 375 of file G4INCLConfig.hh.
|
inline |
|
inline |
Set the Fermi-momentum type.
Definition at line 254 of file G4INCLConfig.hh.
|
inline |
Set the hadronization time.
Definition at line 359 of file G4INCLConfig.hh.
|
inline |
Set the INCLXX datafile path.
Definition at line 217 of file G4INCLConfig.hh.
|
inline |
Set the type of local energy for N-N avatars.
Definition at line 175 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the type of local energy for N-N avatars.
Definition at line 181 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the maximum number of pions for multipion collisions.
Definition at line 350 of file G4INCLConfig.hh.
|
inline |
|
inline |
Set the neutron-skin thickness.
Definition at line 305 of file G4INCLConfig.hh.
|
inline |
Set the phase-space-generator type.
Definition at line 329 of file G4INCLConfig.hh.
|
inline |
Set the type of the potential for nucleons.
Definition at line 169 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the type of the potential for nucleons.
Definition at line 163 of file G4INCLConfig.hh.
Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().
|
inline |
Set the projectile kinetic energy.
Definition at line 124 of file G4INCLConfig.hh.
|
inline |
Set the projectile species.
Definition at line 118 of file G4INCLConfig.hh.
|
inline |
|
inline |
|
inline |
Set the r-p correlation coefficient.
Definition at line 296 of file G4INCLConfig.hh.
|
inline |
Set the r-p correlation coefficient.
Definition at line 287 of file G4INCLConfig.hh.
Referenced by setRPCorrelationCoefficient().
|
inline |
|
inline |
|
inline |
Set target charge number.
Definition at line 106 of file G4INCLConfig.hh.
|
inline |
Set whether to use real masses.
Definition at line 214 of file G4INCLConfig.hh.
std::string G4INCL::Config::summary | ( | ) |
Return a summary of the run configuration.
Definition at line 122 of file G4INCLConfig.cc.
|
friend |
Definition at line 516 of file G4INCLConfig.hh.