feat: Add End-to-End Scikit-HEP Analysis Pipeline Tutorial - #96
feat: Add End-to-End Scikit-HEP Analysis Pipeline Tutorial#96Paramveersingh-S wants to merge 7 commits into
Conversation
|
Thanks for opening your first pull request here 🚀! If you have any questions, feel free to mention one of the conveners, previous contributors, or attend our weekly meeting (see |
|
Hello @Paramveersingh-S, can you make statements on where you got this analysis from and whether you used AI to help you prepare this PR (and to which level)? Thank you. |
|
hello @eduardo-rodrigues i have implemented and tested this PR in google colab on T4 GPU Note: these are cell wise results. |
ariostas
left a comment
There was a problem hiding this comment.
Hi @Paramveersingh-S, I like the idea of having a semi-realistic analysis pipeline at the end. However, I feel like at the current state it doesn't really do that. The pipeline is pretty basic, so it feels like it's kind of just gluing together pieces of the previous chapters. And even in previous chapters there are more interesting operation being done, like looking through muon combinations with Awkward.
So I think the pipeline we should show should hopefully have these features:
- Use real data. Something like the CMS OpenData file that is used in some of the chapters. It should be sizable, and not just a test file.
- It should use some more interesting features of the packages. Something like the
ak.combinationsthat was shown in a previous chapter. - The physics should also be interesting. I think what you picked is a good one since for
$H\rightarrow ZZ \rightarrow 4\ell$ you can look for 4 muons, 4 electrons, or 2 of each. - End up with an interesting result. Maybe like doing some fit to find out the mass of the Higgs.
|
Thanks @ariostas for you advices, give me some time i will work on this as soon as possible. |
…nd CMS-style plot aesthetics
2be8626 to
bf7243d
Compare
|
Hi @ariostas , according to you review, I have completely changed the pipeline with realistic data and other features. |

Description:
Summary
This PR introduces a new tutorial chapter,$H \rightarrow ZZ \rightarrow 4\ell$ channel.
08-end-to-end-analysis.ipynb, to the Scikit-HEP training module.While the existing chapters do an excellent job of teaching individual libraries in isolation, it is incredibly helpful for newcomers to see how these libraries chain together in a realistic physics workflow. This new notebook simulates an end-to-end "discovery" analysis of the
Additions
08-end-to-end-analysis.ipynb: A fully executable Jupyter notebook that:uproot.awkwardto select events with exactly 4 muons and enforce charge conservation.vectorto calculate the invariant mass of the four muons.hist.myst.yml: Added the new notebook to the Table of Contents for the rendered website.Testing
I have verified that the notebook executes sequentially without errors using the
skhep_testdatasample fileuproot-HZZ.root.(Note: Since
skhep_testdatauses a heavily truncated mock dataset, the final plot is primarily to verify that thehistplotting pipeline and 4-vector arithmetic execute correctly.)Please let me know if there are any formatting changes or additional sections you'd like me to add!