46:theRadioactiveDecayContainer(theRadioactiveDecayContainer1)
50 old_grdmDirectory->
SetGuidance(
"Controls for the Radioactive Decay Module.");
53 rdmDirectory->
SetGuidance(
"Controls for the Radioactive Decay Module.");
57 old_nucleuslimitsCmd->
SetGuidance(
"Set the atomic weight and number limits for the RDM.");
58 old_nucleuslimitsCmd->
SetParameterName(
"OldAMin",
"OldAMax",
"OldZMin",
"OldZMax",
true);
61 nucleuslimitsCmd->
SetGuidance(
"Set the atomic weight and number limits for the RDM.");
66 old_avolumeCmd->
SetGuidance(
"Supply a logical volumes name to add it to the RDM apply list");
70 avolumeCmd->
SetGuidance(
"Supply a logical volumes name to add it to the RDM apply list");
75 old_deavolumeCmd->
SetGuidance(
"Supply a logical volumes name to remove it from the RDM apply list");
79 deavolumeCmd->
SetGuidance(
"Supply a logical volumes name to remove it from the RDM apply list");
84 old_allvolumesCmd->
SetGuidance(
" apply RDM to all logical volumes. No parameter required.");
88 allvolumesCmd->
SetGuidance(
" apply RDM to all logical volumes. No parameter required.");
93 old_deallvolumesCmd->
SetGuidance(
" RDM is not applied to any logical volumes");
97 deallvolumesCmd->
SetGuidance(
" RDM is not applied to any logical volumes");
102 old_icmCmd->
SetGuidance(
"Command not active; kept for backward compatibility.");
103 old_icmCmd->
SetGuidance(
"Internal conversion is always turned on.");
108 icmCmd->
SetGuidance(
"Command not active; kept for backward compatibility.");
109 icmCmd->
SetGuidance(
"Internal conversion is always turned on.");
115 old_armCmd->
SetGuidance(
"True: ARM is applied; false: no");
121 armCmd->
SetGuidance(
"True: ARM is applied; false: no");
128 old_colldirCmd->
SetGuidance(
"Supply the direction vector for decay products");
132 colldirCmd->
SetGuidance(
"Supply the direction vector for decay products");
137 old_collangleCmd->
SetGuidance(
"Supply maximum angle from direction vector for decay products");
142 collangleCmd->
SetGuidance(
"Supply maximum angle from direction vector for decay products");
148 old_verboseCmd->
SetGuidance(
"Set verbose level: 0, 1, 2 or 3");
151 old_verboseCmd->
SetRange(
"OldVerboseLevel>=0");
154 verboseCmd->
SetGuidance(
"Set verbose level: 0, 1, 2 or 3");
157 verboseCmd->
SetRange(
"VerboseLevel>=0");
160 old_userDecayDataCmd =
new G4UIcommand(
"/grdm/setRadioactiveDecayFile",
this);
161 old_userDecayDataCmd->
SetGuidance(
"Supply user-defined radioactive decay data file");
164 old_Z_para->
SetGuidance(
"Z: Charge number of isotope");
167 old_A_para->
SetGuidance(
"A: mass number of isotope");
169 old_FileName_para->
SetGuidance(
"Name of the user data file");
174 userDecayDataCmd =
new G4UIcommand(
"/process/had/rdm/setRadioactiveDecayFile",
this);
175 userDecayDataCmd->
SetGuidance(
"Supply user-defined radioactive decay data file");
178 Z_para->
SetGuidance(
"Z: Charge number of isotope");
183 FileName_para->
SetGuidance(
"Name of the user data file");
189 old_userEvaporationDataCmd =
new G4UIcommand(
"/grdm/setPhotoEvaporationFile",
this);
190 old_userEvaporationDataCmd->
SetGuidance(
"Supply user-defined photon evaporation data file");
193 old_Zpara->
SetGuidance(
"Z: Charge number of isotope");
196 old_Apara->
SetGuidance(
"A: mass number of isotope");
198 old_FileNamepara->
SetGuidance(
"Name of the user data file");
201 old_userEvaporationDataCmd->
SetParameter(old_FileNamepara);
203 userEvaporationDataCmd =
new G4UIcommand(
"/process/had/rdm/setPhotoEvaporationFile",
this);
204 userEvaporationDataCmd->
SetGuidance(
"Supply user-defined photon evaporation data file");
212 FileNamepara->
SetGuidance(
"Name of the user data file");
221 delete old_grdmDirectory;
223 delete old_nucleuslimitsCmd;
224 delete nucleuslimitsCmd;
225 delete old_verboseCmd;
227 delete old_avolumeCmd;
229 delete old_deavolumeCmd;
231 delete old_allvolumesCmd;
232 delete allvolumesCmd;
233 delete old_deallvolumesCmd;
234 delete deallvolumesCmd;
239 delete old_userDecayDataCmd;
240 delete userDecayDataCmd;
241 delete old_userEvaporationDataCmd;
242 delete userEvaporationDataCmd;
243 delete old_colldirCmd;
245 delete old_collangleCmd;
254 if ( command == old_nucleuslimitsCmd ) {
255 theRadioactiveDecayContainer->
258 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
259 <<
"/process/had/rdm/nucleusLimits in the next major release, Geant4 version 11.0";
261 }
else if ( command == old_avolumeCmd ) {
264 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
265 <<
"/process/had/rdm/selectVolume in the next major release, Geant4 version 11.0";
267 }
else if ( command == old_deavolumeCmd ) {
270 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
271 <<
"/process/had/rdm/deselectVolume in the next major release, Geant4 version 11.0";
273 }
else if ( command == old_allvolumesCmd ) {
276 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
277 <<
"/process/had/rdm/allVolumes in the next major release, Geant4 version 11.0";
279 }
else if ( command == old_deallvolumesCmd ) {
282 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
283 <<
"/process/had/rdm/noVolumes in the next major release, Geant4 version 11.0";
285 }
else if ( command == old_verboseCmd ) {
288 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
289 <<
"/process/had/rdm/verbose in the next major release, Geant4 version 11.0";
291 }
else if ( command == old_icmCmd ) {
294 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
295 <<
"/process/had/rdm/applyICM in the next major release, Geant4 version 11.0";
297 }
else if ( command == old_armCmd ) {
300 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
301 <<
"/process/had/rdm/applyARM in the next major release, Geant4 version 11.0";
303 }
else if ( command == old_userDecayDataCmd ) {
306 const char* nv = (
const char*)newValues;
307 std::istringstream is(nv);
308 is >> Z >>
A >> file_name;
311 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
312 <<
"/process/had/rdm/setRadioactiveDecayFile in the next major release, Geant4 version 11.0";
314 }
else if ( command == old_userEvaporationDataCmd ) {
317 const char* nv = (
const char*)newValues;
318 std::istringstream is(nv);
319 is >> Z >>
A >> file_name;
322 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
323 <<
"/process/had/rdm/setPhotoEvaporationFile in the next major release, Geant4 version 11.0";
325 }
else if ( command == old_colldirCmd ) {
328 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
329 <<
"/process/had/rdm/decayDirection in the next major release, Geant4 version 11.0";
331 }
else if ( command == old_collangleCmd ) {
334 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
335 <<
"/process/had/rdm/decayHalfAngle in the next major release, Geant4 version 11.0";
340 if ( command == nucleuslimitsCmd ) {
341 theRadioactiveDecayContainer->
343 }
else if ( command == avolumeCmd ) {
345 }
else if ( command == deavolumeCmd ) {
347 }
else if ( command == allvolumesCmd ) {
349 }
else if ( command == deallvolumesCmd ) {
351 }
else if ( command == verboseCmd ) {
353 }
else if ( command == icmCmd ) {
355 }
else if ( command == armCmd ) {
357 }
else if ( command == userDecayDataCmd ) {
360 const char* nv = (
const char*)newValues;
361 std::istringstream is(nv);
362 is >> Z >>
A >> file_name;
364 }
else if ( command == userEvaporationDataCmd ) {
367 const char* nv = (
const char*)newValues;
368 std::istringstream is(nv);
369 is >> Z >>
A >> file_name;
371 }
else if ( command == colldirCmd ) {
373 }
else if ( command == collangleCmd ) {
double A(double temperature)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4bool AddPrivateData(G4int Z, G4int A, const G4String &filename)
static G4NuclearLevelData * GetInstance()
G4RadioactiveDecayBaseMessenger(G4RadioactiveDecayBase *theRadioactiveDecayContainer)
~G4RadioactiveDecayBaseMessenger()
void SetNewValue(G4UIcommand *command, G4String newValues)
void AddUserDecayDataFile(G4int Z, G4int A, G4String filename)
void DeselectAVolume(const G4String aVolume)
void SelectAVolume(const G4String aVolume)
void SetVerboseLevel(G4int value)
void SetDecayHalfAngle(G4double halfAngle=0.*CLHEP::deg)
void SetDecayDirection(const G4ThreeVector &theDir)
void DeselectAllVolumes()
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void SetParameterName(const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
static G4bool GetNewBoolValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4bool defVal)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
G4NucleusLimits GetNewNucleusLimitsValue(G4String paramString)
void SetParameterName(const char *theNameAMin, const char *theNameAMax, const char *theNameZMin, const char *theNameZMax, G4bool omittable, G4bool currentAsDefault=true)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)
void SetGuidance(const char *theGuidance)
void SetParameterRange(const char *theRange)