Problem 1929 - Incorrect parameter name in G4EmParametersMessenger.cc
Summary: Incorrect parameter name in G4EmParametersMessenger.cc
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic (show other problems)
Version: 10.2
Hardware: All All
: P4 minor
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2016-12-14 13:39 CET by Iwan Cornelius
Modified: 2016-12-14 17:50 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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