Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::Config Class Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Config()

G4INCL::Config::Config ( )

Default constructor.

Definition at line 45 of file G4INCLConfig.cc.

45 {
46 init();
47 }
void init()
Initialise the members.

◆ ~Config()

G4INCL::Config::~Config ( )

Default destructor.

Definition at line 49 of file G4INCLConfig.cc.

49{}

Member Function Documentation

◆ getAtrestThreshold()

G4double G4INCL::Config::getAtrestThreshold ( ) const
inline

Get the pbar at rest annihilation threshold.

Definition at line 381 of file G4INCLConfig.hh.

381{ return atrestThreshold; }

◆ getAutosaveFrequency()

unsigned int G4INCL::Config::getAutosaveFrequency ( ) const
inline

Get the autosave frequency.

Definition at line 338 of file G4INCLConfig.hh.

338{ return autosaveFrequency; }

◆ getBackToSpectator()

G4bool G4INCL::Config::getBackToSpectator ( ) const
inline

Get back-to-spectator.

Definition at line 205 of file G4INCLConfig.hh.

205{ return backToSpectator; }

Referenced by G4INCL::InteractionAvatar::postInteraction().

◆ getBias()

G4double G4INCL::Config::getBias ( ) const
inline

Get the bias.

Definition at line 378 of file G4INCLConfig.hh.

378{ return bias; }

Referenced by G4INCL::INCL::INCL().

◆ getCalculationTitle()

std::string const & G4INCL::Config::getCalculationTitle ( ) const
inline

Get the run title.

Definition at line 78 of file G4INCLConfig.hh.

78{ return title; }

◆ getCascadeActionType()

CascadeActionType G4INCL::Config::getCascadeActionType ( ) const
inline

Get the cascade-action type.

Definition at line 332 of file G4INCLConfig.hh.

332{ return cascadeActionType; }

Referenced by G4INCL::INCL::INCL().

◆ getCDPP()

G4bool G4INCL::Config::getCDPP ( ) const
inline

Do we want CDPP?

Definition at line 151 of file G4INCLConfig.hh.

151{ return CDPP; }

Referenced by G4INCL::Pauli::initialize().

◆ getClusterAlgorithm()

ClusterAlgorithmType G4INCL::Config::getClusterAlgorithm ( ) const
inline

Get the clustering algorithm.

Definition at line 193 of file G4INCLConfig.hh.

193{ return clusterAlgorithmType; }

Referenced by G4INCL::Clustering::initialize().

◆ getClusterMaxMass()

G4int G4INCL::Config::getClusterMaxMass ( ) const
inline

Get the maximum mass for production of clusters.

Definition at line 199 of file G4INCLConfig.hh.

199{ return clusterMaxMass; }

Referenced by G4INCL::ClusteringModelIntercomparison::getCluster(), and G4INCLXXInterfaceStore::SetMaxClusterMass().

◆ getCoulombType()

CoulombType G4INCL::Config::getCoulombType ( ) const
inline

Get the Coulomb-distortion algorithm.

Definition at line 154 of file G4INCLConfig.hh.

154{ return coulombType; }

Referenced by G4INCL::CoulombDistortion::initialize().

◆ getCrossSectionsType()

CrossSectionsType G4INCL::Config::getCrossSectionsType ( ) const
inline

Get the Cross Section type.

Definition at line 344 of file G4INCLConfig.hh.

344{ return crossSectionsType; }

Referenced by G4INCL::CrossSections::initialize().

◆ getCutNN()

G4double G4INCL::Config::getCutNN ( ) const
inline

Definition at line 262 of file G4INCLConfig.hh.

262{ return cutNN; }

Referenced by G4INCL::INCL::INCL().

◆ getDecayTimeThreshold()

G4double G4INCL::Config::getDecayTimeThreshold ( ) const
inline

Get the decay time threshold time.

Definition at line 372 of file G4INCLConfig.hh.

372{ return decayTimeThreshold; }

◆ getDeExcitationString()

std::string G4INCL::Config::getDeExcitationString ( ) const
inline

Get the de-excitation string.

Definition at line 190 of file G4INCLConfig.hh.

190{ return deExcitationString; }

Referenced by G4INCL::INCL::INCL().

◆ getDeExcitationType()

DeExcitationType G4INCL::Config::getDeExcitationType ( ) const
inline

Get the de-excitation model.

Definition at line 187 of file G4INCLConfig.hh.

187{ return deExcitationType; }

◆ getFermiMomentum()

G4double G4INCL::Config::getFermiMomentum ( ) const
inline

Get the Fermi momentum.

Definition at line 257 of file G4INCLConfig.hh.

257{ return fermiMomentum; }

Referenced by G4INCL::ParticleTable::initialize().

◆ getFermiMomentumType()

FermiMomentumType G4INCL::Config::getFermiMomentumType ( ) const
inline

Get the Fermi-momentum type.

Definition at line 251 of file G4INCLConfig.hh.

251{ return fermiMomentumType; }

Referenced by G4INCL::ParticleTable::initialize().

◆ getHadronizationTime()

G4double G4INCL::Config::getHadronizationTime ( ) const
inline

Get the hadronization time.

Definition at line 356 of file G4INCLConfig.hh.

356{ return hadronizationTime; }

Referenced by G4INCL::INCL::INCL().

◆ getImpactParameter()

G4double G4INCL::Config::getImpactParameter ( ) const
inline

Definition at line 245 of file G4INCLConfig.hh.

245{ return impactParameter; }

Referenced by G4INCL::INCL::INCL().

◆ getINCLXXDataFilePath()

std::string const & G4INCL::Config::getINCLXXDataFilePath ( ) const
inline

Set the ABLAXX datafile path.

Definition at line 224 of file G4INCLConfig.hh.

224 {
225 return INCLXXDataFilePath;
226 }

Referenced by G4INCL::NNbarToAnnihilationChannel::fillFinalState(), G4INCL::ParticleTable::initialize(), G4INCL::PbarAtrestEntryChannel::makeMesonStar(), and G4INCL::INCL::processEvent().

◆ getInverseKinematics()

G4bool G4INCL::Config::getInverseKinematics ( ) const
inline

Definition at line 365 of file G4INCLConfig.hh.

365{ return inverseKinematics; }

◆ getLocalEnergyBBType()

LocalEnergyType G4INCL::Config::getLocalEnergyBBType ( ) const
inline

Get the type of local energy for N-N avatars.

Definition at line 172 of file G4INCLConfig.hh.

172{ return localEnergyBBType; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().

◆ getLocalEnergyPiType()

LocalEnergyType G4INCL::Config::getLocalEnergyPiType ( ) const
inline

Get the type of local energy for pi-N and decay avatars.

Definition at line 178 of file G4INCLConfig.hh.

178{ return localEnergyPiType; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().

◆ getLogFileName()

std::string const & G4INCL::Config::getLogFileName ( ) const
inline

Get the log file name.

Definition at line 184 of file G4INCLConfig.hh.

184{ return logFileName; }

◆ getMaxNumberMultipions()

G4int G4INCL::Config::getMaxNumberMultipions ( ) const
inline

Get the maximum number of pions for multipion collisions.

Definition at line 347 of file G4INCLConfig.hh.

347{ return maxNumberMultipions; }

Referenced by G4INCL::CrossSections::initialize().

◆ getNeutronHalo()

G4double G4INCL::Config::getNeutronHalo ( ) const
inline

Get the neutron-halo size.

Definition at line 308 of file G4INCLConfig.hh.

308{ return neutronHalo; }

Referenced by G4INCL::ParticleTable::initialize().

◆ getNeutronSkin()

G4double G4INCL::Config::getNeutronSkin ( ) const
inline

Get the neutron-skin thickness.

Definition at line 302 of file G4INCLConfig.hh.

302{ return neutronSkin; }

Referenced by G4INCL::ParticleTable::initialize().

◆ getNumberOfShots()

G4int G4INCL::Config::getNumberOfShots ( ) const
inline

Get the number of shots.

Definition at line 84 of file G4INCLConfig.hh.

84{ return nShots; }

◆ getOutputFileRoot()

std::string const & G4INCL::Config::getOutputFileRoot ( ) const
inline

Get the output file root.

Definition at line 81 of file G4INCLConfig.hh.

81{ return outputFileRoot; }

◆ getPauliType()

PauliType G4INCL::Config::getPauliType ( ) const
inline

Get the Pauli-blocking algorithm.

Definition at line 148 of file G4INCLConfig.hh.

148{ return pauliType; }

Referenced by G4INCL::Pauli::initialize().

◆ getPhaseSpaceGeneratorType()

PhaseSpaceGeneratorType G4INCL::Config::getPhaseSpaceGeneratorType ( ) const
inline

Get the phase-space-generator type.

Definition at line 326 of file G4INCLConfig.hh.

326{ return phaseSpaceGeneratorType; }

Referenced by G4INCL::PhaseSpaceGenerator::initialize().

◆ getPionPotential()

G4bool G4INCL::Config::getPionPotential ( ) const
inline

Do we want the pion potential?

Definition at line 166 of file G4INCLConfig.hh.

166{ return pionPotential; }

Referenced by G4INCL::Nucleus::Nucleus().

◆ getPotentialType()

PotentialType G4INCL::Config::getPotentialType ( ) const
inline

Get the type of the potential for nucleons.

Definition at line 160 of file G4INCLConfig.hh.

160{ return potentialType; }

Referenced by G4INCL::Nucleus::Nucleus().

◆ getProjectileKineticEnergy()

G4double G4INCL::Config::getProjectileKineticEnergy ( ) const
inline

Get the projectile kinetic energy.

Definition at line 121 of file G4INCLConfig.hh.

121{ return projectileKineticEnergy; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().

◆ getProjectileSpecies()

ParticleSpecies G4INCL::Config::getProjectileSpecies ( ) const
inline

Get the projectile species.

Definition at line 115 of file G4INCLConfig.hh.

115{ return projectileSpecies; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().

◆ getProjectileType()

ParticleType G4INCL::Config::getProjectileType ( ) const
inline

Get the projectile type.

Definition at line 112 of file G4INCLConfig.hh.

112{ return projectileSpecies.theType; }

Referenced by G4INCL::InteractionAvatar::shouldUseLocalEnergy().

◆ getRandomSeeds()

Random::SeedVector G4INCL::Config::getRandomSeeds ( ) const
inline

Get the seeds for the random-number generator.

Definition at line 143 of file G4INCLConfig.hh.

143 {
144 return randomSeedVector;
145 }

◆ getRefraction()

G4bool G4INCL::Config::getRefraction ( ) const
inline

True if we should use refraction.

Definition at line 314 of file G4INCLConfig.hh.

314{ return refraction; }

Referenced by G4INCL::SurfaceAvatar::getChannel(), and G4INCL::SurfaceAvatar::getTransmissionProbability().

◆ getRNGType()

RNGType G4INCL::Config::getRNGType ( ) const
inline

Get the RNG type.

Definition at line 320 of file G4INCLConfig.hh.

320{ return rngType; }

◆ getRPCorrelationCoefficient()

G4double G4INCL::Config::getRPCorrelationCoefficient ( const ParticleType t) const
inline

Get the r-p correlation coefficient.

Definition at line 281 of file G4INCLConfig.hh.

281 {
282// assert(t==Proton || t==Neutron);
283 return ((t==Proton) ? rpCorrelationCoefficientProton : rpCorrelationCoefficientNeutron);
284 }

Referenced by G4INCL::ParticleTable::initialize().

◆ getSeparationEnergyType()

SeparationEnergyType G4INCL::Config::getSeparationEnergyType ( ) const
inline

Get the separation-energy type.

Definition at line 248 of file G4INCLConfig.hh.

248{ return separationEnergyType; }

Referenced by G4INCL::ParticleTable::initialize().

◆ getsrcPairConfig()

G4bool G4INCL::Config::getsrcPairConfig ( ) const
inline

Definition at line 367 of file G4INCLConfig.hh.

367{ return srcPairCorrelations; }

◆ getsrcPairDist()

G4float G4INCL::Config::getsrcPairDist ( ) const
inline

Definition at line 369 of file G4INCLConfig.hh.

369{ return srcPairDistance; }

◆ getTargetA()

G4int G4INCL::Config::getTargetA ( ) const
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.

94{ return targetSpecies.theA; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().

◆ getTargetS()

G4int G4INCL::Config::getTargetS ( ) const
inline

Get the target strangess number.

Definition at line 100 of file G4INCLConfig.hh.

100{ return targetSpecies.theS; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().

◆ getTargetZ()

G4int G4INCL::Config::getTargetZ ( ) const
inline

Get the target charge number.

Definition at line 97 of file G4INCLConfig.hh.

97{ return targetSpecies.theZ; }

Referenced by G4INCL::INCL::INCL(), and G4INCL::INCL::processEvent().

◆ getUseRealMasses()

G4bool G4INCL::Config::getUseRealMasses ( ) const
inline

Whether to use real masses.

Definition at line 211 of file G4INCLConfig.hh.

211{ return useRealMasses; }

Referenced by G4INCL::ParticleTable::initialize().

◆ getVerboseEvent()

G4int G4INCL::Config::getVerboseEvent ( ) const
inline

Get the number of the verbose event.

Definition at line 127 of file G4INCLConfig.hh.

127{ return verboseEvent; }

◆ getVerbosity()

G4int G4INCL::Config::getVerbosity ( ) const
inline

Get the verbosity.

Definition at line 75 of file G4INCLConfig.hh.

75{ return verbosity; }

◆ getVersionHash()

std::string const G4INCL::Config::getVersionHash ( )
static

Get the INCL version hash.

Definition at line 56 of file G4INCLConfigVersion.cc.

56{ return G4INCL_GIT_HASH; }
#define G4INCL_GIT_HASH

Referenced by getVersionString().

◆ getVersionID()

std::string const G4INCL::Config::getVersionID ( )
static

Get the INCL version ID.

Definition at line 54 of file G4INCLConfigVersion.cc.

54{ return G4INCL_VERSION_ID; }
#define G4INCL_VERSION_ID

Referenced by getVersionString().

◆ getVersionString()

static std::string const G4INCL::Config::getVersionString ( )
inlinestatic

Get the INCL version string.

Definition at line 136 of file G4INCLConfig.hh.

136 {
137 std::stringstream ss;
138 ss << getVersionID() << "-" << getVersionHash();
139 return ss.str();
140 }
static std::string const getVersionID()
Get the INCL version ID.
static std::string const getVersionHash()
Get the INCL version hash.

Referenced by G4INCL::INCL::INCL(), and summary().

◆ init()

void G4INCL::Config::init ( )

Initialise the members.

Definition at line 51 of file G4INCLConfig.cc.

51 {
52 verbosity = 1;
53 logFileName = "-";
54 inputFileName = "";
55 title = "INCL default run title";
56 nShots = 1000;
57 naturalTarget = false;
58 projectileString = "proton";
59 projectileSpecies = G4INCL::Proton;
60 projectileKineticEnergy = 1000.0;
61 verboseEvent = -1;
62 randomSeeds = "";
63 randomSeedVector.push_back(666);
64 randomSeedVector.push_back(777);
65 randomSeedVector.push_back(1234);
66 pauliString = "strict-statistical";
67 pauliType = StrictStatisticalPauli;
68 CDPP = true;
69 coulombString = "non-relativistic";
70 coulombType = NonRelativisticCoulomb;
71 potentialString = "isospin-energy";
72 potentialType = IsospinEnergyPotential;
73 pionPotential = true;
74 localEnergyBBString = "first-collision";
75 localEnergyBBType = FirstCollisionLocalEnergy;
76 localEnergyPiString = "first-collision";
77 localEnergyPiType = FirstCollisionLocalEnergy;
78 deExcitationString = "none";
79 deExcitationType = DeExcitationNone;
80 clusterAlgorithmString = "intercomparison";
81 clusterAlgorithmType = IntercomparisonClusterAlgorithm;
82 clusterMaxMass = 8;
83 backToSpectator = true;
84 useRealMasses = true;
85 impactParameter = -1.;
86 separationEnergyString = "INCL";
87 separationEnergyType = INCLSeparationEnergy;
88 fermiMomentumString = "constant";
89 fermiMomentumType = ConstantFermiMomentum;
90 fermiMomentum = -1.;
91 cutNN = 1910.;
92#ifdef INCL_DEEXCITATION_FERMI_BREAKUP
93 maxMassFermiBreakUp = 16;
94 maxChargeFermiBreakUp = 8;
95#endif
96 rpCorrelationCoefficient = 0.98;
97 rpCorrelationCoefficientProton = 0.5;
98 rpCorrelationCoefficientNeutron = 0.73;
99 neutronSkin = 0.;
100 neutronHalo = 0.;
101 refraction=false;
102 phaseSpaceGenerator = "Raubold-Lynch";
103 phaseSpaceGeneratorType = RauboldLynchType;
104 cascadeAction = "default";
105 cascadeActionType = DefaultActionType;
106 randomNumberGenerator = "Ranecu";
107 rngType = RanecuType;
108 autosaveFrequency = 10000;
109 maxNumberMultipions = -1;
110 crossSectionsString = "antiparticles";
111 crossSectionsType = AntiparticlesCrossSections;
112 hadronizationTime = 0.;
113#ifdef INCL_ROOT_USE
114 conciseROOTTree = false;
115#endif
116 inverseKinematics = false;
117 decayTimeThreshold = 1.e-20;
118 bias = 1.;
119 atrestThreshold = 200.;
120 }
@ FirstCollisionLocalEnergy
@ AntiparticlesCrossSections
@ IntercomparisonClusterAlgorithm

Referenced by Config(), and G4INCLXXInterfaceStore::SetINCLPhysics().

◆ isNaturalTarget()

G4bool G4INCL::Config::isNaturalTarget ( ) const
inline

Natural targets.

Definition at line 87 of file G4INCLConfig.hh.

87{ return naturalTarget; }

Referenced by G4INCL::INCL::prepareReaction().

◆ setAtrestThreshold()

void G4INCL::Config::setAtrestThreshold ( const G4double t)
inline

Set the pbar at rest annihilation threshold.

Definition at line 384 of file G4INCLConfig.hh.

384{ atrestThreshold=t; }

◆ setAutosaveFrequency()

void G4INCL::Config::setAutosaveFrequency ( const unsigned int f)
inline

Set the autosave frequency.

Definition at line 341 of file G4INCLConfig.hh.

341{ autosaveFrequency=f; }

◆ setBackToSpectator()

void G4INCL::Config::setBackToSpectator ( const G4bool b)
inline

Set back-to-spectator.

Definition at line 208 of file G4INCLConfig.hh.

208{ backToSpectator = b; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setCascadeActionType()

void G4INCL::Config::setCascadeActionType ( CascadeActionType const c)
inline

Set the cascade-action type.

Definition at line 335 of file G4INCLConfig.hh.

335{ cascadeActionType=c; }

◆ setClusterAlgorithm()

void G4INCL::Config::setClusterAlgorithm ( ClusterAlgorithmType const c)
inline

Set the clustering algorithm.

Definition at line 196 of file G4INCLConfig.hh.

196{ clusterAlgorithmType = c; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setClusterMaxMass()

void G4INCL::Config::setClusterMaxMass ( const G4int clm)
inline

Set the maximum mass for production of clusters.

Definition at line 202 of file G4INCLConfig.hh.

202{ clusterMaxMass=clm; }

Referenced by G4INCLXXInterfaceStore::SetMaxClusterMass().

◆ setCoulombType()

void G4INCL::Config::setCoulombType ( CoulombType const c)
inline

Set the Coulomb-distortion algorithm.

Definition at line 157 of file G4INCLConfig.hh.

157{ coulombType = c; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setCrossSectionsType()

void G4INCL::Config::setCrossSectionsType ( CrossSectionsType const c)
inline

Set the Cross Section type.

Definition at line 353 of file G4INCLConfig.hh.

353{ crossSectionsType=c; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setDecayTimeThreshold()

void G4INCL::Config::setDecayTimeThreshold ( const G4double t)
inline

Set decay time threshold time.

Definition at line 375 of file G4INCLConfig.hh.

375{ decayTimeThreshold=t; }

◆ setFermiMomentum()

void G4INCL::Config::setFermiMomentum ( const G4double p)
inline

Set the Fermi momentum.

Definition at line 260 of file G4INCLConfig.hh.

260{ fermiMomentum = p; }

◆ setFermiMomentumType()

void G4INCL::Config::setFermiMomentumType ( FermiMomentumType const f)
inline

Set the Fermi-momentum type.

Definition at line 254 of file G4INCLConfig.hh.

254{ fermiMomentumType=f; }

◆ setHadronizationTime()

void G4INCL::Config::setHadronizationTime ( const G4double t)
inline

Set the hadronization time.

Definition at line 359 of file G4INCLConfig.hh.

359{ hadronizationTime=t; }

◆ setINCLXXDataFilePath()

void G4INCL::Config::setINCLXXDataFilePath ( std::string const & path)
inline

Set the INCLXX datafile path.

Definition at line 217 of file G4INCLConfig.hh.

217{ INCLXXDataFilePath=path; }

◆ setLocalEnergyBBType()

void G4INCL::Config::setLocalEnergyBBType ( const LocalEnergyType t)
inline

Set the type of local energy for N-N avatars.

Definition at line 175 of file G4INCLConfig.hh.

175{ localEnergyBBType=t; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setLocalEnergyPiType()

void G4INCL::Config::setLocalEnergyPiType ( const LocalEnergyType t)
inline

Set the type of local energy for N-N avatars.

Definition at line 181 of file G4INCLConfig.hh.

181{ localEnergyPiType=t; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setMaxNumberMultipions()

void G4INCL::Config::setMaxNumberMultipions ( const G4int n)
inline

Set the maximum number of pions for multipion collisions.

Definition at line 350 of file G4INCLConfig.hh.

350{ maxNumberMultipions=n; }

◆ setNeutronHalo()

void G4INCL::Config::setNeutronHalo ( const G4double d)
inline

Set the neutron-halo size.

Definition at line 311 of file G4INCLConfig.hh.

311{ neutronHalo=d; }

◆ setNeutronSkin()

void G4INCL::Config::setNeutronSkin ( const G4double d)
inline

Set the neutron-skin thickness.

Definition at line 305 of file G4INCLConfig.hh.

305{ neutronSkin=d; }

◆ setPhaseSpaceGeneratorType()

void G4INCL::Config::setPhaseSpaceGeneratorType ( PhaseSpaceGeneratorType const p)
inline

Set the phase-space-generator type.

Definition at line 329 of file G4INCLConfig.hh.

329{ phaseSpaceGeneratorType=p; }

◆ setPionPotential()

void G4INCL::Config::setPionPotential ( const G4bool pionPot)
inline

Set the type of the potential for nucleons.

Definition at line 169 of file G4INCLConfig.hh.

169{ pionPotential = pionPot; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setPotentialType()

void G4INCL::Config::setPotentialType ( PotentialType type)
inline

Set the type of the potential for nucleons.

Definition at line 163 of file G4INCLConfig.hh.

163{ potentialType = type; }

Referenced by G4INCLXXInterfaceStore::SetINCLPhysics().

◆ setProjectileKineticEnergy()

void G4INCL::Config::setProjectileKineticEnergy ( G4double const kinE)
inline

Set the projectile kinetic energy.

Definition at line 124 of file G4INCLConfig.hh.

124{ projectileKineticEnergy=kinE; }

◆ setProjectileSpecies()

void G4INCL::Config::setProjectileSpecies ( ParticleSpecies const & pars)
inline

Set the projectile species.

Definition at line 118 of file G4INCLConfig.hh.

118{ projectileSpecies=pars; }

◆ setRefraction()

void G4INCL::Config::setRefraction ( const G4bool r)
inline

Set the refraction variable.

Definition at line 317 of file G4INCLConfig.hh.

317{ refraction = r; }

◆ setRNGType()

void G4INCL::Config::setRNGType ( RNGType const r)
inline

Set the RNG type.

Definition at line 323 of file G4INCLConfig.hh.

323{ rngType=r; }

◆ setRPCorrelationCoefficient() [1/2]

void G4INCL::Config::setRPCorrelationCoefficient ( const G4double corrCoeff)
inline

Set the r-p correlation coefficient.

Definition at line 296 of file G4INCLConfig.hh.

296 {
299 }
void setRPCorrelationCoefficient(const ParticleType t, const G4double corrCoeff)
Set the r-p correlation coefficient.

◆ setRPCorrelationCoefficient() [2/2]

void G4INCL::Config::setRPCorrelationCoefficient ( const ParticleType t,
const G4double corrCoeff )
inline

Set the r-p correlation coefficient.

Definition at line 287 of file G4INCLConfig.hh.

287 {
288// assert(t==Proton || t==Neutron);
289 if(t==Proton)
290 rpCorrelationCoefficientProton=corrCoeff;
291 else
292 rpCorrelationCoefficientNeutron=corrCoeff;
293 }

Referenced by setRPCorrelationCoefficient().

◆ setTargetA()

void G4INCL::Config::setTargetA ( G4int A)
inline

Set target mass number.

Definition at line 103 of file G4INCLConfig.hh.

103{ targetSpecies.theA = A; }
const G4double A[17]

◆ setTargetS()

void G4INCL::Config::setTargetS ( G4int S)
inline

Set target strangess number.

Definition at line 109 of file G4INCLConfig.hh.

109{ targetSpecies.theS = S; }
G4double S(G4double temp)

◆ setTargetZ()

void G4INCL::Config::setTargetZ ( G4int Z)
inline

Set target charge number.

Definition at line 106 of file G4INCLConfig.hh.

106{ targetSpecies.theZ = Z; }

◆ setUseRealMasses()

void G4INCL::Config::setUseRealMasses ( G4bool use)
inline

Set whether to use real masses.

Definition at line 214 of file G4INCLConfig.hh.

214{ useRealMasses = use; }

◆ summary()

std::string G4INCL::Config::summary ( )

Return a summary of the run configuration.

Definition at line 122 of file G4INCLConfig.cc.

122 {
123 std::stringstream message;
124 message << "INCL++ version " << getVersionString() << '\n';
125 if(projectileSpecies.theType != Composite)
126 message << "Projectile: " << ParticleTable::getName(projectileSpecies) << '\n';
127 else
128 message << "Projectile: composite, A=" << projectileSpecies.theA << ", Z=" << projectileSpecies.theZ << ", S=" << projectileSpecies.theS << '\n';
129 message << " energy = " << projectileKineticEnergy << '\n';
130 if(targetSpecies.theA>0)
131 message << "Target: A = " << targetSpecies.theA << " Z = " << targetSpecies.theZ << " S = " << targetSpecies.theS << '\n';
132 else
133 message << "Target: natural isotopic composition, Z = " << targetSpecies.theZ << '\n';
134 message << "Number of requested shots = " << nShots << '\n';
135 return message.str();
136 }
static std::string const getVersionString()
Get the INCL version string.
std::string getName(const ParticleType t)
Get the native INCL name of the particle.

Friends And Related Symbol Documentation

◆ ::ConfigParser

friend class ::ConfigParser
friend

Definition at line 516 of file G4INCLConfig.hh.


The documentation for this class was generated from the following files: