34#define INCLXX_IN_GEANT4_MODE 1
38#ifndef G4INCLConfig_hh
39#define G4INCLConfig_hh 1
137 std::stringstream ss;
144 return randomSeedVector;
220#ifdef INCL_DEEXCITATION_ABLAXX
221 void setABLAXXDataFilePath(std::string
const &path) { ablaxxDataFilePath=path; }
222 G4double getFissionDispCoeff()
const {
return fissdisscoeff; }
223 G4double getLevDensAv()
const {
return levdensav; }
224 G4double getLevDensAs()
const {
return levdensas; }
225 G4double getLevDensAk()
const {
return levdensak; }
226 G4double getTempFreezeOut()
const {
return tfreezeout; }
227 G4float getEmissionBarrierFactorH2()
const {
return barrierfactorh2; }
228 G4float getEmissionBarrierFactorH3()
const {
return barrierfactorh3; }
229 G4float getEmissionBarrierFactorHe3()
const {
return barrierfactorhe3; }
230 G4float getEmissionBarrierFactorHe4()
const {
return barrierfactorhe4; }
231 G4float getEmissionBarrierFactorHe6()
const {
return barrierfactorhe6; }
235 return INCLXXDataFilePath;
238#ifdef INCL_DEEXCITATION_ABLAXX
239 std::string
const &getABLAXXDataFilePath()
const {
240 return ablaxxDataFilePath;
244#ifdef INCL_DEEXCITATION_ABLA07
245 std::string
const &getABLA07DataFilePath()
const {
246 return abla07DataFilePath;
249#ifdef INCL_DEEXCITATION_GEMINIXX
250 std::string
const &getGEMINIXXDataFilePath()
const {
251 return geminixxDataFilePath;
275 std::string
const &getROOTSelectionString()
const {
276 return rootSelectionString;
280#ifdef INCL_DEEXCITATION_FERMI_BREAKUP
281 G4int getMaxMassFermiBreakUp()
const {
282 return maxMassFermiBreakUp;
285 G4int getMaxChargeFermiBreakUp()
const {
286 return maxChargeFermiBreakUp;
293 return ((t==
Proton) ? rpCorrelationCoefficientProton : rpCorrelationCoefficientNeutron);
300 rpCorrelationCoefficientProton=corrCoeff;
302 rpCorrelationCoefficientNeutron=corrCoeff;
372 G4bool getConciseROOTTree()
const {
return conciseROOTTree; }
412 std::string inputFileName;
414 std::string outputFileRoot;
415 std::string fileSuffix;
416 std::string logFileName;
420 std::string targetString;
424 std::string projectileString;
430 std::string randomSeeds;
433 std::string pauliString;
437 std::string coulombString;
440 std::string potentialString;
444 std::string localEnergyBBString;
447 std::string localEnergyPiString;
450 std::string deExcitationModelList;
451 std::string deExcitationOptionDescription;
452 std::string deExcitationString;
454#ifdef INCL_DEEXCITATION_ABLAXX
455 std::string ablaxxDataFilePath;
467#ifdef INCL_DEEXCITATION_ABLA07
468 std::string abla07DataFilePath;
470#ifdef INCL_DEEXCITATION_GEMINIXX
471 std::string geminixxDataFilePath;
473 std::string INCLXXDataFilePath;
475 std::string clusterAlgorithmString;
478 G4int clusterMaxMass;
486 std::string separationEnergyString;
489 std::string fermiMomentumString;
507 std::string rootSelectionString;
510#ifdef INCL_DEEXCITATION_FERMI_BREAKUP
511 G4int maxMassFermiBreakUp;
512 G4int maxChargeFermiBreakUp;
516 G4double rpCorrelationCoefficientProton;
517 G4double rpCorrelationCoefficientNeutron;
524 std::string randomNumberGenerator;
527 std::string phaseSpaceGenerator;
530 unsigned int autosaveFrequency;
532 std::string crossSectionsString;
534 G4int maxNumberMultipions;
536 std::string cascadeAction;
547 G4bool srcPairCorrelations;
553 friend class ::ConfigParser;
G4double S(G4double temp)
G4double getNeutronHalo() const
Get the neutron-halo size.
static std::string const getVersionString()
Get the INCL version string.
void setFermiMomentumType(FermiMomentumType const f)
Set the Fermi-momentum type.
G4double getdbAtrestThreshold() const
Get the dbar at rest annihilation threshold.
PauliType getPauliType() const
Get the Pauli-blocking algorithm.
void setClusterAlgorithm(ClusterAlgorithmType const c)
Set the clustering algorithm.
G4bool getPionPotential() const
Do we want the pion potential?
FermiMomentumType getFermiMomentumType() const
Get the Fermi-momentum type.
void setClusterMaxMass(const G4int clm)
Set the maximum mass for production of clusters.
PotentialType getPotentialType() const
Get the type of the potential for nucleons.
static std::string const getVersionID()
Get the INCL version ID.
void setDecayTimeThreshold(const G4double t)
Set decay time threshold time.
G4double getImpactParameter() const
void setLocalEnergyPiType(const LocalEnergyType t)
Set the type of local energy for N-N avatars.
void setBackToSpectator(const G4bool b)
Set back-to-spectator.
SeparationEnergyType getSeparationEnergyType() const
Get the separation-energy type.
CascadeActionType getCascadeActionType() const
Get the cascade-action type.
void setINCLXXDataFilePath(std::string const &path)
Set the INCLXX datafile path.
G4double getRPCorrelationCoefficient(const ParticleType t) const
Get the r-p correlation coefficient.
void setRNGType(RNGType const r)
Set the RNG type.
G4bool getRefraction() const
True if we should use refraction.
void setAtrestThreshold(const G4double t)
Set the pbar at rest annihilation threshold.
std::string const & getINCLXXDataFilePath() const
Set the ABLAXX datafile path.
G4int getClusterMaxMass() const
Get the maximum mass for production of clusters.
G4int getVerboseEvent() const
Get the number of the verbose event.
G4float getsrcPairDist() const
void setCoulombType(CoulombType const c)
Set the Coulomb-distortion algorithm.
G4int getTargetA() const
Get the target mass number.
G4double getDecayTimeThreshold() const
Get the decay time threshold time.
G4double getAtrestThreshold() const
Get the pbar at rest annihilation threshold.
std::string const & getCalculationTitle() const
Get the run title.
G4double getProjectileKineticEnergy() const
Get the projectile kinetic energy.
G4int getVerbosity() const
Get the verbosity.
void setTargetS(G4int S)
Set target strangess number.
void setRPCorrelationCoefficient(const ParticleType t, const G4double corrCoeff)
Set the r-p correlation coefficient.
G4int getMaxNumberMultipions() const
Get the maximum number of pions for multipion collisions.
std::string const & getLogFileName() const
Get the log file name.
unsigned int getAutosaveFrequency() const
Get the autosave frequency.
void setnbAtrestThreshold(const G4double t)
Set the nbar at rest annihilation threshold.
PhaseSpaceGeneratorType getPhaseSpaceGeneratorType() const
Get the phase-space-generator type.
void setCascadeActionType(CascadeActionType const c)
Set the cascade-action type.
DeExcitationType getDeExcitationType() const
Get the de-excitation model.
Random::SeedVector getRandomSeeds() const
Get the seeds for the random-number generator.
void setTargetA(G4int A)
Set target mass number.
G4double getHadronizationTime() const
Get the hadronization time.
ParticleSpecies getProjectileSpecies() const
Get the projectile species.
ClusterAlgorithmType getClusterAlgorithm() const
Get the clustering algorithm.
void setTargetZ(G4int Z)
Set target charge number.
void setPionPotential(const G4bool pionPot)
Set the type of the potential for nucleons.
~Config()
Default destructor.
void setNeutronHalo(const G4double d)
Set the neutron-halo size.
void setPhaseSpaceGeneratorType(PhaseSpaceGeneratorType const p)
Set the phase-space-generator type.
void setPotentialType(PotentialType type)
Set the type of the potential for nucleons.
LocalEnergyType getLocalEnergyPiType() const
Get the type of local energy for pi-N and decay avatars.
void setProjectileSpecies(ParticleSpecies const &pars)
Set the projectile species.
G4bool getInverseKinematics() const
void setCrossSectionsType(CrossSectionsType const c)
Set the Cross Section type.
G4bool isNaturalTarget() const
Natural targets.
void setAutosaveFrequency(const unsigned int f)
Set the autosave frequency.
G4int getTargetS() const
Get the target strangess number.
G4bool getBackToSpectator() const
Get back-to-spectator.
void setProjectileKineticEnergy(G4double const kinE)
Set the projectile kinetic energy.
void setMaxNumberMultipions(const G4int n)
Set the maximum number of pions for multipion collisions.
Config()
Default constructor.
G4bool getCDPP() const
Do we want CDPP?
G4double getNeutronSkin() const
Get the neutron-skin thickness.
CrossSectionsType getCrossSectionsType() const
Get the Cross Section type.
void setHadronizationTime(const G4double t)
Set the hadronization time.
G4double getCutNN() const
G4double getFermiMomentum() const
Get the Fermi momentum.
LocalEnergyType getLocalEnergyBBType() const
Get the type of local energy for N-N avatars.
G4double getBias() const
Get the bias.
void setNeutronSkin(const G4double d)
Set the neutron-skin thickness.
G4bool getsrcPairConfig() const
std::string summary()
Return a summary of the run configuration.
void init()
Initialise the members.
void setFermiMomentum(const G4double p)
Set the Fermi momentum.
G4int getTargetZ() const
Get the target charge number.
void setLocalEnergyBBType(const LocalEnergyType t)
Set the type of local energy for N-N avatars.
RNGType getRNGType() const
Get the RNG type.
G4double getnbAtrestThreshold() const
Get the nbar at rest annihilation threshold.
void setRefraction(const G4bool r)
Set the refraction variable.
void setUseRealMasses(G4bool use)
Set whether to use real masses.
ParticleType getProjectileType() const
Get the projectile type.
G4bool getUseRealMasses() const
Whether to use real masses.
CoulombType getCoulombType() const
Get the Coulomb-distortion algorithm.
G4int getNumberOfShots() const
Get the number of shots.
std::string getDeExcitationString() const
Get the de-excitation string.
std::string const & getOutputFileRoot() const
Get the output file root.
void setRPCorrelationCoefficient(const G4double corrCoeff)
Set the r-p correlation coefficient.
static std::string const getVersionHash()
Get the INCL version hash.
void setdbAtrestThreshold(const G4double t)
Set the dbar at rest annihilation threshold.