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

Deterministic jet smearing #454

Closed
nsmith- opened this issue Feb 12, 2021 · 0 comments · Fixed by #484
Closed

Deterministic jet smearing #454

nsmith- opened this issue Feb 12, 2021 · 0 comments · Fixed by #484
Labels
enhancement New feature or request

Comments

@nsmith-
Copy link
Member

nsmith- commented Feb 12, 2021

We'll need to find an approach to ensure that CorrectedJetsFactory builds JER-smeared jets in a repeatable way.
Options include:

  • Seed once per chunk (will only be deterministic for the same chunk splitting)
  • Seed once per event (too expensive in numpy, maybe a numba method could produce the RNG value quickly)
  • Directly construct a random number by hashing some set of event and jet attributes

CMSSW and NanoAODTools uses once-per-event seeding.
Direct construction could be done by using an integer hashing function and then apply Box-Muller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant