Problem 2383 - GPS UI shows inconsistent default value for MaxPhi
Summary: GPS UI shows inconsistent default value for MaxPhi
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: event (show other problems)
Version: 10.7
Hardware: All All
: P4 minor
Assignee: asai
URL:
Depends on:
Blocks:
 
Reported: 2021-06-07 19:12 CEST by m.dubouchet18
Modified: 2021-06-07 19:57 CEST (History)
0 users

See Also:


Attachments

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