Problem 1013

Summary: Lack of Getters in G4SPSAngDistribution
Product: Geant4 Reporter: Brian Fisher <bmfisher>
Component: eventAssignee: flei
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P5    
Version: 9.1   
Hardware: All   
OS: All   

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