33 #define INCLXX_IN_GEANT4_MODE 1
48 const G4String G4INCLXXInterfaceMessenger::theUIDirectory =
"/process/had/inclxx/";
51 theINCLXXInterfaceStore(anInterfaceStore)
55 theINCLXXDirectory->
SetGuidance(
"Parameters for the INCL++ model");
60 accurateNucleusCmd->
SetGuidance(
"Set which nucleus will be accurately described in nucleus-nucleus reactions.");
61 accurateNucleusCmd->
SetGuidance(
" projectile: accurate description of projectile-related quantities");
62 accurateNucleusCmd->
SetGuidance(
" target: accurate description of target-related quantities");
63 accurateNucleusCmd->
SetGuidance(
" Default: projectile");
70 maxClusterMassCmd->
SetGuidance(
"Set the maximum cluster mass.");
71 maxClusterMassCmd->
SetGuidance(
" The INCL++ cascade stage will produce clusters with mass up to the value of this parameter (included)");
72 maxClusterMassCmd->
SetGuidance(
" Allowed range: [2,12]");
75 maxClusterMassCmd->
SetRange(
"MaxClusterMass>=2 && MaxClusterMass<=12");
79 cascadeMinEnergyPerNucleonCmd->
SetGuidance(
"Set the minimum energy per nucleon at which cascade will be used.");
80 cascadeMinEnergyPerNucleonCmd->
SetGuidance(
" INCL++ will rely on PreCompound for reactions induced by projectiles slower than the given energy (per nucleon, where applicable)");
81 cascadeMinEnergyPerNucleonCmd->
SetParameterName(
"cascadeMinEnergyPerNucleon",
true);
83 cascadeMinEnergyPerNucleonCmd->
SetRange(
"cascadeMinEnergyPerNucleon>=0");
89 delete theINCLXXDirectory;
90 delete accurateNucleusCmd;
91 delete maxClusterMassCmd;
92 delete cascadeMinEnergyPerNucleonCmd;
96 if(command==accurateNucleusCmd) {
98 if(newValues==
"projectile") {
100 }
else if(newValues==
"target") {
103 }
else if(command==maxClusterMassCmd) {
106 }
else if(command==cascadeMinEnergyPerNucleonCmd) {
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4double defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
~G4INCLXXInterfaceMessenger()
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetAccurateProjectile(const G4bool b)
Setter for accurateProjectile.
Singleton class for configuring the INCL++ Geant4 interface.
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void SetCascadeMinEnergyPerNucleon(const G4double anEnergy)
Setter for cascadeMinEnergyPerNucleon.
G4INCLXXInterfaceMessenger(G4INCLXXInterfaceStore *anInterfaceStore)
void SetDefaultValue(const char *defVal)
Messenger class for the Geant4 INCL++ interface.
void SetDefaultValue(G4int defVal)
void SetMaxClusterMass(const G4int aMass)
Setter for theMaxClusterMass.
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
const XML_Char const XML_Char * data
void SetNewValue(G4UIcommand *command, G4String newValues)