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; }
225 return INCLXXDataFilePath;
228#ifdef INCL_DEEXCITATION_ABLAXX
229 std::string
const &getABLAXXDataFilePath()
const {
230 return ablaxxDataFilePath;
234#ifdef INCL_DEEXCITATION_ABLA07
235 std::string
const &getABLA07DataFilePath()
const {
236 return abla07DataFilePath;
239#ifdef INCL_DEEXCITATION_GEMINIXX
240 std::string
const &getGEMINIXXDataFilePath()
const {
241 return geminixxDataFilePath;
265 std::string
const &getROOTSelectionString()
const {
266 return rootSelectionString;
270#ifdef INCL_DEEXCITATION_FERMI_BREAKUP
271 G4int getMaxMassFermiBreakUp()
const {
272 return maxMassFermiBreakUp;
275 G4int getMaxChargeFermiBreakUp()
const {
276 return maxChargeFermiBreakUp;
283 return ((t==
Proton) ? rpCorrelationCoefficientProton : rpCorrelationCoefficientNeutron);
290 rpCorrelationCoefficientProton=corrCoeff;
292 rpCorrelationCoefficientNeutron=corrCoeff;
362 G4bool getConciseROOTTree()
const {
return conciseROOTTree; }
389 std::string inputFileName;
391 std::string outputFileRoot;
392 std::string fileSuffix;
393 std::string logFileName;
397 std::string targetString;
401 std::string projectileString;
407 std::string randomSeeds;
410 std::string pauliString;
414 std::string coulombString;
417 std::string potentialString;
421 std::string localEnergyBBString;
424 std::string localEnergyPiString;
427 std::string deExcitationModelList;
428 std::string deExcitationOptionDescription;
429 std::string deExcitationString;
431#ifdef INCL_DEEXCITATION_ABLAXX
432 std::string ablaxxDataFilePath;
434#ifdef INCL_DEEXCITATION_ABLA07
435 std::string abla07DataFilePath;
437#ifdef INCL_DEEXCITATION_GEMINIXX
438 std::string geminixxDataFilePath;
440 std::string INCLXXDataFilePath;
442 std::string clusterAlgorithmString;
445 G4int clusterMaxMass;
453 std::string separationEnergyString;
456 std::string fermiMomentumString;
470 std::string rootSelectionString;
473#ifdef INCL_DEEXCITATION_FERMI_BREAKUP
474 G4int maxMassFermiBreakUp;
475 G4int maxChargeFermiBreakUp;
479 G4double rpCorrelationCoefficientProton;
480 G4double rpCorrelationCoefficientNeutron;
487 std::string randomNumberGenerator;
490 std::string phaseSpaceGenerator;
493 unsigned int autosaveFrequency;
495 std::string crossSectionsString;
497 G4int maxNumberMultipions;
499 std::string cascadeAction;
510 G4bool srcPairCorrelations;
516 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.
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.
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.
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.