Skip to content

Commit

Permalink
Update root version (#7)
Browse files Browse the repository at this point in the history
* Update root version

(closes #6)

* Update root container

Update root container from
reanahub/reana-env-root6:6.18.04
to 
rootproject/root:6.28.00-ubuntu22.04

* Update README.md

Add a notion of the version and update the git command (git clone git won't work anymore)
  • Loading branch information
katilp authored Jun 15, 2023
1 parent bfb06d6 commit 19a4a64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ Analysis using reduced NanoAOD files created from CMS open data producing a high
![](dimuonSpectrum.png)

## How to run this?

The analysis needs solely a ROOT installation (6.16 or greater). You can get the software easily using the CMS Open Data VM and CVMFS. Just run the following command in the terminal to source an appropriate software stack:
The analysis needs solely a ROOT installation. You can get the software easily using the CMS Open Data VM and CVMFS. Note that version 6.28.00 is used in the environment.yml and reana.yaml files but it may be different when set up through CVMFS. Just run the following command in the terminal to source an appropriate software stack:

```bash
source /cvmfs/sft.cern.ch/lcg/views/LCG_95/x86_64-slc6-gcc8-opt/setup.sh
Expand All @@ -15,7 +14,8 @@ source /cvmfs/sft.cern.ch/lcg/views/LCG_95/x86_64-slc6-gcc8-opt/setup.sh
To download the files, you can either use `git` with the following command or download them directly via the web browser.

```bash
git clone git://github.com/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis -b v1.4
git clone https://github.com/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis.git -b v1.5
cd DimuonSpectrumNanoAODOutreachAnalysis
```

The analysis code itself is provided in Python and C++. The instructions to run the scripts is shown below:
Expand All @@ -30,7 +30,7 @@ jupyter notebook

To run via binder, you just have to click the following link and follow the instructions. You can ignore the two error messages.

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis/v1.4)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/cms-opendata-analyses/DimuonSpectrumNanoAODOutreachAnalysis/HEAD?labpath=dimuonSpectrum.ipynb)

**Python (interactive):**

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: analysis
channels:
- conda-forge
dependencies:
- root=6.16.00
- root=6.28.00
4 changes: 2 additions & 2 deletions reana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ workflow:
specification:
steps:
- name: compile
environment: reanahub/reana-env-root6:6.18.04
environment: rootproject/root:6.28.00-ubuntu22.04
commands:
- g++ -v -O3 -o dimuonSpectrum dimuonSpectrum.C `root-config --cflags --libs`
- name: run
environment: reanahub/reana-env-root6:6.18.04
environment: rootproject/root:6.28.00-ubuntu22.04
commands:
- ./dimuonSpectrum
outputs:
Expand Down

0 comments on commit 19a4a64

Please sign in to comment.