Geant4  10.02.p03
G4INCL::Config Class Reference

#include <G4INCLConfig.hh>

Collaboration diagram for G4INCL::Config:

Public Member Functions

 Config ()
 Default constructor. More...
 
 ~Config ()
 Default destructor. More...
 
void init ()
 Initialise the members. More...
 
std::string summary ()
 Return a summary of the run configuration. More...
 
G4int getVerbosity () const
 Get the verbosity. More...
 
std::string const & getCalculationTitle () const
 Get the run title. More...
 
std::string const & getOutputFileRoot () const
 Get the output file root. More...
 
G4int getNumberOfShots () const
 Get the number of shots. More...
 
G4bool isNaturalTarget () const
 Natural targets. More...
 
G4int getTargetA () const
 Get the target mass number. More...
 
G4int getTargetZ () const
 Get the target charge number. More...
 
void setTargetA (G4int A)
 Set target mass number. More...
 
void setTargetZ (G4int Z)
 Set target charge number. More...
 
ParticleType getProjectileType () const
 Get the projectile type. More...
 
ParticleSpecies getProjectileSpecies () const
 Get the projectile species. More...
 
void setProjectileSpecies (ParticleSpecies const &ps)
 Set the projectile species. More...
 
G4double getProjectileKineticEnergy () const
 Get the projectile kinetic energy. More...
 
void setProjectileKineticEnergy (G4double const kinE)
 Set the projectile kinetic energy. More...
 
G4int getVerboseEvent () const
 Get the number of the verbose event. More...
 
Random::SeedVector getRandomSeeds () const
 Get the seeds for the random-number generator. More...
 
PauliType getPauliType () const
 Get the Pauli-blocking algorithm. More...
 
G4bool getCDPP () const
 Do we want CDPP? More...
 
CoulombType getCoulombType () const
 Get the Coulomb-distortion algorithm. More...
 
void setCoulombType (CoulombType const c)
 Set the Coulomb-distortion algorithm. More...
 
PotentialType getPotentialType () const
 Get the type of the potential for nucleons. More...
 
void setPotentialType (PotentialType type)
 Set the type of the potential for nucleons. More...
 
G4bool getPionPotential () const
 Do we want the pion potential? More...
 
void setPionPotential (const G4bool pionPot)
 Set the type of the potential for nucleons. More...
 
LocalEnergyType getLocalEnergyBBType () const
 Get the type of local energy for N-N avatars. More...
 
void setLocalEnergyBBType (const LocalEnergyType t)
 Set the type of local energy for N-N avatars. More...
 
LocalEnergyType getLocalEnergyPiType () const
 Get the type of local energy for pi-N and decay avatars. More...
 
void setLocalEnergyPiType (const LocalEnergyType t)
 Set the type of local energy for N-N avatars. More...
 
std::string const & getLogFileName () const
 Get the log file name. More...
 
DeExcitationType getDeExcitationType () const
 Get the de-excitation model. More...
 
std::string getDeExcitationString () const
 Get the de-excitation string. More...
 
ClusterAlgorithmType getClusterAlgorithm () const
 Get the clustering algorithm. More...
 
void setClusterAlgorithm (ClusterAlgorithmType const c)
 Set the clustering algorithm. More...
 
G4int getClusterMaxMass () const
 Get the maximum mass for production of clusters. More...
 
void setClusterMaxMass (const G4int m)
 Set the maximum mass for production of clusters. More...
 
G4bool getBackToSpectator () const
 Get back-to-spectator. More...
 
void setBackToSpectator (const G4bool b)
 Set back-to-spectator. More...
 
G4bool getUseRealMasses () const
 Whether to use real masses. More...
 
void setUseRealMasses (G4bool use)
 Set whether to use real masses. More...
 
void setINCLXXDataFilePath (std::string const &s)
 Set the INCLXX datafile path. More...
 
std::string const & getINCLXXDataFilePath () const
 
G4double getImpactParameter () const
 
SeparationEnergyType getSeparationEnergyType () const
 Get the separation-energy type. More...
 
FermiMomentumType getFermiMomentumType () const
 Get the Fermi-momentum type. More...
 
void setFermiMomentumType (FermiMomentumType const f)
 Set the Fermi-momentum type. More...
 
G4double getFermiMomentum () const
 Get the Fermi momentum. More...
 
void setFermiMomentum (const G4double p)
 Set the Fermi momentum. More...
 
G4double getCutNN () const
 
G4double getRPCorrelationCoefficient (const ParticleType t) const
 Get the r-p correlation coefficient. More...
 
void setRPCorrelationCoefficient (const ParticleType t, const G4double corrCoeff)
 Set the r-p correlation coefficient. More...
 
void setRPCorrelationCoefficient (const G4double corrCoeff)
 Set the r-p correlation coefficient. More...
 
G4double getNeutronSkin () const
 Get the neutron-skin thickness. More...
 
void setNeutronSkin (const G4double d)
 Set the neutron-skin thickness. More...
 
G4double getNeutronHalo () const
 Get the neutron-halo size. More...
 
void setNeutronHalo (const G4double d)
 Set the neutron-halo size. More...
 
G4bool getRefraction () const
 True if we should use refraction. More...
 
void setRefraction (const G4bool r)
 Set the refraction variable. More...
 
RNGType getRNGType () const
 Get the RNG type. More...
 
void setRNGType (RNGType const r)
 Set the RNG type. More...
 
PhaseSpaceGeneratorType getPhaseSpaceGeneratorType () const
 Get the phase-space-generator type. More...
 
void setPhaseSpaceGeneratorType (PhaseSpaceGeneratorType const p)
 Set the phase-space-generator type. More...
 
CascadeActionType getCascadeActionType () const
 Get the cascade-action type. More...
 
void setCascadeActionType (CascadeActionType const c)
 Set the cascade-action type. More...
 
unsigned int getAutosaveFrequency () const
 Get the autosave frequency. More...
 
void setAutosaveFrequency (const unsigned int f)
 Set the autosave frequency. More...
 
CrossSectionsType getCrossSectionsType () const
 Get the Cross Section type. More...
 
G4int getMaxNumberMultipions () const
 Get the maximum number of pions for multipion collisions. More...
 
void setMaxNumberMultipions (const G4int n)
 Set the maximum number of pions for multipion collisions. More...
 
void setCrossSectionsType (CrossSectionsType const c)
 Set the Cross Section type. More...
 
G4double getHadronizationTime () const
 Get the hadronization time. More...
 
void setHadronizationTime (const G4double t)
 Set the hadronization time. More...
 
G4bool getInverseKinematics () const
 

Static Public Member Functions

static std::string const getVersionID ()
 Get the INCL version ID. More...
 
static std::string const getVersionHash ()
 Get the INCL version hash. More...
 
static std::string const getVersionString ()
 Get the INCL version string. More...
 

Private Attributes

G4int verbosity
 
std::string inputFileName
 
std::string title
 
std::string outputFileRoot
 
std::string fileSuffix
 
std::string logFileName
 
G4int nShots
 
std::string targetString
 
ParticleSpecies targetSpecies
 
G4bool naturalTarget
 
std::string projectileString
 
ParticleSpecies projectileSpecies
 
G4double projectileKineticEnergy
 
G4int verboseEvent
 
std::string randomSeeds
 
Random::SeedVector randomSeedVector
 
std::string pauliString
 
PauliType pauliType
 
G4bool CDPP
 
std::string coulombString
 
CoulombType coulombType
 
std::string potentialString
 
PotentialType potentialType
 
G4bool pionPotential
 
std::string localEnergyBBString
 
LocalEnergyType localEnergyBBType
 
std::string localEnergyPiString
 
LocalEnergyType localEnergyPiType
 
std::string deExcitationModelList
 
std::string deExcitationOptionDescription
 
std::string deExcitationString
 
DeExcitationType deExcitationType
 
std::string INCLXXDataFilePath
 
std::string clusterAlgorithmString
 
ClusterAlgorithmType clusterAlgorithmType
 
G4int clusterMaxMass
 
G4bool backToSpectator
 
G4bool useRealMasses
 
G4double impactParameter
 
std::string separationEnergyString
 
SeparationEnergyType separationEnergyType
 
std::string fermiMomentumString
 
FermiMomentumType fermiMomentumType
 
G4double fermiMomentum
 
G4double cutNN
 
G4double rpCorrelationCoefficient
 
G4double rpCorrelationCoefficientProton
 
G4double rpCorrelationCoefficientNeutron
 
G4double neutronSkin
 
G4double neutronHalo
 
G4bool refraction
 
std::string randomNumberGenerator
 
RNGType rngType
 
std::string phaseSpaceGenerator
 
PhaseSpaceGeneratorType phaseSpaceGeneratorType
 
unsigned int autosaveFrequency
 
std::string crossSectionsString
 
CrossSectionsType crossSectionsType
 
G4int maxNumberMultipions
 
std::string cascadeAction
 
CascadeActionType cascadeActionType
 
G4double hadronizationTime
 
G4bool inverseKinematics
 

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.
Definition: G4INCLConfig.cc:51
Here is the call graph for this function:

◆ ~Config()

G4INCL::Config::~Config ( )

Default destructor.

Definition at line 49 of file G4INCLConfig.cc.

49 {}

Member Function Documentation

◆ getAutosaveFrequency()

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

Get the autosave frequency.

Definition at line 327 of file G4INCLConfig.hh.

327 { return autosaveFrequency; }
unsigned int autosaveFrequency

◆ getBackToSpectator()

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

Get back-to-spectator.

Definition at line 199 of file G4INCLConfig.hh.

199 { return backToSpectator; }
G4bool backToSpectator

◆ getCalculationTitle()

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

Get the run title.

Definition at line 78 of file G4INCLConfig.hh.

78 { return title; }
std::string title

◆ getCascadeActionType()

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

Get the cascade-action type.

Definition at line 321 of file G4INCLConfig.hh.

321 { return cascadeActionType; }
CascadeActionType cascadeActionType
Here is the caller graph for this function:

◆ getCDPP()

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

Do we want CDPP?

Definition at line 145 of file G4INCLConfig.hh.

145 { return CDPP; }
Here is the caller graph for this function:

◆ getClusterAlgorithm()

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

Get the clustering algorithm.

Definition at line 187 of file G4INCLConfig.hh.

187 { return clusterAlgorithmType; }
ClusterAlgorithmType clusterAlgorithmType
Here is the caller graph for this function:

◆ getClusterMaxMass()

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

Get the maximum mass for production of clusters.

Definition at line 193 of file G4INCLConfig.hh.

193 { return clusterMaxMass; }
Here is the caller graph for this function:

◆ getCoulombType()

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

Get the Coulomb-distortion algorithm.

Definition at line 148 of file G4INCLConfig.hh.

148 { return coulombType; }
CoulombType coulombType

◆ getCrossSectionsType()

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

Get the Cross Section type.

Definition at line 333 of file G4INCLConfig.hh.

333 { return crossSectionsType; }
CrossSectionsType crossSectionsType
Here is the caller graph for this function:

◆ getCutNN()

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

Definition at line 251 of file G4INCLConfig.hh.

251 { return cutNN; }
Here is the caller graph for this function:

◆ getDeExcitationString()

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

Get the de-excitation string.

Definition at line 184 of file G4INCLConfig.hh.

184 { return deExcitationString; }
std::string deExcitationString
Here is the caller graph for this function:

◆ getDeExcitationType()

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

Get the de-excitation model.

Definition at line 181 of file G4INCLConfig.hh.

181 { return deExcitationType; }
DeExcitationType deExcitationType

◆ getFermiMomentum()

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

Get the Fermi momentum.

Definition at line 246 of file G4INCLConfig.hh.

246 { return fermiMomentum; }
G4double fermiMomentum
Here is the caller graph for this function:

◆ getFermiMomentumType()

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

Get the Fermi-momentum type.

Definition at line 240 of file G4INCLConfig.hh.

240 { return fermiMomentumType; }
FermiMomentumType fermiMomentumType
Here is the caller graph for this function:

◆ getHadronizationTime()

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

Get the hadronization time.

Definition at line 345 of file G4INCLConfig.hh.

345 { return hadronizationTime; }
G4double hadronizationTime
Here is the caller graph for this function:

◆ getImpactParameter()

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

Definition at line 234 of file G4INCLConfig.hh.

234 { return impactParameter; }
G4double impactParameter
Here is the caller graph for this function:

◆ getINCLXXDataFilePath()

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

Definition at line 213 of file G4INCLConfig.hh.

213  {
214  return INCLXXDataFilePath;
215  }
std::string INCLXXDataFilePath
Here is the caller graph for this function:

◆ getInverseKinematics()

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

Definition at line 354 of file G4INCLConfig.hh.

354 { return inverseKinematics; }
G4bool inverseKinematics

◆ getLocalEnergyBBType()

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

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

Definition at line 166 of file G4INCLConfig.hh.

166 { return localEnergyBBType; }
LocalEnergyType localEnergyBBType
Here is the caller graph for this function:

◆ getLocalEnergyPiType()

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

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

Definition at line 172 of file G4INCLConfig.hh.

172 { return localEnergyPiType; }
LocalEnergyType localEnergyPiType
Here is the caller graph for this function:

◆ getLogFileName()

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

Get the log file name.

Definition at line 178 of file G4INCLConfig.hh.

178 { return logFileName; }
std::string logFileName

◆ getMaxNumberMultipions()

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

Get the maximum number of pions for multipion collisions.

Definition at line 336 of file G4INCLConfig.hh.

336 { return maxNumberMultipions; }
G4int maxNumberMultipions
Here is the caller graph for this function:

◆ getNeutronHalo()

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

Get the neutron-halo size.

Definition at line 297 of file G4INCLConfig.hh.

297 { return neutronHalo; }
G4double neutronHalo
Here is the caller graph for this function:

◆ getNeutronSkin()

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

Get the neutron-skin thickness.

Definition at line 291 of file G4INCLConfig.hh.

291 { return neutronSkin; }
G4double neutronSkin
Here is the caller graph for this function:

◆ 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; }
std::string outputFileRoot

◆ getPauliType()

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

Get the Pauli-blocking algorithm.

Definition at line 142 of file G4INCLConfig.hh.

142 { return pauliType; }
PauliType pauliType
Here is the caller graph for this function:

◆ getPhaseSpaceGeneratorType()

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

Get the phase-space-generator type.

Definition at line 315 of file G4INCLConfig.hh.

315 { return phaseSpaceGeneratorType; }
PhaseSpaceGeneratorType phaseSpaceGeneratorType
Here is the caller graph for this function:

◆ getPionPotential()

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

Do we want the pion potential?

Definition at line 160 of file G4INCLConfig.hh.

160 { return pionPotential; }
G4bool pionPotential
Here is the caller graph for this function:

◆ getPotentialType()

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

Get the type of the potential for nucleons.

Definition at line 154 of file G4INCLConfig.hh.

154 { return potentialType; }
PotentialType potentialType
Here is the caller graph for this function:

◆ getProjectileKineticEnergy()

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

Get the projectile kinetic energy.

Definition at line 115 of file G4INCLConfig.hh.

115 { return projectileKineticEnergy; }
G4double projectileKineticEnergy
Here is the caller graph for this function:

◆ getProjectileSpecies()

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

Get the projectile species.

Definition at line 109 of file G4INCLConfig.hh.

109 { return projectileSpecies; }
ParticleSpecies projectileSpecies
Here is the caller graph for this function:

◆ getProjectileType()

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

Get the projectile type.

Definition at line 106 of file G4INCLConfig.hh.

106 { return projectileSpecies.theType; }
ParticleSpecies projectileSpecies

◆ getRandomSeeds()

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

Get the seeds for the random-number generator.

Definition at line 137 of file G4INCLConfig.hh.

137  {
138  return randomSeedVector;
139  }
Random::SeedVector randomSeedVector

◆ getRefraction()

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

True if we should use refraction.

Definition at line 303 of file G4INCLConfig.hh.

303 { return refraction; }
Here is the caller graph for this function:

◆ getRNGType()

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

Get the RNG type.

Definition at line 309 of file G4INCLConfig.hh.

309 { return rngType; }

◆ getRPCorrelationCoefficient()

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

Get the r-p correlation coefficient.

Definition at line 270 of file G4INCLConfig.hh.

270  {
271 // assert(t==Proton || t==Neutron);
273  }
G4double rpCorrelationCoefficientProton
G4double rpCorrelationCoefficientNeutron
Here is the caller graph for this function:

◆ getSeparationEnergyType()

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

Get the separation-energy type.

Definition at line 237 of file G4INCLConfig.hh.

237 { return separationEnergyType; }
SeparationEnergyType separationEnergyType
Here is the caller graph for this function:

◆ 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; }
ParticleSpecies targetSpecies
Here is the caller graph for this function:

◆ getTargetZ()

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

Get the target charge number.

Definition at line 97 of file G4INCLConfig.hh.

97 { return targetSpecies.theZ; }
ParticleSpecies targetSpecies
Here is the caller graph for this function:

◆ getUseRealMasses()

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

Whether to use real masses.

Definition at line 205 of file G4INCLConfig.hh.

205 { return useRealMasses; }
G4bool useRealMasses
Here is the caller graph for this function:

◆ getVerboseEvent()

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

Get the number of the verbose event.

Definition at line 121 of file G4INCLConfig.hh.

121 { return verboseEvent; }
Here is the call graph for this function:

◆ 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
Here is the caller graph for this function:

◆ 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
Here is the caller graph for this function:

◆ getVersionString()

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

Get the INCL version string.

Definition at line 130 of file G4INCLConfig.hh.

130  {
131  std::stringstream ss;
132  ss << getVersionID() << "-" << getVersionHash();
133  return ss.str();
134  }
static std::string const getVersionID()
Get the INCL version ID.
static std::string const getVersionHash()
Get the INCL version hash.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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";
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";
68  CDPP = true;
69  coulombString = "non-relativistic";
71  potentialString = "isospin-energy";
73  pionPotential = true;
74  localEnergyBBString = "first-collision";
76  localEnergyPiString = "first-collision";
78  deExcitationString = "none";
80  clusterAlgorithmString = "intercomparison";
82  clusterMaxMass = 8;
83  backToSpectator = true;
84  useRealMasses = true;
85  impactParameter = -1.;
86  separationEnergyString = "INCL";
88  fermiMomentumString = "constant";
90  fermiMomentum = -1.;
91  cutNN = 1910.;
92 #ifdef INCL_DEEXCITATION_FERMI_BREAKUP
93  maxMassFermiBreakUp = 16;
94  maxChargeFermiBreakUp = 8;
95 #endif
99  neutronSkin = 0.;
100  neutronHalo = 0.;
101  refraction=false;
102  phaseSpaceGenerator = "Raubold-Lynch";
104  cascadeAction = "default";
106  randomNumberGenerator = "Ranecu";
108  autosaveFrequency = 10000;
109  maxNumberMultipions = -1;
110  crossSectionsString = "multipions";
112  hadronizationTime = 0.;
113 #ifdef INCL_ROOT_USE
114  conciseROOTTree = false;
115 #endif
116  inverseKinematics = false;
117  }
std::string fermiMomentumString
LocalEnergyType localEnergyPiType
G4int maxNumberMultipions
PauliType pauliType
std::string separationEnergyString
ClusterAlgorithmType clusterAlgorithmType
std::string potentialString
std::string localEnergyBBString
PotentialType potentialType
FermiMomentumType fermiMomentumType
G4double neutronSkin
G4double neutronHalo
std::string pauliString
PhaseSpaceGeneratorType phaseSpaceGeneratorType
G4double fermiMomentum
std::string localEnergyPiString
std::string clusterAlgorithmString
std::string phaseSpaceGenerator
G4bool backToSpectator
G4double hadronizationTime
G4bool inverseKinematics
CoulombType coulombType
std::string coulombString
unsigned int autosaveFrequency
Random::SeedVector randomSeedVector
std::string cascadeAction
LocalEnergyType localEnergyBBType
G4double rpCorrelationCoefficientProton
G4double impactParameter
G4double rpCorrelationCoefficient
G4bool useRealMasses
G4double projectileKineticEnergy
std::string deExcitationString
G4bool naturalTarget
CascadeActionType cascadeActionType
std::string randomSeeds
std::string title
G4bool pionPotential
CrossSectionsType crossSectionsType
std::string projectileString
G4double rpCorrelationCoefficientNeutron
std::string randomNumberGenerator
std::string inputFileName
DeExcitationType deExcitationType
SeparationEnergyType separationEnergyType
std::string logFileName
std::string crossSectionsString
ParticleSpecies projectileSpecies
Here is the caller graph for this function:

◆ isNaturalTarget()

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

Natural targets.

Definition at line 87 of file G4INCLConfig.hh.

87 { return naturalTarget; }
G4bool naturalTarget
Here is the caller graph for this function:

◆ setAutosaveFrequency()

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

Set the autosave frequency.

Definition at line 330 of file G4INCLConfig.hh.

330 { autosaveFrequency=f; }
unsigned int autosaveFrequency

◆ setBackToSpectator()

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

Set back-to-spectator.

Definition at line 202 of file G4INCLConfig.hh.

◆ setCascadeActionType()

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

Set the cascade-action type.

Definition at line 324 of file G4INCLConfig.hh.

324 { cascadeActionType=c; }
CascadeActionType cascadeActionType

◆ setClusterAlgorithm()

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

Set the clustering algorithm.

Definition at line 190 of file G4INCLConfig.hh.

190 { clusterAlgorithmType = c; }
ClusterAlgorithmType clusterAlgorithmType

◆ setClusterMaxMass()

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

Set the maximum mass for production of clusters.

Definition at line 196 of file G4INCLConfig.hh.

196 { clusterMaxMass=m; }
static const double m
Definition: G4SIunits.hh:128

◆ setCoulombType()

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

Set the Coulomb-distortion algorithm.

Definition at line 151 of file G4INCLConfig.hh.

151 { coulombType = c; }
CoulombType coulombType

◆ setCrossSectionsType()

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

Set the Cross Section type.

Definition at line 342 of file G4INCLConfig.hh.

342 { crossSectionsType=c; }
CrossSectionsType crossSectionsType

◆ setFermiMomentum()

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

Set the Fermi momentum.

Definition at line 249 of file G4INCLConfig.hh.

249 { fermiMomentum = p; }
G4double fermiMomentum

◆ setFermiMomentumType()

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

Set the Fermi-momentum type.

Definition at line 243 of file G4INCLConfig.hh.

243 { fermiMomentumType=f; }
FermiMomentumType fermiMomentumType

◆ setHadronizationTime()

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

Set the hadronization time.

Definition at line 348 of file G4INCLConfig.hh.

348 { hadronizationTime=t; }
G4double hadronizationTime

◆ setINCLXXDataFilePath()

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

Set the INCLXX datafile path.

Definition at line 211 of file G4INCLConfig.hh.

static const double s
Definition: G4SIunits.hh:168
std::string INCLXXDataFilePath

◆ setLocalEnergyBBType()

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

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

Definition at line 169 of file G4INCLConfig.hh.

169 { localEnergyBBType=t; }
LocalEnergyType localEnergyBBType

◆ setLocalEnergyPiType()

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

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

Definition at line 175 of file G4INCLConfig.hh.

175 { localEnergyPiType=t; }
LocalEnergyType localEnergyPiType

◆ setMaxNumberMultipions()

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

Set the maximum number of pions for multipion collisions.

Definition at line 339 of file G4INCLConfig.hh.

G4int maxNumberMultipions
Char_t n[5]

◆ setNeutronHalo()

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

Set the neutron-halo size.

Definition at line 300 of file G4INCLConfig.hh.

300 { neutronHalo=d; }
Float_t d
G4double neutronHalo

◆ setNeutronSkin()

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

Set the neutron-skin thickness.

Definition at line 294 of file G4INCLConfig.hh.

294 { neutronSkin=d; }
G4double neutronSkin
Float_t d

◆ setPhaseSpaceGeneratorType()

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

Set the phase-space-generator type.

Definition at line 318 of file G4INCLConfig.hh.

PhaseSpaceGeneratorType phaseSpaceGeneratorType

◆ setPionPotential()

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

Set the type of the potential for nucleons.

Definition at line 163 of file G4INCLConfig.hh.

163 { pionPotential = pionPot; }
G4bool pionPotential

◆ setPotentialType()

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

Set the type of the potential for nucleons.

Definition at line 157 of file G4INCLConfig.hh.

157 { potentialType = type; }
PotentialType potentialType

◆ setProjectileKineticEnergy()

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

Set the projectile kinetic energy.

Definition at line 118 of file G4INCLConfig.hh.

118 { projectileKineticEnergy=kinE; }
G4double projectileKineticEnergy

◆ setProjectileSpecies()

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

Set the projectile species.

Definition at line 112 of file G4INCLConfig.hh.

112 { projectileSpecies=ps; }
ParticleSpecies projectileSpecies

◆ setRefraction()

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

Set the refraction variable.

Definition at line 306 of file G4INCLConfig.hh.

306 { refraction = r; }

◆ setRNGType()

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

Set the RNG type.

Definition at line 312 of file G4INCLConfig.hh.

312 { rngType=r; }

◆ setRPCorrelationCoefficient() [1/2]

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

Set the r-p correlation coefficient.

Definition at line 276 of file G4INCLConfig.hh.

276  {
277 // assert(t==Proton || t==Neutron);
278  if(t==Proton)
280  else
282  }
G4double rpCorrelationCoefficientProton
G4double rpCorrelationCoefficientNeutron
Here is the caller graph for this function:

◆ setRPCorrelationCoefficient() [2/2]

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

Set the r-p correlation coefficient.

Definition at line 285 of file G4INCLConfig.hh.

285  {
288  }
void setRPCorrelationCoefficient(const ParticleType t, const G4double corrCoeff)
Set the r-p correlation coefficient.
Here is the call graph for this function:

◆ setTargetA()

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

Set target mass number.

Definition at line 100 of file G4INCLConfig.hh.

100 { targetSpecies.theA = A; }
double A(double temperature)
ParticleSpecies targetSpecies
Here is the call graph for this function:

◆ setTargetZ()

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

Set target charge number.

Definition at line 103 of file G4INCLConfig.hh.

103 { targetSpecies.theZ = Z; }
Float_t Z
ParticleSpecies targetSpecies

◆ setUseRealMasses()

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

Set whether to use real masses.

Definition at line 208 of file G4INCLConfig.hh.

208 { useRealMasses = use; }
G4bool useRealMasses

◆ summary()

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

Return a summary of the run configuration.

Definition at line 119 of file G4INCLConfig.cc.

119  {
120  std::stringstream message;
121  message << "INCL++ version " << getVersionString() << '\n';
123  message << "Projectile: " << ParticleTable::getName(projectileSpecies) << '\n';
124  else
125  message << "Projectile: composite, A=" << projectileSpecies.theA << ", Z=" << projectileSpecies.theZ << '\n';
126  message << " energy = " << projectileKineticEnergy << '\n';
127  if(targetSpecies.theA>0)
128  message << "Target: A = " << targetSpecies.theA << " Z = " << targetSpecies.theZ << '\n';
129  else
130  message << "Target: natural isotopic composition, Z = " << targetSpecies.theZ << '\n';
131  message << "Number of requested shots = " << nShots << '\n';
132  return message.str();
133  }
static std::string const getVersionString()
Get the INCL version string.
ParticleSpecies targetSpecies
G4double projectileKineticEnergy
std::string getName(const ParticleType t)
Get the native INCL name of the particle.
ParticleSpecies projectileSpecies
Here is the call graph for this function:

Friends And Related Function Documentation

◆ ::ConfigParser

friend class ::ConfigParser
friend

Definition at line 474 of file G4INCLConfig.hh.

Member Data Documentation

◆ autosaveFrequency

unsigned int G4INCL::Config::autosaveFrequency
private

Definition at line 457 of file G4INCLConfig.hh.

◆ backToSpectator

G4bool G4INCL::Config::backToSpectator
private

Definition at line 417 of file G4INCLConfig.hh.

◆ cascadeAction

std::string G4INCL::Config::cascadeAction
private

Definition at line 463 of file G4INCLConfig.hh.

◆ cascadeActionType

CascadeActionType G4INCL::Config::cascadeActionType
private

Definition at line 464 of file G4INCLConfig.hh.

◆ CDPP

G4bool G4INCL::Config::CDPP
private

Definition at line 382 of file G4INCLConfig.hh.

◆ clusterAlgorithmString

std::string G4INCL::Config::clusterAlgorithmString
private

Definition at line 412 of file G4INCLConfig.hh.

◆ clusterAlgorithmType

ClusterAlgorithmType G4INCL::Config::clusterAlgorithmType
private

Definition at line 413 of file G4INCLConfig.hh.

◆ clusterMaxMass

G4int G4INCL::Config::clusterMaxMass
private

Definition at line 415 of file G4INCLConfig.hh.

◆ coulombString

std::string G4INCL::Config::coulombString
private

Definition at line 384 of file G4INCLConfig.hh.

◆ coulombType

CoulombType G4INCL::Config::coulombType
private

Definition at line 385 of file G4INCLConfig.hh.

◆ crossSectionsString

std::string G4INCL::Config::crossSectionsString
private

Definition at line 459 of file G4INCLConfig.hh.

◆ crossSectionsType

CrossSectionsType G4INCL::Config::crossSectionsType
private

Definition at line 460 of file G4INCLConfig.hh.

◆ cutNN

G4double G4INCL::Config::cutNN
private

Definition at line 431 of file G4INCLConfig.hh.

◆ deExcitationModelList

std::string G4INCL::Config::deExcitationModelList
private

Definition at line 397 of file G4INCLConfig.hh.

◆ deExcitationOptionDescription

std::string G4INCL::Config::deExcitationOptionDescription
private

Definition at line 398 of file G4INCLConfig.hh.

◆ deExcitationString

std::string G4INCL::Config::deExcitationString
private

Definition at line 399 of file G4INCLConfig.hh.

◆ deExcitationType

DeExcitationType G4INCL::Config::deExcitationType
private

Definition at line 400 of file G4INCLConfig.hh.

◆ fermiMomentum

G4double G4INCL::Config::fermiMomentum
private

Definition at line 429 of file G4INCLConfig.hh.

◆ fermiMomentumString

std::string G4INCL::Config::fermiMomentumString
private

Definition at line 426 of file G4INCLConfig.hh.

◆ fermiMomentumType

FermiMomentumType G4INCL::Config::fermiMomentumType
private

Definition at line 427 of file G4INCLConfig.hh.

◆ fileSuffix

std::string G4INCL::Config::fileSuffix
private

Definition at line 362 of file G4INCLConfig.hh.

◆ hadronizationTime

G4double G4INCL::Config::hadronizationTime
private

Definition at line 466 of file G4INCLConfig.hh.

◆ impactParameter

G4double G4INCL::Config::impactParameter
private

Definition at line 421 of file G4INCLConfig.hh.

◆ INCLXXDataFilePath

std::string G4INCL::Config::INCLXXDataFilePath
private

Definition at line 410 of file G4INCLConfig.hh.

◆ inputFileName

std::string G4INCL::Config::inputFileName
private

Definition at line 359 of file G4INCLConfig.hh.

◆ inverseKinematics

G4bool G4INCL::Config::inverseKinematics
private

Definition at line 472 of file G4INCLConfig.hh.

◆ localEnergyBBString

std::string G4INCL::Config::localEnergyBBString
private

Definition at line 391 of file G4INCLConfig.hh.

◆ localEnergyBBType

LocalEnergyType G4INCL::Config::localEnergyBBType
private

Definition at line 392 of file G4INCLConfig.hh.

◆ localEnergyPiString

std::string G4INCL::Config::localEnergyPiString
private

Definition at line 394 of file G4INCLConfig.hh.

◆ localEnergyPiType

LocalEnergyType G4INCL::Config::localEnergyPiType
private

Definition at line 395 of file G4INCLConfig.hh.

◆ logFileName

std::string G4INCL::Config::logFileName
private

Definition at line 363 of file G4INCLConfig.hh.

◆ maxNumberMultipions

G4int G4INCL::Config::maxNumberMultipions
private

Definition at line 461 of file G4INCLConfig.hh.

◆ naturalTarget

G4bool G4INCL::Config::naturalTarget
private

Definition at line 369 of file G4INCLConfig.hh.

◆ neutronHalo

G4double G4INCL::Config::neutronHalo
private

Definition at line 447 of file G4INCLConfig.hh.

◆ neutronSkin

G4double G4INCL::Config::neutronSkin
private

Definition at line 446 of file G4INCLConfig.hh.

◆ nShots

G4int G4INCL::Config::nShots
private

Definition at line 365 of file G4INCLConfig.hh.

◆ outputFileRoot

std::string G4INCL::Config::outputFileRoot
private

Definition at line 361 of file G4INCLConfig.hh.

◆ pauliString

std::string G4INCL::Config::pauliString
private

Definition at line 380 of file G4INCLConfig.hh.

◆ pauliType

PauliType G4INCL::Config::pauliType
private

Definition at line 381 of file G4INCLConfig.hh.

◆ phaseSpaceGenerator

std::string G4INCL::Config::phaseSpaceGenerator
private

Definition at line 454 of file G4INCLConfig.hh.

◆ phaseSpaceGeneratorType

PhaseSpaceGeneratorType G4INCL::Config::phaseSpaceGeneratorType
private

Definition at line 455 of file G4INCLConfig.hh.

◆ pionPotential

G4bool G4INCL::Config::pionPotential
private

Definition at line 389 of file G4INCLConfig.hh.

◆ potentialString

std::string G4INCL::Config::potentialString
private

Definition at line 387 of file G4INCLConfig.hh.

◆ potentialType

PotentialType G4INCL::Config::potentialType
private

Definition at line 388 of file G4INCLConfig.hh.

◆ projectileKineticEnergy

G4double G4INCL::Config::projectileKineticEnergy
private

Definition at line 373 of file G4INCLConfig.hh.

◆ projectileSpecies

ParticleSpecies G4INCL::Config::projectileSpecies
private

Definition at line 372 of file G4INCLConfig.hh.

◆ projectileString

std::string G4INCL::Config::projectileString
private

Definition at line 371 of file G4INCLConfig.hh.

◆ randomNumberGenerator

std::string G4INCL::Config::randomNumberGenerator
private

Definition at line 451 of file G4INCLConfig.hh.

◆ randomSeeds

std::string G4INCL::Config::randomSeeds
private

Definition at line 377 of file G4INCLConfig.hh.

◆ randomSeedVector

Random::SeedVector G4INCL::Config::randomSeedVector
private

Definition at line 378 of file G4INCLConfig.hh.

◆ refraction

G4bool G4INCL::Config::refraction
private

Definition at line 449 of file G4INCLConfig.hh.

◆ rngType

RNGType G4INCL::Config::rngType
private

Definition at line 452 of file G4INCLConfig.hh.

◆ rpCorrelationCoefficient

G4double G4INCL::Config::rpCorrelationCoefficient
private

Definition at line 442 of file G4INCLConfig.hh.

◆ rpCorrelationCoefficientNeutron

G4double G4INCL::Config::rpCorrelationCoefficientNeutron
private

Definition at line 444 of file G4INCLConfig.hh.

◆ rpCorrelationCoefficientProton

G4double G4INCL::Config::rpCorrelationCoefficientProton
private

Definition at line 443 of file G4INCLConfig.hh.

◆ separationEnergyString

std::string G4INCL::Config::separationEnergyString
private

Definition at line 423 of file G4INCLConfig.hh.

◆ separationEnergyType

SeparationEnergyType G4INCL::Config::separationEnergyType
private

Definition at line 424 of file G4INCLConfig.hh.

◆ targetSpecies

ParticleSpecies G4INCL::Config::targetSpecies
private

Definition at line 368 of file G4INCLConfig.hh.

◆ targetString

std::string G4INCL::Config::targetString
private

Definition at line 367 of file G4INCLConfig.hh.

◆ title

std::string G4INCL::Config::title
private

Definition at line 360 of file G4INCLConfig.hh.

◆ useRealMasses

G4bool G4INCL::Config::useRealMasses
private

Definition at line 419 of file G4INCLConfig.hh.

◆ verboseEvent

G4int G4INCL::Config::verboseEvent
private

Definition at line 375 of file G4INCLConfig.hh.

◆ verbosity

G4int G4INCL::Config::verbosity
private

Definition at line 358 of file G4INCLConfig.hh.


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