529{
530 G4bool physicsModified =
false;
531 if (command == flucCmd) {
533 physicsModified = true;
534 } else if (command == rangeCmd) {
536 } else if (command == lpmCmd) {
538 physicsModified = true;
539 } else if (command == rsCmd) {
541 physicsModified = true;
542 } else if (command == aplCmd) {
544 physicsModified = true;
545 } else if (command == intCmd) {
547 } else if (command == latCmd) {
549 physicsModified = true;
550 } else if (command == lat96Cmd) {
552 physicsModified = true;
553 } else if (command == mulatCmd) {
555 physicsModified = true;
556 } else if (command == delCmd) {
558 } else if (command == mottCmd) {
560 } else if (command == birksCmd) {
562 } else if (command == icru90Cmd) {
564 } else if (command == sharkCmd) {
566 } else if (command == poCmd) {
568 } else if (command == sampleTCmd) {
570 } else if (command == mudatCmd) {
572 } else if (command == peKCmd) {
574 } else if (command == mscPCmd) {
576
577 } else if (command == minEnCmd) {
579 } else if (command == maxEnCmd) {
581 } else if (command == max5DCmd) {
583 } else if (command == cenCmd) {
585 physicsModified = true;
586 } else if (command == lowEnCmd) {
588 physicsModified = true;
589 } else if (command == lowEn3Cmd) {
591 physicsModified = true;
592 } else if (command == lowhEnCmd) {
594 physicsModified = true;
595 } else if (command == lllCmd) {
597 physicsModified = true;
598 } else if (command == brCmd) {
600 physicsModified = true;
601 } else if (command == br1Cmd) {
603 physicsModified = true;
604 } else if (command == labCmd) {
606 physicsModified = true;
607 } else if (command == mscfCmd) {
609 } else if (command == angCmd) {
611 } else if (command == msceCmd) {
613 } else if (command == nielCmd) {
615 } else if (command == frCmd) {
617 physicsModified = true;
618 } else if (command == fr1Cmd) {
620 physicsModified = true;
621 } else if (command == fgCmd) {
623 physicsModified = true;
624 } else if (command == skinCmd) {
626 physicsModified = true;
627 } else if (command == safCmd) {
629 } else if (command == llimCmd) {
631 } else if (command == screCmd) {
633 } else if (command == amCmd) {
635 } else if (command == verCmd) {
637 } else if (command == ver1Cmd) {
639 } else if (command == ver2Cmd) {
641 } else if (command == dumpCmd) {
643 theParameters->
Dump();
644 } else if (command == transWithMscCmd) {
646 if(newValue == "Disabled") {
647 type = G4TransportationWithMscType::fDisabled;
648 } else if(newValue == "Enabled") {
649 type = G4TransportationWithMscType::fEnabled;
650 } else if(newValue == "MultipleSteps") {
651 type = G4TransportationWithMscType::fMultipleSteps;
652 } else {
654 ed << " TransportationWithMsc type <" << newValue << "> unknown!";
656 }
658 } else if (command == mscCmd || command == msc1Cmd) {
660 if(newValue == "Minimal") {
662 } else if(newValue == "UseDistanceToBoundary") {
664 } else if(newValue == "UseSafety") {
666 } else if(newValue == "UseSafetyPlus") {
668 } else {
670 ed << " StepLimit type <" << newValue << "> unknown!";
672 return;
673 }
674 if (command == mscCmd) {
676 } else {
678 }
679 physicsModified = true;
680 } else if (command == nffCmd) {
683 else if(newValue ==
"Gaussian") { x =
fGaussianNF; }
684 else if(newValue ==
"Flat") { x =
fFlatNF; }
685 else if(newValue != "None") {
687 ed << " NuclearFormFactor type <" << newValue << "> unknown!";
689 return;
690 }
692 } else if (command == ssCmd) {
694 if(newValue ==
"DPWA") { x =
fDPWA; }
695 else if(newValue ==
"Mott") { x =
fMott; }
696 else if(newValue != "WVI") {
698 ed << " G4eSingleScatteringType type <" << newValue << "> unknown!";
700 return;
701 }
703 } else if (command == fluc1Cmd) {
708 } else if ( command==tripletCmd ) {
710 } else if ( command==onIsolatedCmd ) {
712 physicsModified = true;
713 }
714
715 if(physicsModified) {
717 }
718}
G4TransportationWithMscType
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
void SetLambdaFactor(G4double val)
void SetMinEnergy(G4double val)
void SetLowestElectronEnergy(G4double val)
void SetBuildCSDARange(G4bool val)
void SetEnablePolarisation(G4bool val)
void SetNumberOfBinsPerDecade(G4int val)
void SetGeneralProcessActive(G4bool val)
void SetMscSafetyFactor(G4double val)
void SetLateralDisplacementAlg96(G4bool val)
void SetFactorForAngleLimit(G4double val)
void SetRetrieveMuDataFromFile(G4bool v)
void SetMscMuHadRangeFactor(G4double val)
void SetMaxEnergyFor5DMuPair(G4double val)
void SetLinearLossLimit(G4double val)
void SetMscThetaLimit(G4double val)
void SetLossFluctuations(G4bool val)
void SetLowestTripletEnergy(G4double val)
void SetMuHadLateralDisplacement(G4bool val)
void ActivateAngularGeneratorForIonisation(G4bool val)
void SetScreeningFactor(G4double val)
void SetNuclearFormfactorType(G4NuclearFormfactorType val)
void SetLateralDisplacement(G4bool val)
void SetWorkerVerbose(G4int val)
void SetUseCutAsFinalRange(G4bool val)
void SetBirksActive(G4bool val)
void SetMuHadBremsstrahlungTh(G4double val)
void SetFluctuationType(G4EmFluctuationType val)
void SetVerbose(G4int val)
void SetMscGeomFactor(G4double val)
void SetMscLambdaLimit(G4double val)
void SetMscSkin(G4double val)
void SetApplyCuts(G4bool val)
void SetEnableSamplingTable(G4bool val)
void SetMaxNIELEnergy(G4double val)
void SetMaxEnergyForCSDARange(G4double val)
void SetMscMuHadStepLimitType(G4MscStepLimitType val)
void SetMscStepLimitType(G4MscStepLimitType val)
void SetMscEnergyLimit(G4double val)
void SetBremsstrahlungTh(G4double val)
void SetIsPrintedFlag(G4bool val)
void SetConversionType(G4int val)
void SetUseICRU90Data(G4bool val)
void SetOnIsolated(G4bool val)
void SetTransportationWithMsc(G4TransportationWithMscType val)
void SetIntegral(G4bool val)
void SetUseMottCorrection(G4bool val)
void SetMscPositronCorrection(G4bool v)
void SetLowestMuHadEnergy(G4double val)
void SetMaxEnergy(G4double val)
void SetSingleScatteringType(G4eSingleScatteringType val)
void SetPhotoeffectBelowKShell(G4bool v)
void SetMscRangeFactor(G4double val)
static G4bool GetNewBoolValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
static G4int GetNewIntValue(const char *paramString)
G4int ApplyCommand(const char *aCommand)
static G4UImanager * GetUIpointer()