46 :
G4UImessenger(), theParams(params), cmdDir(0), localCmdDir(
false) {
47
48 CreateDirectory(
"/process/had/cascade/",
"Bertini-esque cascade parameters");
49
50 verboseCmd = CreateCommand<G4UIcmdWithAnInteger>("verbose",
51 "Enable information messages");
52 reportCmd = CreateCommand<G4UIcmdWithoutParameter>("report",
53 "Dump all non-default parameter settings");
54 usePreCoCmd = CreateCommand<G4UIcmdWithABool>("usePreCompound",
55 "Use PreCompoundModel for nuclear de-excitation");
56 doCoalCmd = CreateCommand<G4UIcmdWithABool>("doCoalescence",
57 "Apply final-state nucleon clustering");
58 randomFileCmd = CreateCommand<G4UIcmdWithAString>("randomFile",
59 "Save random-engine to file at each interaction");
60 nucUseBestCmd = CreateCommand<G4UIcmdWithABool>("useBestNuclearModel",
61 "Use all physical-units for nuclear structure");
62 nucRad2parCmd = CreateCommand<G4UIcmdWithADouble>("useTwoParamNuclearRadius",
63 "Use R = C1*cbrt(A) + C2/cbrt(A)");
64 nucRadScaleCmd = CreateCommand<G4UIcmdWithADouble>("nuclearRadiusScale",
65 "Set length scale for nuclear model");
66 nucRadSmallCmd = CreateCommand<G4UIcmdWithADouble>("smallNucleusRadius",
67 "Set radius of A<4 nuclei");
68 nucRadAlphaCmd = CreateCommand<G4UIcmdWithADouble>("alphaRadiusScale",
69 "Fraction of small-radius for He-4");
70 nucRadTrailingCmd = CreateCommand<G4UIcmdWithADouble>("shadowningRadius",
71 "Effective nucleon radius for trailing effect");
72 nucFermiScaleCmd = CreateCommand<G4UIcmdWithADouble>("fermiScale",
73 "Scale factor for fermi momentum");
74 nucXsecScaleCmd = CreateCommand<G4UIcmdWithADouble>("crossSectionScale",
75 "Scale fator for total cross-sections");
76 nucGammaQDCmd = CreateCommand<G4UIcmdWithADouble>("gammaQuasiDeutScale",
77 "Scale factor for gamma-quasideutron cross-sections");
78 coalDPmax2Cmd = CreateCommand<G4UIcmdWithADouble>("cluster2DPmax",
79 "Maximum momentum for p-n clusters");
80 coalDPmax3Cmd = CreateCommand<G4UIcmdWithADouble>("cluster3DPmax",
81 "Maximum momentum for ppn/pnn clusters");
82 coalDPmax4Cmd = CreateCommand<G4UIcmdWithADouble>("cluster4DPmax",
83 "Maximum momentum for alpha clusters");
84}
void CreateDirectory(const char *path, const char *desc)