43 :theRadioactivationContainer(theRadioactivationContainer1)
46 old_grdmDirectory->
SetGuidance(
"Controls the biased version of radioactive decay");
49 rdmDirectory->
SetGuidance(
"Controls the biased version of radioactive decay");
53 old_analoguemcCmd->
SetGuidance(
"false: variance reduction method; true: analogue method");
58 analoguemcCmd->
SetGuidance(
"false: variance reduction method; true: analogue method");
64 old_brbiasCmd->
SetGuidance(
"false: no biasing; true: all branches are treated as equal");
69 brbiasCmd->
SetGuidance(
"false: no biasing; true: all branches are treated as equal");
75 old_hlthCmd->
SetGuidance(
"Set the h-l threshold for isomer production");
80 hlthCmd->
SetGuidance(
"Set the h-l threshold for isomer production");
87 (
"Supply the name of the ascii file containing the source particle time profile");
91 sourcetimeprofileCmd =
new G4UIcmdWithAString(
"/process/had/rdm/sourceTimeProfile",
this);
93 (
"Supply the name of the ascii file containing the source particle time profile");
100 (
"Supply the name of the ascii file containing the decay bias time profile");
104 decaybiasprofileCmd =
new G4UIcmdWithAString(
"/process/had/rdm/decayBiasProfile",
this);
106 (
"Supply the name of the ascii file containing the decay bias time profile");
112 old_splitnucleiCmd->
SetGuidance(
"Set number of splitting for the isotopes.");
115 old_splitnucleiCmd->
SetRange(
"OldNSplit>=1");
118 splitnucleiCmd->
SetGuidance(
"Set number of splitting for the isotopes.");
121 splitnucleiCmd->
SetRange(
"NSplit>=1");
127 delete old_grdmDirectory;
129 delete old_analoguemcCmd;
130 delete analoguemcCmd;
131 delete old_sourcetimeprofileCmd;
132 delete sourcetimeprofileCmd;
133 delete old_decaybiasprofileCmd;
134 delete decaybiasprofileCmd;
135 delete old_brbiasCmd;
137 delete old_splitnucleiCmd;
138 delete splitnucleiCmd;
147 if ( command == old_analoguemcCmd ) { theRadioactivationContainer->
148 SetAnalogueMonteCarlo( old_analoguemcCmd->
GetNewBoolValue( newValues ) );
150 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
151 <<
"/process/had/rdm/analogueMC in the next major release, Geant4 version 11.0";
153 }
else if ( command == old_brbiasCmd ) { theRadioactivationContainer->
156 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
157 <<
"/process/had/rdm/BRbias in the next major release, Geant4 version 11.0";
159 }
else if ( command == old_sourcetimeprofileCmd ) { theRadioactivationContainer->
160 SetSourceTimeProfile( newValues );
162 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
163 <<
"/process/had/rdm/sourceTimeProfile in the next major release, Geant4 version 11.0";
165 }
else if ( command == old_decaybiasprofileCmd ) { theRadioactivationContainer->
166 SetDecayBias( newValues );
168 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
169 <<
"/process/had/rdm/decayBiasProfile in the next major release, Geant4 version 11.0";
171 }
else if ( command == old_splitnucleiCmd ) { theRadioactivationContainer->
172 SetSplitNuclei( old_splitnucleiCmd->
GetNewIntValue( newValues ) );
174 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
175 <<
"/process/had/rdm/splitNuclei in the next major release, Geant4 version 11.0";
177 }
else if ( command == old_hlthCmd ) { theRadioactivationContainer->
180 ed <<
"This command is valid but deprecated and will be replaced with the command:\n"
181 <<
"/process/had/rdm/hlThreshold in the next major release, Geant4 version 11.0";
186 if ( command == analoguemcCmd ) { theRadioactivationContainer->
188 }
else if ( command == brbiasCmd ) { theRadioactivationContainer->
190 }
else if ( command == sourcetimeprofileCmd ) { theRadioactivationContainer->
191 SetSourceTimeProfile( newValues );
192 }
else if ( command == decaybiasprofileCmd ) { theRadioactivationContainer->
193 SetDecayBias( newValues );
194 }
else if ( command == splitnucleiCmd ) { theRadioactivationContainer->
196 }
else if ( command == hlthCmd ) { theRadioactivationContainer->
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4RadioactivationMessenger(G4Radioactivation *theRadioactivationContainer)
void SetNewValue(G4UIcommand *command, G4String newValues)
~G4RadioactivationMessenger()
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 SetDefaultValue(const char *defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetDefaultValue(G4int defVal)
void SetGuidance(const char *aGuidance)
void SetRange(const char *rs)