How hep-lbdl/omnifold works
OmniFold is a small Python implementation and set of examples for iterative event reweighting and unfolding. The runtime entry point accepts simulated events, unknown-sample events, an iteration count, and a supplied model, then returns per-iteration weights. The main notebook documents additional background-subtraction, fake-factor, resolution, and efficiency handling. Those notebook internals and the Benchmark example were not sampled, so their detailed runtime connections are not inferred.
Main entry points: GaussianExample.ipynb Full Gaussian example · omnifold.py Iterative reweighting · GaussianExample_minimal.ipynb Minimal example
Components 11
Unfolding examples
- Full Gaussian example
GaussianExample.ipynb - Background subtraction
GaussianExample.ipynb - Fake factors
GaussianExample.ipynb - Resolution unfolding
GaussianExample.ipynb - Efficiency factors
GaussianExample.ipynb - Minimal example
GaussianExample_minimal.ipynb
OmniFold runtime
- Iterative reweighting
omnifold.py
Other components
- Analyst
- Event samples
- Classifier model
- Unfolded weights
Connections 10
- Analyst → Full Gaussian example: runs example
README.md - Full Gaussian example → Background subtraction: handles background
README.md - Full Gaussian example → Fake factors: handles fakes
README.md - Full Gaussian example → Resolution unfolding: unfolds resolution
README.md - Full Gaussian example → Efficiency factors: handles efficiency
README.md - Analyst → Minimal example: runs example
README.md - Analyst → Iterative reweighting: supplies inputs
omnifold.py - Event samples → Iterative reweighting: provides events
omnifold.py - Iterative reweighting → Classifier model: fits classifier
omnifold.py - Iterative reweighting → Unfolded weights: returns weights
omnifold.py