This study develops a reproducible Python-based data-analysis pipeline for processing open collider data and performing likelihood-based invariant-mass fitting. Z-boson reconstruction using ATLAS Open Data is used as a scientific-computing case study. The workflow integrates Jupyter Notebooks, Uproot, NumPy, pandas, Matplotlib, and the zfit fitting framework in a modular sequence comprising ROOT-file ingestion, event-variable access, lepton-quality filtering, vectorized event selection, invariant-mass construction, visualization, and statistical model fitting. Events containing electron or muon pairs were filtered using trigger, isolation, impact-parameter, pseudorapidity, transverse-momentum, charge, and same-flavor requirements. The selected dilepton mass distributions were fitted with a Double Crystal Ball model using zfit. The fitted mass parameter was 90.459 GeV for the electron channel, 90.823 GeV for the muon channel, and 90.678 GeV for the combined dilepton sample. The principal contribution is the organization of high-energy-physics data processing as a transparent and reusable scientific Python workflow rather than a new particle-physics measurement. The case study demonstrates how open ROOT-formatted datasets can be processed and statistically analyzed without building the complete analysis around a monolithic ROOT/C++ environment. The proposed pipeline supports notebook-level reproducibility, modular replacement of processing stages, and adaptation to other open scientific datasets with event-based structures.
Keywords
Scientific PythonReproducible Data AnalysisATLAS Open DataJupyter NotebooksUprootZfitLikelihood FittingComputational Workflow
References
J. Eschle, A. Puig Navarro, R. S. Coutinho, and N. Serra, “zfit: scalable pythonic fitting,” SoftwareX, vol. 11, Art. no. 100508, 2020, [Online]. Available: https://doi.org/10.1016/j.softx.2020.100508.
ATLAS Collaboration, “ATLAS Open Data: 13 TeV documentation and tutorials,” CERN Open Data Portal, 2024.
J. Pivarski et al., “Uproot: reading and writing ROOT files in Python,” Scikit-HEP project, 2024.
C. R. Harris et al., “Array programming with NumPy,” Nature, vol. 585, pp. 357-362, 2020, [Online]. Available: https://doi.org/10.1038/s41586-020-2649-2.
W. McKinney, “Data structures for statistical computing in Python,” in Proc. 9th Python in Science Conference, pp. 56-61, 2010, [Online]. Available: https://doi.org/10.25080/Majora-92bf1922-00a.
J. D. Hunter, “Matplotlib: A 2D graphics environment,” Computing in Science & Engineering, vol. 9, no. 3, pp. 90-95, 2007, [Online]. Available: https://doi.org/10.1109/MCSE.2007.55.
M. M. Talipov, “Computational modeling and analysis of mechanical power consumption in train assemblers’ work,” Proceedings of International Conference on Applied Innovation in IT, vol. 13, no. 2, pp. 419-426, 2025, [Online]. Available: https://doi.org/10.25673/120513.
R. Salmorbekova and M. Talipov, “Digital risk matrix and safety management workflow for airport infrastructure in developing countries: a data-driven prioritization approach,” Vibroengineering Procedia, vol. 62, pp. 653-661, Jun. 2026, [Online]. Available: https://doi.org/10.21595/vp.2026.26121.
CMS Collaboration, “Measurement of the rapidity and transverse momentum distributions of Z bosons in pp collisions at sqrt(s) = 7 TeV,” Physical Review D, vol. 85, Art. no. 032002, 2012, [Online]. Available: https://doi.org/10.1103/PhysRevD.85.032002.
LHCb Collaboration, “Measurement of the cross-section for Z -> e+e- production in pp collisions at sqrt(s) = 7 TeV,” Journal of High Energy Physics, vol. 2013, Art. no. 106, 2013, [Online]. Available: https://doi.org/10.1007/JHEP02(2013)106.
T. Sjostrand, S. Mrenna, and P. Z. Skands, “PYTHIA 6.4 physics and manual,” Journal of High Energy Physics, vol. 2006, Art. no. 026, 2006, [Online]. Available: https://doi.org/10.1088/1126-6708/2006/05/026.
CMS Collaboration, “Measurements of inclusive W and Z cross sections in pp collisions at sqrt(s) = 7 TeV,” Journal of High Energy Physics, vol. 2011, Art. no. 080, 2011, [Online]. Available: https://doi.org/10.1007/JHEP01(2011)080.
CMS Collaboration, “Angular coefficients of Z bosons produced in pp collisions at 8 TeV and decaying to mu+mu- as a function of transverse momentum and rapidity,” Physics Letters B, vol. 750, pp. 154-175, 2015, [Online]. Available: https://doi.org/10.1016/j.physletb.2015.08.061.
ATLAS Collaboration, “Measurement of the Z/gamma* boson transverse momentum distribution in pp collisions at sqrt(s) = 7 TeV with the ATLAS detector,” Journal of High Energy Physics, vol. 2014, Art. no. 145, 2014, [Online]. Available: https://doi.org/10.1007/JHEP09(2014)145.
ATLAS Collaboration, “Precision measurement and interpretation of inclusive W+, W- and Z/gamma* production cross sections with the ATLAS detector,” European Physical Journal C, vol. 77, Art. no. 367, 2017, [Online]. Available: https://doi.org/10.1140/epjc/s10052-017-4911-9.