This is an example sPHENIX ROOT Jupyter Notebook to run the sPHENIX anaysis on the BNL SDCC Jupyter Lab.
Starting from https://jupyter.sdcc.bnl.gov/jupyterhub/htc ( = lauch
button on the HTC Jupyter hub) for this tutorial, the username / password is the same for your BNL RCF / SDCC account. At the 1st time login, SDCC will ask you to setup a two factor anthentication, such as using Google Authenticator (Android/iPhone).
Jupyter Notebook provide an analysis interface that can integrate documentation, code and output plot in a single file. It supports all sPHENIX environment and most sPHENIX macros. It is suitable for final analysis step, while large scale analysis and reconstruction should go through the compiled c++
analysis module.
Two examples are provided in this tutorial, one for each supported sPHENIX Jupyter kernels:
sPHENIX ROOT C++
kernel: An analysis in ROOTC++
macros: example_tpc_testbeam2019_root.ipynbPython (sPHENIX)
kernel:pyROOT
macro perform similar task if you would like to usepython
for analysis: example_tpc_testbeam2019_python.ipynb
Welcome to download either of them and run from the JupyterLab interfance. Also welcome to make a new notebook, during which please select one of these two kernels, which carry the most recent sPHENIX software environment on SDCC/RACF. Notebooks can be previewed on GitHub, and edited/run on BNL SDCC Jupyter Lab.
The JupyterLab interface can also be launched on your computer/local computing cluster via sPHENIX Singularity Container. Instruction to come, and please contact Jin Huang if you would like to try early releases.