285{
286 G4bool physicsModified =
false;
287
288 if (command == paiCmd) {
290 std::istringstream is(newValue);
291 is >> s1 >> s2 >> s3;
293 } else if (command == mscoCmd) {
295 std::istringstream is(newValue);
296 is >> s1 >> s2;
298 } else if (command == StepFuncCmd || command == StepFuncCmd1 || command == StepFuncCmd2 || command == StepFuncCmd3) {
301 std::istringstream is(newValue);
302 is >> v1 >> v2 >> unt;
304 if(command == StepFuncCmd) {
306 } else if(command == StepFuncCmd1) {
308 } else if(command == StepFuncCmd2) {
310 } else {
312 }
313 physicsModified = true;
314 } else if (command == SubSecCmd) {
316 std::istringstream is(newValue);
317 is >> s1 >> s2;
319 if(s1 == "true") { yes = true; }
321 } else if (command == bfCmd) {
324 std::istringstream is(newValue);
325 is >>
s0 >> v1 >> s1;
327 if(s1 == "true") { yes = true; }
329 physicsModified = true;
330 } else if (command == fiCmd) {
332 G4String s1(
""),s2(
""),s3(
""),unt(
"mm");
333 std::istringstream is(newValue);
334 is >> s1 >> s2 >> v1 >> unt >> s3;
336 if(s3 == "true") { yes = true; }
339 physicsModified = true;
340 } else if (command == bsCmd) {
343 std::istringstream is(newValue);
344 is >> s1 >> s2 >> fb >> en >> unt;
347 physicsModified = true;
348 } else if (command == qeCmd) {
350 } else if (command == dirSplitCmd) {
353 physicsModified = true;
354 } else if (command == dirSplitTargetCmd) {
357 physicsModified = true;
358 } else if (command == dirSplitRadiusCmd) {
361 physicsModified = true;
362 }
363
364 if(physicsModified) {
366 }
367}
static G4ThreeVector GetNew3VectorValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
static G4double ValueOf(const char *unitName)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()