51 :
G4UImessenger(), theParams(params), cmdDir(0), localCmdDir(false) {
53 CreateDirectory(
"/process/had/cascade/",
"Bertini-esque cascade parameters");
55 verboseCmd = CreateCommand<G4UIcmdWithAnInteger>(
"verbose",
56 "Enable information messages");
57 balanceCmd = CreateCommand<G4UIcmdWithABool>(
"checkBalance",
58 "Enable internal conservation checking");
59 reportCmd = CreateCommand<G4UIcmdWithoutParameter>(
"report",
60 "Dump all non-default parameter settings");
61 usePreCoCmd = CreateCommand<G4UIcmdWithABool>(
"usePreCompound",
62 "Use PreCompoundModel for nuclear de-excitation");
63 doCoalCmd = CreateCommand<G4UIcmdWithABool>(
"doCoalescence",
64 "Apply final-state nucleon clustering");
65 piNAbsCmd = CreateCommand<G4UIcmdWithABool>(
"piNAbsorption",
66 "Allow pion absorption on single nucleon");
67 historyCmd = CreateCommand<G4UIcmdWithABool>(
"showHistory",
68 "Collect and report full structure of cascade");
69 use3BodyCmd = CreateCommand<G4UIcmdWithABool>(
"use3BodyMom",
70 "Use three-body momentum parametrizations");
71 usePSCmd = CreateCommand<G4UIcmdWithABool>(
"usePhaseSpace",
72 "Use Kopylov N-body momentum generator");
73 randomFileCmd = CreateCommand<G4UIcmdWithAString>(
"randomFile",
74 "Save random-engine to file at each interaction");
75 nucUseBestCmd = CreateCommand<G4UIcmdWithABool>(
"useBestNuclearModel",
76 "Use all physical-units for nuclear structure");
77 nucRad2parCmd = CreateCommand<G4UIcmdWithADouble>(
"useTwoParamNuclearRadius",
78 "Use R = C1*cbrt(A) + C2/cbrt(A)");
79 nucRadScaleCmd = CreateCommand<G4UIcmdWithADouble>(
"nuclearRadiusScale",
80 "Set length scale for nuclear model");
81 nucRadSmallCmd = CreateCommand<G4UIcmdWithADouble>(
"smallNucleusRadius",
82 "Set radius of A<4 nuclei");
83 nucRadAlphaCmd = CreateCommand<G4UIcmdWithADouble>(
"alphaRadiusScale",
84 "Fraction of small-radius for He-4");
86 "Effective nucleon radius for trailing effect");
88 "Scale factor for fermi momentum");
89 nucXsecScaleCmd = CreateCommand<G4UIcmdWithADouble>(
"crossSectionScale",
90 "Scale fator for total cross-sections");
91 nucGammaQDCmd = CreateCommand<G4UIcmdWithADouble>(
"gammaQuasiDeutScale",
92 "Scale factor for gamma-quasideutron cross-sections");
93 coalDPmax2Cmd = CreateCommand<G4UIcmdWithADouble>(
"cluster2DPmax",
94 "Maximum momentum for p-n clusters");
95 coalDPmax3Cmd = CreateCommand<G4UIcmdWithADouble>(
"cluster3DPmax",
96 "Maximum momentum for ppn/pnn clusters");
97 coalDPmax4Cmd = CreateCommand<G4UIcmdWithADouble>(
"cluster4DPmax",
98 "Maximum momentum for alpha clusters");
137 if (fullPath(0) !=
'/') fullPath.
prepend(
"/");
138 if (fullPath(fullPath.length()-1) !=
'/') fullPath.
append(
"/");
const char * G4NUCMODEL_USE_BEST
G4UIcmdWithABool * usePSCmd
const char * DPMAX_2CLUSTER
void DumpConfig(std::ostream &os) const
G4UIcmdWithADouble * nucRad2parCmd
const char * G4NUCMODEL_RAD_SMALL
G4UIcommand * FindPath(const char *commandPath) const
const char * G4CASCADE_VERBOSE
const char * G4CASCADE_SHOW_HISTORY
G4UIcmdWithABool * nucUseBestCmd
G4UIcmdWithABool * use3BodyCmd
virtual ~G4CascadeParamMessenger()
G4CascadeParameters * theParams
G4UIcmdWithADouble * nucRadAlphaCmd
const char * G4NUCMODEL_XSEC_SCALE
static G4UImanager * GetUIpointer()
G4UIcmdWithADouble * nucFermiScaleCmd
G4String & prepend(const char *)
const char * G4CASCADE_DO_COALESCENCE
G4UIcmdWithABool * usePreCoCmd
const char * DPMAX_4CLUSTER
G4UIcmdWithADouble * nucRadSmallCmd
const char * G4NUCMODEL_RAD_TRAILING
G4GLOB_DLL std::ostream G4cout
G4UIcmdWithAnInteger * verboseCmd
const char * G4NUCMODEL_RAD_2PAR
const char * G4NUCMODEL_RAD_SCALE
const char * G4NUCMODEL_FERMI_SCALE
G4UIcmdWithADouble * nucRadScaleCmd
G4UIcmdWithABool * balanceCmd
void SetGuidance(const char *aGuidance)
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
const char * DPMAX_3CLUSTER
const char * G4CASCADE_PIN_ABSORPTION
G4UIcmdWithADouble * coalDPmax2Cmd
G4UIcmdWithADouble * nucXsecScaleCmd
G4UIcmdWithABool * piNAbsCmd
const char * G4CASCADE_CHECK_ECONS
G4UIcmdWithoutParameter * reportCmd
G4UIcmdWithADouble * nucRadTrailingCmd
G4UIcmdWithADouble * nucGammaQDCmd
G4UIcommandTree * GetTree() const
const char * G4CASCADE_USE_3BODYMOM
G4String & append(const G4String &)
G4CascadeParamMessenger(G4CascadeParameters *params)
const char * G4CASCADE_USE_PRECOMPOUND
const char * G4CASCADE_USE_PHASESPACE
const char * G4CASCADE_RANDOM_FILE
G4UIcmdWithABool * doCoalCmd
G4UIcmdWithABool * historyCmd
G4UIcmdWithADouble * coalDPmax3Cmd
void CreateDirectory(const char *path, const char *desc)
const char * G4NUCMODEL_GAMMAQD
const char * G4NUCMODEL_RAD_ALPHA
G4UIcmdWithADouble * coalDPmax4Cmd
G4UIcmdWithAString * randomFileCmd