45 :theRadioactiveDecayContainer(theRadioactiveDecayContainer1)
49 grdmDirectory->SetGuidance(
"Controls for the Radioactive Decay Module.");
52 nucleuslimitsCmd =
new
54 nucleuslimitsCmd->SetGuidance
55 (
"Set the atomic weight and number limits for the RDM.");
56 nucleuslimitsCmd->SetParameterName(
"aMin",
"aMax",
"zMin",
"zMax",
true);
61 avolumeCmd->SetGuidance
62 (
"Suppply a logical volumes name to add it to the RDM apply list");
63 avolumeCmd->SetParameterName(
"aVolume",
false);
68 deavolumeCmd->SetGuidance
69 (
"Suppply a logical volumes name to remove it from the RDM apply list");
70 deavolumeCmd->SetParameterName(
"aVolume",
false);
75 allvolumesCmd->SetGuidance
76 (
" apply RDM to all logical volumes. No parameter required.");
82 deallvolumesCmd->SetGuidance
83 (
" RDM is not applied to any logical volumes");
88 icmCmd->SetGuidance(
"Command not active; kept for backward compatibility.");
89 icmCmd->SetGuidance(
"Internal conversion is always turned on.");
90 icmCmd->SetParameterName(
"applyICM",
true);
91 icmCmd->SetDefaultValue(
true);
95 armCmd->SetGuidance(
"True: ARM is applied; false: no");
96 armCmd->SetParameterName(
"applyARM",
true);
97 armCmd->SetDefaultValue(
true);
102 colldirCmd->SetGuidance(
"Supply the direction vector for decay products");
103 colldirCmd->SetParameterName(
"X",
"Y",
"Z",
false);
107 collangleCmd->SetGuidance
108 (
"Supply maximum angle from direction vector for decay products");
109 collangleCmd->SetParameterName(
"halfAngle",
false);
110 collangleCmd->SetUnitCategory(
"Angle");
114 verboseCmd->SetGuidance(
"Set verbose level: 0, 1, 2 or 3");
115 verboseCmd->SetParameterName(
"VerboseLevel",
true);
116 verboseCmd->SetDefaultValue(1);
117 verboseCmd->SetRange(
"VerboseLevel>=0");
120 userDecayDataCmd =
new G4UIcommand(
"/grdm/setRadioactiveDecayFile",
this);
121 userDecayDataCmd->SetGuidance(
"Supply user-defined radioactive decay data file");
125 Z_para->
SetGuidance(
"Z: Charge number of isotope");
132 FileName_para->
SetGuidance(
"Name of the user data file");
134 userDecayDataCmd->SetParameter(Z_para);
135 userDecayDataCmd->SetParameter(A_para);
136 userDecayDataCmd->SetParameter(FileName_para);
139 userEvaporationDataCmd =
new G4UIcommand(
"/grdm/setPhotoEvaporationFile",
this);
140 userEvaporationDataCmd->SetGuidance(
"Supply user-defined photon evaporation data file");
151 FileNamepara->
SetGuidance(
"Name of the user data file");
153 userEvaporationDataCmd->SetParameter(Zpara);
154 userEvaporationDataCmd->SetParameter(Apara);
155 userEvaporationDataCmd->SetParameter(FileNamepara);
200 }
else if (command ==
icmCmd) {
204 }
else if (command ==
armCmd) {
211 const char* nv = (
const char*)newValues;
212 std::istringstream is(nv);
213 is >> Z >> A >> file_name;
219 const char* nv = (
const char*)newValues;
220 std::istringstream is(nv);
221 is >> Z >> A >> file_name;