| Summary: | Adding new function G4RandomDirectionWithinACone | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Michele Renda <michele.renda> |
| Component: | global | Assignee: | Evgueni.Tcherniaev |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | dan.andrei.ciubotaru |
| Priority: | P4 | ||
| Version: | 10.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Add new function | ||
|
Description
Michele Renda
2017-04-03 15:36:24 CEST
Created git merge request: https://gitlab.cern.ch/geant4/geant4/merge_requests/2 Created attachment 450 [details]
Add new function
Thanks for the proposed extension, we'll evaluate it. Please, note that in general, the policy adopted in Geant4 for tools/functions provided is to include only those limited for adoption within the toolkit itself, also for motivations of validation and testing. There is no commitment for providing a comprehensive variety of tools for general use. Hello Gabriele. Indeed understand the policy. I created the patch because it was very easy to copy my implementation and to submit to Geant4. Feel free to don't include it, if it is not needed. Best regards A new function G4RandomDirection(cosTheta) has been introduced. The function is already available at the trunk of the repository. |