Here we'll work on getting a notebook going for the Everything Open workshop. We'll borrow heavily from the ATLAS Open Data notebooks, and make an emphasis on:
- Obtaining data for yourself
- Making some simple selections
- Re-plotting the Higgs bump
The idea is that we'll copy the Open Data tutes into some directory, build our own notebook using that as a close reference, keep in mind that the target audience are not physicists, and boil this down to something fun!
When we're happy with the notebook, we'll fork it and throw it into some Google Colab link that can be accessed publicly.
The idea is we want this to work in a fresh environment, as Google Colab starts clean (correct me if wrong pls) - so, it makes sense when you do this, you want to make an empty virtual environment so you can test that the initial install stuff works. Can do this by either:
/cvmfs/sft.cern.ch/lcg/views/LCG_102cuda/x86_64-centos7-gcc8-opt/bin/python3 -m venv venv
source venv/bin/activate
then use this environment as the kernel for jupyter - otherwise, in VisualStudioCode, the jupyter extention will allow you to make a venv on the fly (would recommend) - be sure to use the python path as above, otherwise your environment will be created with an out-of-date python3 release. Moreover, on account of centos7 EOL, if you do this on thread1, you'll need to be using the pre-release versions of the relevant extentions (being Python and jupyter).
- Whenever you push, please be sure to Clear All Outputs first! Otherwise, your debugging and whatnot will clutter the notebook for everyone
HyyAnalysisNew.ipynb - rediscoving the Higgs. Verbose