Cite as: Gras, Philippe; (2021). Analysis of the di-muon spectrum using data from the CMS detector taken in 2012. CERN Open Data Portal. DOI:10.7483/OPENDATA.KS4A.BD5W
Software Analysis CMS CERN-LHC
This analysis extracts the mass spectrum of di-muons produced in proton-proton collisions at sqrt(s)=7TeV data from the CMS experiment data recorded in 2012 during Run B and C. It is implemented using the Julia language and can run in a Jupyter notebook. Python and C++ versions of this analysis can be found here.
The spectrum is computed from the data by calculating the invariant mass of muon pairs with opposite charge. In the resulting plot, you are able to rediscover particle resonances in a wide energy range from the $\eta$ meson at about 548 MeV up to the Z boson at about 91 GeV.
The analysis code produces a plot with the di-muon spectrum. Note that the bump at 30 GeV is not a resonance but an effect of the data taking due to the used trigger. The technical description of the dataset can be found in the respective record linked below.
The result of this analysis can be compared with an official result of the CMS collaboration using data taken in 2010, see the plot below:
The analysis can be run with the following dataset:
DoubleMuParked dataset from 2012 in NanoAOD format reduced on muons
To run this analysis you need Julia kernel installed. Running the analysis has been validated with the version 1.6.2 and 1.7.0. The analysis required 2.1 GB free disk space to store input data in addition to the space for the software dependencies. The analysis can run either in a Jupyter notebook or as a script.
Runnning the analysis in a notebook
To start Jupyter we recommand to run the following command. It will propose to install the Jupyter software if the command is not found from your PATH:
You should then select the notebook
DimuonSpectrumNanoAODJulia.ipynb from the file list that should appears in your web browser.
If you launch Jupyter with the standard
jupyterlab command, please set before the environment variable JULIA_PROJECT to the path of the directory where you have downloaded the files and that contains the
Project.toml file. This will ensure that the code is run with all the software dependencies at the same version as the we used to validate it.
Runnning the analysis as a script or from REPL
The analysis can also be run directly from Julia REPL without the Jupyter software using the code from src/DimuonSpectrumNanoAODJulia.jl.
julia -i --project=.. analysis.jl
GNU General Public License (GPL) version 3