Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/images/records/12342/badge_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions data/records/cms-tools-nanoaod-outreach-dimuon-spectrum.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"abstract": {
"description": "<p>This analysis takes data from the CMS experiment recorded in 2012 during Run B and C and extracts the di-muon spectrum. The di-muon 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 <a href=\"https://en.wikipedia.org/wiki/Eta_meson\">$\\eta$ meson</a> at about 548 MeV up to the <a href=\"https://en.wikipedia.org/wiki/W_and_Z_bosons\">Z boson</a> at about 91 GeV.</p><p>The analysis code opens an interactive plot, which allows to zoom and navigate in the 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.</p><p>The result of this analysis can be compared with <a href=\"https://cds.cern.ch/record/1456510\">an official result of the CMS collaboration using data taken in 2010</a>, see the plots below:</p><p align=\"middle\"><img src=\"https://github.com/cms-opendata-analyses/DimuonSpectrum2012NanoAOD/blob/master/dimuonSpectrum.png?raw=true\" width=50% align=\"middle\"><img src=\"http://cds.cern.ch/record/1456510/files/pictures_samples_dimuonSpectrum_40pb-1_mod-combined.png\" width=50% align=\"middle\"></p>"
"description": "<p>This analysis takes data from the CMS experiment recorded in 2012 during Run B and C and extracts the di-muon spectrum. The di-muon 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 <a href=\"https://en.wikipedia.org/wiki/Eta_meson\">$\\eta$ meson</a> at about 548 MeV up to the <a href=\"https://en.wikipedia.org/wiki/W_and_Z_bosons\">Z boson</a> at about 91 GeV.</p><p>The analysis code opens an interactive plot, which allows to zoom and navigate in the 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.</p><p>The result of this analysis can be compared with <a href=\"https://cds.cern.ch/record/1456510\">an official result of the CMS collaboration using data taken in 2010</a>, see the plots below:</p><p align=\"middle\"><img src=\"https://github.com/cms-opendata-analyses/DimuonSpectrum2012NanoAOD/blob/master/dimuonSpectrum.png?raw=true\" width=50% align=\"middle\"><img src=\"/static/records/12342/pictures_samples_dimuonSpectrum_40pb-1_mod-combined.png\" width=50% align=\"middle\"></p>"
},
"accelerator": "CERN-LHC",
"authors": [
Expand Down Expand Up @@ -86,7 +86,7 @@
]
},
"usage": {
"description": "<p>The analysis can be run with a plain ROOT installation, either installed locally or taken from the CMS Open Data VM environment. Follow the respective link in the related items section for the VM or go to <a href=\"https://root.cern\">root.cern</a> for instructions how to install locally.</p><p>In case your system has a CVMFS installation, or you can use the CMS Open Data VM environment, you can set up the needed software sourcing an <a href=\"http://lcginfo.cern.ch/\">LCG software release</a> with following setup script:</p><p><code>source /cvmfs/sft.cern.ch/lcg/views/LCG_95/x86_64-slc6-gcc8-opt/setup.sh</code></p><p>Note that you may have to replace <code>x86_64-slc6-gcc8-opt</code> with a platform matching your system.</p><p>To download the files, you can either use directly the web browser or the following command.<p><code>git clone git://github.com/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis -b v1.4</code></p></p><p>The code of the analysis is provided in C++ and Python, which provide the exact same result. The instructions to run the code are shown below:</p><p><strong>Python (notebook):</strong></p><p>The notebook is run in the web browser and can either be executed locally or via <a href=\"https://mybinder.org\">binder</a>. To run locally, use the following command in the directory with the notebook file.</p><p><code>jupyter notebook</code></p><p>To run the analysis in binder, click on the badge below.</p><p><a href=\"https://mybinder.org/v2/gh/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis/v1.4\"><img src=\"https://mybinder.org/badge_logo.svg\"></a></p><p><strong>Python (interactive graphics):</strong></p><p>Note the <code>-i</code> flag, which keeps the Python interpreter alive after the end of the script so that the interactive plot can still be explored.<br><code>python -i dimuonSpectrum.py</code></p><p><strong>C++ (interactive graphics):</strong></p><p><code>root -l dimuonSpectrum.C</code></p><p><strong>C++ (compiled):</strong></p><p>Note that you have to select the compiler based on your system.<br><code>g++ -O3 -o dimuonSpectrum dimuonSpectrum.C $(root-config --cflags --libs)</code><br><code>./dimuonSpectrum</code></p><p>The scripts download the file on demand using the <a href=\"http://xrootd.org/\">XRootD</a> protocol. However, with a limited internet connection, you can download the file upfront and link to the local file in the code. Use the following command to download the file:</p><p><code>xrdcp root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked_Muons.root .</code></p><p><em>Updated on December 1st 2022. New version v1.4 is provided with an updated notebook file <code>dimuonSpectrum.ipynb</code>.</em></p>"
"description": "<p>The analysis can be run with a plain ROOT installation, either installed locally or taken from the CMS Open Data VM environment. Follow the respective link in the related items section for the VM or go to <a href=\"https://root.cern\">root.cern</a> for instructions how to install locally.</p><p>In case your system has a CVMFS installation, or you can use the CMS Open Data VM environment, you can set up the needed software sourcing an <a href=\"http://lcginfo.cern.ch/\">LCG software release</a> with following setup script:</p><p><code>source /cvmfs/sft.cern.ch/lcg/views/LCG_95/x86_64-slc6-gcc8-opt/setup.sh</code></p><p>Note that you may have to replace <code>x86_64-slc6-gcc8-opt</code> with a platform matching your system.</p><p>To download the files, you can either use directly the web browser or the following command.<p><code>git clone git://github.com/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis -b v1.4</code></p></p><p>The code of the analysis is provided in C++ and Python, which provide the exact same result. The instructions to run the code are shown below:</p><p><strong>Python (notebook):</strong></p><p>The notebook is run in the web browser and can either be executed locally or via <a href=\"https://mybinder.org\">binder</a>. To run locally, use the following command in the directory with the notebook file.</p><p><code>jupyter notebook</code></p><p>To run the analysis in binder, click on the badge below.</p><p><a href=\"https://mybinder.org/v2/gh/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis/HEAD?labpath=dimuonSpectrum.ipynb\"><img src=\"/static/records/12342/badge_logo.svg\"></a></p><p><strong>Python (interactive graphics):</strong></p><p>Note the <code>-i</code> flag, which keeps the Python interpreter alive after the end of the script so that the interactive plot can still be explored.<br><code>python -i dimuonSpectrum.py</code></p><p><strong>C++ (interactive graphics):</strong></p><p><code>root -l dimuonSpectrum.C</code></p><p><strong>C++ (compiled):</strong></p><p>Note that you have to select the compiler based on your system.<br><code>g++ -O3 -o dimuonSpectrum dimuonSpectrum.C $(root-config --cflags --libs)</code><br><code>./dimuonSpectrum</code></p><p>The scripts download the file on demand using the <a href=\"http://xrootd.org/\">XRootD</a> protocol. However, with a limited internet connection, you can download the file upfront and link to the local file in the code. Use the following command to download the file:</p><p><code>xrdcp root://eospublic.cern.ch//eos/opendata/cms/derived-data/AOD2NanoAODOutreachTool/Run2012BC_DoubleMuParked_Muons.root .</code></p><p><em>Updated on December 1st 2022. New version v1.4 is provided with an updated notebook file <code>dimuonSpectrum.ipynb</code>.</em></p>"
},
"use_with": {
"description": "The analysis can be run with the following dataset:",
Expand Down
Loading