Problem 1929

Summary: Incorrect parameter name in G4EmParametersMessenger.cc
Product: Geant4 Reporter: Iwan Cornelius <iwan>
Component: processes/electromagneticAssignee: Vladimir.Ivantchenko
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: 10.2   
Hardware: All   
OS: All   

Description Iwan Cornelius 2016-12-14 13:39:50 CET
Hello, 

There is a minor error in the following class definition:

geant4.10.02.p02/source/processes/electromagnetic/utils/src/G4EmParametersMessenger.cc


The parameter name is not consistent with the name in the comparative test ('Fr1' vs 'Fr')

fr1Cmd = new G4UIcmdWithADouble("/process/msc/RangeFactorMuHad",this);
fr1Cmd->SetGuidance("Set RangeFactor for msc processes of muons/hadrons");
fr1Cmd->SetParameterName("Fr1",true);
fr1Cmd->SetRange("Fr>0");
fr1Cmd->SetDefaultValue(0.2);
fr1Cmd->AvailableForStates(G4State_PreInit,G4State_Idle);

Best regards, 
Iwan
Comment 1 Vladimir.Ivantchenko 2016-12-14 17:50:22 CET
Hello Iwan,

Thank for pointing to this problem. It is fixed and the fix will be included in the next patches to 10.2 and 10.3.

VI