Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCL::Config Class Reference

#include <G4INCLConfig.hh>

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
 
G4double getDecayTimeThreshold () const
 Get the hadronization time. More...
 
void setDecayTimeThreshold (const G4double t)
 Set the hadronization time. More...
 

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...
 

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

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:

G4INCL::Config::~Config ( )

Default destructor.

Definition at line 49 of file G4INCLConfig.cc.

49 {}

Member Function Documentation

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

Get the autosave frequency.

Definition at line 327 of file G4INCLConfig.hh.

327 { return autosaveFrequency; }
G4bool G4INCL::Config::getBackToSpectator ( ) const
inline

Get back-to-spectator.

Definition at line 199 of file G4INCLConfig.hh.

199 { return backToSpectator; }

Here is the caller graph for this function:

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

Get the run title.

Definition at line 78 of file G4INCLConfig.hh.

78 { return title; }
CascadeActionType G4INCL::Config::getCascadeActionType ( ) const
inline

Get the cascade-action type.

Definition at line 321 of file G4INCLConfig.hh.

321 { return cascadeActionType; }

Here is the caller graph for this function:

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:

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

Get the clustering algorithm.

Definition at line 187 of file G4INCLConfig.hh.

187 { return clusterAlgorithmType; }

Here is the caller graph for this function:

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:

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

Get the Coulomb-distortion algorithm.

Definition at line 148 of file G4INCLConfig.hh.

148 { return coulombType; }

Here is the caller graph for this function:

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

Get the Cross Section type.

Definition at line 333 of file G4INCLConfig.hh.

333 { return crossSectionsType; }

Here is the caller graph for this function:

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:

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

Get the hadronization time.

Definition at line 357 of file G4INCLConfig.hh.

357 { return decayTimeThreshold; }
std::string G4INCL::Config::getDeExcitationString ( ) const
inline

Get the de-excitation string.

Definition at line 184 of file G4INCLConfig.hh.

184 { return deExcitationString; }

Here is the caller graph for this function:

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

Get the de-excitation model.

Definition at line 181 of file G4INCLConfig.hh.

181 { return deExcitationType; }
G4double G4INCL::Config::getFermiMomentum ( ) const
inline

Get the Fermi momentum.

Definition at line 246 of file G4INCLConfig.hh.

246 { return fermiMomentum; }

Here is the caller graph for this function:

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

Get the Fermi-momentum type.

Definition at line 240 of file G4INCLConfig.hh.

240 { return fermiMomentumType; }

Here is the caller graph for this function:

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

Get the hadronization time.

Definition at line 345 of file G4INCLConfig.hh.

345 { return hadronizationTime; }

Here is the caller graph for this function:

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

Definition at line 234 of file G4INCLConfig.hh.

234 { return impactParameter; }

Here is the caller graph for this function:

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

Definition at line 213 of file G4INCLConfig.hh.

213  {
214  return INCLXXDataFilePath;
215  }

Here is the caller graph for this function:

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

Definition at line 354 of file G4INCLConfig.hh.

354 { return inverseKinematics; }
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; }

Here is the caller graph for this function:

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; }

Here is the caller graph for this function:

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

Get the log file name.

Definition at line 178 of file G4INCLConfig.hh.

178 { return logFileName; }
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; }

Here is the caller graph for this function:

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

Get the neutron-halo size.

Definition at line 297 of file G4INCLConfig.hh.

297 { return neutronHalo; }

Here is the caller graph for this function:

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

Get the neutron-skin thickness.

Definition at line 291 of file G4INCLConfig.hh.

291 { return neutronSkin; }

Here is the caller graph for this function:

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

Get the number of shots.

Definition at line 84 of file G4INCLConfig.hh.

84 { return nShots; }
std::string const& G4INCL::Config::getOutputFileRoot ( ) const
inline

Get the output file root.

Definition at line 81 of file G4INCLConfig.hh.

81 { return outputFileRoot; }
PauliType G4INCL::Config::getPauliType ( ) const
inline

Get the Pauli-blocking algorithm.

Definition at line 142 of file G4INCLConfig.hh.

142 { return pauliType; }

Here is the caller graph for this function:

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

Get the phase-space-generator type.

Definition at line 315 of file G4INCLConfig.hh.

315 { return phaseSpaceGeneratorType; }

Here is the caller graph for this function:

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

Do we want the pion potential?

Definition at line 160 of file G4INCLConfig.hh.

160 { return pionPotential; }

Here is the caller graph for this function:

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; }

Here is the caller graph for this function:

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

Get the projectile kinetic energy.

Definition at line 115 of file G4INCLConfig.hh.

115 { return projectileKineticEnergy; }

Here is the caller graph for this function:

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

Get the projectile species.

Definition at line 109 of file G4INCLConfig.hh.

109 { return projectileSpecies; }

Here is the caller graph for this function:

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

Get the projectile type.

Definition at line 106 of file G4INCLConfig.hh.

106 { return projectileSpecies.theType; }
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  }
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:

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

Get the RNG type.

Definition at line 309 of file G4INCLConfig.hh.

309 { return rngType; }
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);
272  return ((t==Proton) ? rpCorrelationCoefficientProton : rpCorrelationCoefficientNeutron);
273  }

Here is the caller graph for this function:

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

Get the separation-energy type.

Definition at line 237 of file G4INCLConfig.hh.

237 { return separationEnergyType; }

Here is the caller graph for this function:

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; }

Here is the caller graph for this function:

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

Get the target charge number.

Definition at line 97 of file G4INCLConfig.hh.

97 { return targetSpecies.theZ; }

Here is the caller graph for this function:

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

Whether to use real masses.

Definition at line 205 of file G4INCLConfig.hh.

205 { return useRealMasses; }

Here is the caller graph for this function:

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

Get the number of the verbose event.

Definition at line 121 of file G4INCLConfig.hh.

121 { return verboseEvent; }
G4int G4INCL::Config::getVerbosity ( ) const
inline

Get the verbosity.

Definition at line 75 of file G4INCLConfig.hh.

75 { return verbosity; }
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:

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:

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:

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 = 1.;
97  rpCorrelationCoefficientProton = 1.;
98  rpCorrelationCoefficientNeutron = 1.;
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 = "multipions-resonances";
111  crossSectionsType = MultiPionsAndResonancesCrossSections;
112  hadronizationTime = 0.;
113 #ifdef INCL_ROOT_USE
114  conciseROOTTree = false;
115 #endif
116  inverseKinematics = false;
117  decayTimeThreshold = 1.e-18;
118  }

Here is the caller graph for this function:

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

Natural targets.

Definition at line 87 of file G4INCLConfig.hh.

87 { return naturalTarget; }

Here is the caller graph for this function:

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

Set the autosave frequency.

Definition at line 330 of file G4INCLConfig.hh.

330 { autosaveFrequency=f; }
void G4INCL::Config::setBackToSpectator ( const G4bool  b)
inline

Set back-to-spectator.

Definition at line 202 of file G4INCLConfig.hh.

202 { backToSpectator = b; }
tuple b
Definition: test.py:12

Here is the caller graph for this function:

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

Set the cascade-action type.

Definition at line 324 of file G4INCLConfig.hh.

324 { cascadeActionType=c; }
tuple c
Definition: test.py:13
void G4INCL::Config::setClusterAlgorithm ( ClusterAlgorithmType const  c)
inline

Set the clustering algorithm.

Definition at line 190 of file G4INCLConfig.hh.

190 { clusterAlgorithmType = c; }
tuple c
Definition: test.py:13

Here is the caller graph for this function:

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 constexpr double m
Definition: G4SIunits.hh:129

Here is the caller graph for this function:

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

Set the Coulomb-distortion algorithm.

Definition at line 151 of file G4INCLConfig.hh.

151 { coulombType = c; }
tuple c
Definition: test.py:13

Here is the caller graph for this function:

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

Set the Cross Section type.

Definition at line 342 of file G4INCLConfig.hh.

342 { crossSectionsType=c; }
tuple c
Definition: test.py:13

Here is the caller graph for this function:

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

Set the hadronization time.

Definition at line 360 of file G4INCLConfig.hh.

360 { decayTimeThreshold=t; }
void G4INCL::Config::setFermiMomentum ( const G4double  p)
inline

Set the Fermi momentum.

Definition at line 249 of file G4INCLConfig.hh.

249 { fermiMomentum = p; }
const char * p
Definition: xmltok.h:285
void G4INCL::Config::setFermiMomentumType ( FermiMomentumType const  f)
inline

Set the Fermi-momentum type.

Definition at line 243 of file G4INCLConfig.hh.

243 { fermiMomentumType=f; }
void G4INCL::Config::setHadronizationTime ( const G4double  t)
inline

Set the hadronization time.

Definition at line 348 of file G4INCLConfig.hh.

348 { hadronizationTime=t; }
void G4INCL::Config::setINCLXXDataFilePath ( std::string const &  s)
inline

Set the INCLXX datafile path.

Definition at line 211 of file G4INCLConfig.hh.

211 { INCLXXDataFilePath=s; }
const XML_Char * s
Definition: expat.h:262
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; }

Here is the caller graph for this function:

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; }

Here is the caller graph for this function:

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.

339 { maxNumberMultipions=n; }
const G4int n
void G4INCL::Config::setNeutronHalo ( const G4double  d)
inline

Set the neutron-halo size.

Definition at line 300 of file G4INCLConfig.hh.

300 { neutronHalo=d; }
void G4INCL::Config::setNeutronSkin ( const G4double  d)
inline

Set the neutron-skin thickness.

Definition at line 294 of file G4INCLConfig.hh.

294 { neutronSkin=d; }
void G4INCL::Config::setPhaseSpaceGeneratorType ( PhaseSpaceGeneratorType const  p)
inline

Set the phase-space-generator type.

Definition at line 318 of file G4INCLConfig.hh.

318 { phaseSpaceGeneratorType=p; }
const char * p
Definition: xmltok.h:285
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; }

Here is the caller graph for this function:

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; }

Here is the caller graph for this function:

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

Set the projectile kinetic energy.

Definition at line 118 of file G4INCLConfig.hh.

118 { projectileKineticEnergy=kinE; }
void G4INCL::Config::setProjectileSpecies ( ParticleSpecies const &  ps)
inline

Set the projectile species.

Definition at line 112 of file G4INCLConfig.hh.

112 { projectileSpecies=ps; }
static constexpr double ps
Definition: G4SIunits.hh:172
void G4INCL::Config::setRefraction ( const G4bool  r)
inline

Set the refraction variable.

Definition at line 306 of file G4INCLConfig.hh.

306 { refraction = r; }
void G4INCL::Config::setRNGType ( RNGType const  r)
inline

Set the RNG type.

Definition at line 312 of file G4INCLConfig.hh.

312 { rngType=r; }
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)
279  rpCorrelationCoefficientProton=corrCoeff;
280  else
281  rpCorrelationCoefficientNeutron=corrCoeff;
282  }

Here is the caller graph for this function:

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:

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)

Here is the call graph for this function:

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

Set target charge number.

Definition at line 103 of file G4INCLConfig.hh.

103 { targetSpecies.theZ = Z; }
void G4INCL::Config::setUseRealMasses ( G4bool  use)
inline

Set whether to use real masses.

Definition at line 208 of file G4INCLConfig.hh.

208 { useRealMasses = use; }
std::string G4INCL::Config::summary ( )

Return a summary of the run configuration.

Definition at line 120 of file G4INCLConfig.cc.

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

Here is the call graph for this function:

Friends And Related Function Documentation

friend class ::ConfigParser
friend

Definition at line 482 of file G4INCLConfig.hh.


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