Skip to content

Simulate electron–positron collisions and the angles of the outgoing muons, then measure a small forward–backward asymmetry parameter κ. Generate synthetic datasets of different sizes and fit κ with three methods (unbinned likelihood, binned likelihood, χ²) to see how measurement precision improves as event counts grow.

Notifications You must be signed in to change notification settings

JonaCassens/electron-muon-scattering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Statistical Analysis of Angular Asymmetries in e⁺e⁻ → μ⁺μ⁻ Scattering

Simulates electron–positron collisions near the Z resonance and measures a small forward–backward asymmetry (κ). Synthetic angular datasets are generated with inverse transform sampling and fitted with three methods matched to data size: unbinned likelihood (5k events), binned likelihood (50k events), and χ² (500k events). Plots and summaries show how κ precision improves with more events.

Files

  • ElectronMuonScattering.ipynb — main notebook with simulation, fits, and plots.

Environment

python -m venv .venv
source .venv/bin/activate
pip install numpy scipy matplotlib iminuit jupyter

Run

jupyter notebook ElectronMuonScattering.ipynb

What you’ll see

  • Generated angular distributions for κ = −0.07, 0, +0.07
  • Fits for each scenario with κ estimates and uncertainties
  • Comparison of methods and how precision scales with event count

About

Simulate electron–positron collisions and the angles of the outgoing muons, then measure a small forward–backward asymmetry parameter κ. Generate synthetic datasets of different sizes and fit κ with three methods (unbinned likelihood, binned likelihood, χ²) to see how measurement precision improves as event counts grow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published