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