Problem 1013 - Lack of Getters in G4SPSAngDistribution
Summary: Lack of Getters in G4SPSAngDistribution
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: event (show other problems)
Version: 9.1
Hardware: All All
: P5 enhancement
Assignee: flei
URL:
Depends on:
Blocks:
 
Reported: 2008-05-29 18:46 CEST by Brian Fisher
Modified: 2009-12-02 15:43 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 Brian Fisher 2008-05-29 18:46:10 CEST
This is a fairly minor feature request:

As part of the GeneralParticleSource it would be convenient if there were some "getter" methods in G4SPSAngDistribution, such as:

G4double GetMinTheta() { return MinTheta; }
G4double GetMaxTheta() { return MaxTheta; }

etc.

The other distribution types (G4SPSPosDistribution and G4SPSEneDistribution) have these sort of "getter" methods, but G4SPSAngDistribution does not.  Is there a reason for this?

Thank you very much
Comment 1 flei 2008-06-02 16:04:59 CEST
Will add the requested methods in the next release
Comment 2 flei 2009-12-02 15:43:59 CET
fixed since 06/2008