Hello, In the following class definition: geant4.10.02.p02/source/processes/electromagnetic/utils/src/G4EmParametersMessenger.cc There is a very minor issue with the naming of candidates between these two commands. The latter is inconsistent with the former, as well as the online documentation here: https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/AllResources/Control/UIcommands/_process_msc_.html mscCmd = new G4UIcmdWithAString("/process/msc/StepLimit",this); mscCmd->SetGuidance("Set msc step limitation type"); mscCmd->SetParameterName("StepLim",true); mscCmd->SetCandidates("Minimal UseSafety UseSafetyPlus UseDistanceToBoundary"); mscCmd->AvailableForStates(G4State_PreInit,G4State_Idle); msc1Cmd = new G4UIcmdWithAString("/process/msc/StepLimitMuHad",this); msc1Cmd->SetGuidance("Set msc step limitation type for muons/hadrons"); msc1Cmd->SetParameterName("StepLim1",true); msc1Cmd->SetCandidates("fMinimal fUseSafety fUseSafetyPlus fUseDistanceToBoundary"); msc1Cmd->AvailableForStates(G4State_PreInit,G4State_Idle); Best regards, Iwan
Hello Iwan, thanks you very much for finding the problem. It was already fixed in Geant4 10.3 and the fix will be backported to the new patch to 10.2. VI