Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add etaMin and etaMax in ddsim (Helper/Gun.py) #1075

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

wdconinc
Copy link
Contributor

@wdconinc wdconinc commented Mar 13, 2023

This adds the arguments --gun.etaMin and --gun.etaMax. If both thetaMin and etaMax are specified, etaMax has precedence. Addresses part of #1072.

BEGINRELEASENOTES

  • ddsim: Support for setting etaMin and etaMax. These override the respective theta settings!

ENDRELEASENOTES

This adds the arguments `--gun.etaMin` and `--gun.etaMax`. If both
`thetaMin` and `etaMax` are specified, `etaMax has precedence.
@wdconinc
Copy link
Contributor Author

Not sure why the key4hep test fails...

@MarkusFrankATcernch MarkusFrankATcernch enabled auto-merge (rebase) March 15, 2023 09:02
@MarkusFrankATcernch MarkusFrankATcernch merged commit 19c4dc7 into AIDASoft:master Mar 15, 2023
@andresailer andresailer linked an issue Mar 20, 2023 that may be closed by this pull request
2 tasks
@wdconinc wdconinc deleted the 1072-etaMin-etaMax branch March 20, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow etaMin, etaMax bounds in Geant4IsotropeGenerator and DDSim/Helper/Gun.py
2 participants