34 #define INCLXX_IN_GEANT4_MODE 1
38 #ifndef G4INCLConfig_hh
39 #define G4INCLConfig_hh 1
137 std::stringstream
ss;
223 #ifdef INCL_DEEXCITATION_ABLAXX
224 std::string
const &getABLAv3pCxxDataFilePath()
const {
225 return ablav3pCxxDataFilePath;
229 #ifdef INCL_DEEXCITATION_ABLA07
230 std::string
const &getABLA07DataFilePath()
const {
231 return abla07DataFilePath;
234 #ifdef INCL_DEEXCITATION_GEMINIXX
235 std::string
const &getGEMINIXXDataFilePath()
const {
236 return geminixxDataFilePath;
260 std::string
const &getROOTSelectionString()
const {
261 return rootSelectionString;
265 #ifdef INCL_DEEXCITATION_FERMI_BREAKUP
266 G4int getMaxMassFermiBreakUp()
const {
267 return maxMassFermiBreakUp;
270 G4int getMaxChargeFermiBreakUp()
const {
271 return maxChargeFermiBreakUp;
357 G4bool getConciseROOTTree()
const {
return conciseROOTTree; }
416 #ifdef INCL_DEEXCITATION_ABLAXX
417 std::string ablav3pCxxDataFilePath;
419 #ifdef INCL_DEEXCITATION_ABLA07
420 std::string abla07DataFilePath;
422 #ifdef INCL_DEEXCITATION_GEMINIXX
423 std::string geminixxDataFilePath;
451 std::string rootSelectionString;
454 #ifdef INCL_DEEXCITATION_FERMI_BREAKUP
455 G4int maxMassFermiBreakUp;
456 G4int maxChargeFermiBreakUp;
493 friend class ::ConfigParser;
G4double decayTimeThreshold
G4double rpCorrelationCoefficientProton
void setProjectileSpecies(ParticleSpecies const &ps)
Set the projectile species.
void setCascadeActionType(CascadeActionType const c)
Set the cascade-action type.
PhaseSpaceGeneratorType getPhaseSpaceGeneratorType() const
Get the phase-space-generator type.
CoulombType getCoulombType() const
Get the Coulomb-distortion algorithm.
G4double getProjectileKineticEnergy() const
Get the projectile kinetic energy.
G4bool getUseRealMasses() const
Whether to use real masses.
std::string const & getLogFileName() const
Get the log file name.
CascadeActionType getCascadeActionType() const
Get the cascade-action type.
void setRPCorrelationCoefficient(const G4double corrCoeff)
Set the r-p correlation coefficient.
void init()
Initialise the members.
void setTargetS(G4int S)
Set target strangess number.
void setTargetZ(G4int Z)
Set target charge number.
static std::string const getVersionString()
Get the INCL version string.
LocalEnergyType getLocalEnergyBBType() const
Get the type of local energy for N-N avatars.
G4bool getInverseKinematics() const
void setLocalEnergyBBType(const LocalEnergyType t)
Set the type of local energy for N-N avatars.
void setPhaseSpaceGeneratorType(PhaseSpaceGeneratorType const p)
Set the phase-space-generator type.
std::string const & getINCLXXDataFilePath() const
void setNeutronSkin(const G4double d)
Set the neutron-skin thickness.
G4bool getPionPotential() const
Do we want the pion potential?
G4double getDecayTimeThreshold() const
Get the decay time threshold time.
void setRPCorrelationCoefficient(const ParticleType t, const G4double corrCoeff)
Set the r-p correlation coefficient.
PotentialType potentialType
PauliType getPauliType() const
Get the Pauli-blocking algorithm.
void setTargetA(G4int A)
Set target mass number.
FermiMomentumType fermiMomentumType
std::string inputFileName
G4bool getBackToSpectator() const
Get back-to-spectator.
G4int getTargetZ() const
Get the target charge number.
G4int getMaxNumberMultipions() const
Get the maximum number of pions for multipion collisions.
Random::SeedVector getRandomSeeds() const
Get the seeds for the random-number generator.
std::string separationEnergyString
G4double getImpactParameter() const
RNGType getRNGType() const
Get the RNG type.
std::string cascadeAction
std::string getDeExcitationString() const
Get the de-excitation string.
G4double getHadronizationTime() const
Get the hadronization time.
ClusterAlgorithmType getClusterAlgorithm() const
Get the clustering algorithm.
G4bool getCDPP() const
Do we want CDPP?
G4double hadronizationTime
G4int getVerboseEvent() const
Get the number of the verbose event.
void setFermiMomentum(const G4double p)
Set the Fermi momentum.
std::string potentialString
G4int getTargetA() const
Get the target mass number.
unsigned int getAutosaveFrequency() const
Get the autosave frequency.
void setCrossSectionsType(CrossSectionsType const c)
Set the Cross Section type.
static constexpr double m
std::string outputFileRoot
DeExcitationType getDeExcitationType() const
Get the de-excitation model.
void setINCLXXDataFilePath(std::string const &s)
Set the INCLXX datafile path.
G4double rpCorrelationCoefficient
static constexpr double ps
ParticleSpecies getProjectileSpecies() const
Get the projectile species.
std::string localEnergyPiString
std::string const & getCalculationTitle() const
Get the run title.
std::string const & getOutputFileRoot() const
Get the output file root.
void setClusterMaxMass(const G4int m)
Set the maximum mass for production of clusters.
static std::string const getVersionID()
Get the INCL version ID.
SeparationEnergyType separationEnergyType
G4double getRPCorrelationCoefficient(const ParticleType t) const
Get the r-p correlation coefficient.
PhaseSpaceGeneratorType phaseSpaceGeneratorType
std::string phaseSpaceGenerator
G4bool getRefraction() const
True if we should use refraction.
void setBackToSpectator(const G4bool b)
Set back-to-spectator.
std::string localEnergyBBString
LocalEnergyType localEnergyBBType
ParticleType getProjectileType() const
Get the projectile type.
double A(double temperature)
PotentialType getPotentialType() const
Get the type of the potential for nucleons.
static std::string const getVersionHash()
Get the INCL version hash.
std::string deExcitationOptionDescription
LocalEnergyType getLocalEnergyPiType() const
Get the type of local energy for pi-N and decay avatars.
unsigned int autosaveFrequency
G4double getNeutronSkin() const
Get the neutron-skin thickness.
CrossSectionsType getCrossSectionsType() const
Get the Cross Section type.
std::string clusterAlgorithmString
CrossSectionsType crossSectionsType
G4bool isNaturalTarget() const
Natural targets.
void setClusterAlgorithm(ClusterAlgorithmType const c)
Set the clustering algorithm.
G4double getCutNN() const
G4int getNumberOfShots() const
Get the number of shots.
void setNeutronHalo(const G4double d)
Set the neutron-halo size.
~Config()
Default destructor.
G4int getClusterMaxMass() const
Get the maximum mass for production of clusters.
std::string summary()
Return a summary of the run configuration.
void setMaxNumberMultipions(const G4int n)
Set the maximum number of pions for multipion collisions.
void setLocalEnergyPiType(const LocalEnergyType t)
Set the type of local energy for N-N avatars.
std::string fermiMomentumString
ParticleSpecies projectileSpecies
void setUseRealMasses(G4bool use)
Set whether to use real masses.
Config()
Default constructor.
void setHadronizationTime(const G4double t)
Set the hadronization time.
G4int getTargetS() const
Get the target strangess number.
std::string coulombString
void setProjectileKineticEnergy(G4double const kinE)
Set the projectile kinetic energy.
SeparationEnergyType getSeparationEnergyType() const
Get the separation-energy type.
CascadeActionType cascadeActionType
G4double getNeutronHalo() const
Get the neutron-halo size.
LocalEnergyType localEnergyPiType
std::string deExcitationModelList
G4int getVerbosity() const
Get the verbosity.
G4double getFermiMomentum() const
Get the Fermi momentum.
void setCoulombType(CoulombType const c)
Set the Coulomb-distortion algorithm.
void setRefraction(const G4bool r)
Set the refraction variable.
std::string projectileString
std::string INCLXXDataFilePath
void setAutosaveFrequency(const unsigned int f)
Set the autosave frequency.
void setDecayTimeThreshold(const G4double t)
Set decay time threshold time.
std::string randomNumberGenerator
FermiMomentumType getFermiMomentumType() const
Get the Fermi-momentum type.
void setPionPotential(const G4bool pionPot)
Set the type of the potential for nucleons.
void setPotentialType(PotentialType type)
Set the type of the potential for nucleons.
G4double projectileKineticEnergy
void setFermiMomentumType(FermiMomentumType const f)
Set the Fermi-momentum type.
ParticleSpecies targetSpecies
std::string crossSectionsString
G4double getBias() const
Get the bias.
Random::SeedVector randomSeedVector
G4int maxNumberMultipions
ClusterAlgorithmType clusterAlgorithmType
void setRNGType(RNGType const r)
Set the RNG type.
DeExcitationType deExcitationType
std::string deExcitationString
G4double rpCorrelationCoefficientNeutron