| Summary: | Lack of Getters in G4SPSAngDistribution | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Brian Fisher <bmfisher> |
| Component: | event | Assignee: | flei |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | P5 | ||
| Version: | 9.1 | ||
| Hardware: | All | ||
| OS: | All | ||
Will add the requested methods in the next release fixed since 06/2008 |
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