Problem 2383

Summary: GPS UI shows inconsistent default value for MaxPhi
Product: Geant4 Reporter: m.dubouchet18
Component: eventAssignee: asai
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: 10.7   
Hardware: All   
OS: All   

Description m.dubouchet18 2021-06-07 19:12:24 CEST
When executing `help /gps/ang/maxphi`, the default value shown is 3.14159, but shouldn't it be 2*pi, or 6.28318?

The book for application devs and the constructor of "G4SPSAngDistribution" define the default value as 2*pi, but "G4GeneralParticleSourceMessenger.cc", line 436 (G4.10.7) says

maxphiCmd1->SetDefaultValue(pi);
Comment 1 asai 2021-06-07 19:57:43 CEST
Thanks for reporting this problem.
Fix will be included in the coming release.
Makoto