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);
62 fbetaCmd->SetGuidance(
"Fast (approximate) beta decay no longer used.");
63 fbetaCmd->SetGuidance(
"Kept for backward compatibility.");
64 fbetaCmd->SetParameterName(
"fBeta",
true);
65 fbetaCmd->SetDefaultValue(
false);
70 avolumeCmd->SetGuidance
71 (
"Suppply a logical volumes name to add it to the RDM apply list");
72 avolumeCmd->SetParameterName(
"aVolume",
false);
77 deavolumeCmd->SetGuidance
78 (
"Suppply a logical volumes name to remove it from the RDM apply list");
79 deavolumeCmd->SetParameterName(
"aVolume",
false);
84 allvolumesCmd->SetGuidance
85 (
" apply RDM to all logical volumes. No parameter required.");
91 deallvolumesCmd->SetGuidance
92 (
" RDM is not applied to any logical volumes");
97 icmCmd->SetGuidance(
"Command not active; kept for backward compatibility.");
98 icmCmd->SetGuidance(
"Internal conversion is always turned on.");
99 icmCmd->SetParameterName(
"applyICM",
true);
100 icmCmd->SetDefaultValue(
true);
104 armCmd->SetGuidance(
"True: ARM is applied; false: no");
105 armCmd->SetParameterName(
"applyARM",
true);
106 armCmd->SetDefaultValue(
true);
111 colldirCmd->SetGuidance(
"Supply the direction vector for decay products");
112 colldirCmd->SetParameterName(
"X",
"Y",
"Z",
false);
116 collangleCmd->SetGuidance
117 (
"Supply maximum angle from direction vector for decay products");
118 collangleCmd->SetParameterName(
"halfAngle",
false);
119 collangleCmd->SetUnitCategory(
"Angle");
123 verboseCmd->SetGuidance(
"Set verbose level: 0, 1, 2 or 3");
124 verboseCmd->SetParameterName(
"VerboseLevel",
true);
125 verboseCmd->SetDefaultValue(1);
126 verboseCmd->SetRange(
"VerboseLevel>=0");
129 userDecayDataCmd =
new G4UIcommand(
"/grdm/setRadioactiveDecayFile",
this);
130 userDecayDataCmd->SetGuidance(
"Supply user-defined radioactive decay data file");
134 Z_para->
SetGuidance(
"Z: Charge number of isotope");
141 FileName_para->
SetGuidance(
"Name of the user data file");
143 userDecayDataCmd->SetParameter(Z_para);
144 userDecayDataCmd->SetParameter(A_para);
145 userDecayDataCmd->SetParameter(FileName_para);
148 userEvaporationDataCmd =
new G4UIcommand(
"/grdm/setPhotoEvaporationFile",
this);
149 userEvaporationDataCmd->SetGuidance(
"Supply user-defined photon evaporation data file");
160 FileNamepara->
SetGuidance(
"Name of the user data file");
162 userEvaporationDataCmd->SetParameter(Zpara);
163 userEvaporationDataCmd->SetParameter(Apara);
164 userEvaporationDataCmd->SetParameter(FileNamepara);
213 }
else if (command==
icmCmd) {
217 }
else if (command==
armCmd) {
224 const char* nv = (
const char*)newValues;
225 std::istringstream is(nv);
226 is >> Z >> A >> file_name;
232 const char* nv = (
const char*)newValues;
233 std::istringstream is(nv);
234 is >> Z >> A >> file_name;
G4UIcommand * userEvaporationDataCmd
G4UIdirectory * grdmDirectory
G4NucleusLimits GetNewNucleusLimitsValue(G4String paramString)
G4UIcmdWithADoubleAndUnit * collangleCmd
static G4NuclearLevelData * GetInstance()
G4bool AddPrivateData(G4int Z, G4int A, const G4String &filename)
G4UIcmdWithABool * armCmd
G4UIcmdWithAString * deavolumeCmd
~G4RadioactiveDecayBaseMessenger()
void SetGuidance(const char *theGuidance)
static G4bool GetNewBoolValue(const char *paramString)
void SetParameterRange(const char *theRange)
G4UIcmdWithABool * fbetaCmd
static G4double GetNewDoubleValue(const char *paramString)
void SelectAVolume(const G4String aVolume)
void SetNewValue(G4UIcommand *command, G4String newValues)
G4UIcmdWithAnInteger * verboseCmd
G4UIcmdWithoutParameter * deallvolumesCmd
G4UIcmdWith3Vector * colldirCmd
G4UIcmdWithNucleusLimits * nucleuslimitsCmd
double A(double temperature)
G4UIcmdWithoutParameter * allvolumesCmd
G4RadioactiveDecayBaseMessenger(G4RadioactiveDecayBase *theRadioactiveDecayContainer)
void DeselectAVolume(const G4String aVolume)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
G4UIcommand * userDecayDataCmd
void DeselectAllVolumes()
void AddUserDecayDataFile(G4int Z, G4int A, G4String filename)
static G4int GetNewIntValue(const char *paramString)
G4UIcmdWithABool * icmCmd
G4RadioactiveDecayBase * theRadioactiveDecayContainer
G4UIcmdWithAString * avolumeCmd