Skip to content

Commit 8f447ce

Browse files
committed
[Tutorial,PWGLF] Move V0 hands-on into Derived/AnalysisV0, remove input files
1 parent ce9f4e7 commit 8f447ce

25 files changed

Lines changed: 12 additions & 14 deletions

‎Tutorials/PWGLF/Strangeness/CMakeLists.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@
1111

1212
add_subdirectory(Original)
1313
add_subdirectory(Derived)
14-
add_subdirectory(StrangenessV0s_HandsOn/o2physics/AnalysisV0)

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/o2physics/AnalysisV0/CMakeLists.txt renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/CMakeLists.txt

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/README.md renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ which o2-analysistutorial-lf-strangeness-derived-v0-skeleton # must exist
1919
which o2-analysistutorial-lf-strangeness-derived-v0-step0 # checkpoint
2020
```
2121

22-
Clone this repository:
22+
Go to the folder of the hands-on in your O2Physics source directory:
2323

2424
```bash
25-
git clone https://github.com/<USER>StrangenessV0s_HandsOn
26-
cd StrangenessV0s_HandsOn
25+
cd ~/alice/O2Physics/Tutorials/PWGLF/Strangeness/Derived/AnalysisV0
2726
```
2827

2928
Download the two input files (strangeness derived data, ~<200> MB each):
3029

3130
```bash
31+
mkdir -p data MC
3232
# real data -> data/AO2D.root (used by skeleton and steps 0-3)
3333
rsync -r -u --progress USERNAME@lxplus.cern.ch:/eos/user/<u>/<user>/tutorialData/data/AO2D.root data
3434
# Monte Carlo -> MC/AO2D.root (used by step 4, which needs the MC truth)
@@ -38,20 +38,20 @@ rsync -r -u --progress USERNAME@lxplus.cern.ch:/eos/user/<u>/<user>/tutorialData
3838
Alternatively, download them from CERNBox links.
3939

4040
The run scripts do not contain the file paths: they read them from two text files (one path per line,
41-
relative to the repository folder or absolute):
41+
relative to this folder or absolute), which you have to create (the paths are also given in the slides):
4242

43-
| File | Content | Used by |
44-
|---|---|---|
45-
| `input_data.txt` | `data/AO2D.root` | `runSkeleton.sh`, `runStep0-3.sh` |
46-
| `input_MC.txt` | `MC/AO2D.root` | `runStep4.sh` |
43+
```bash
44+
echo "data/AO2D.root" > input_data.txt # used by runSkeleton.sh, runStep0-3.sh
45+
echo "MC/AO2D.root" > input_MC.txt # used by runStep4.sh
46+
```
4747

4848
If you save the files elsewhere, edit these two text files. To run steps 0-3 on the MC (e.g. to compare
4949
with data): `INPUTFILE=input_MC.txt ./runStep2.sh`.
5050

5151
## How to work
5252

53-
The code you will modify is the skeleton in O2Physics:
54-
`Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/o2physics/AnalysisV0/strangeness_derived_v0_skeleton.cxx`.
53+
The code you will modify is the skeleton in this folder:
54+
`Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/strangeness_derived_v0_skeleton.cxx`.
5555
The checkpoints of each step are in the same folder (`strangeness_derived_v0_stepX.cxx`).
5656

5757
```bash

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/checkTables.C renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/checkTables.C

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/jsonConfigs/skeleton.json renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/jsonConfigs/skeleton.json

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/jsonConfigs/step0.json renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/jsonConfigs/step0.json

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/jsonConfigs/step1.json renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/jsonConfigs/step1.json

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/jsonConfigs/step2.json renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/jsonConfigs/step2.json

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/jsonConfigs/step3.json renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/jsonConfigs/step3.json

File renamed without changes.

Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/jsonConfigs/step4.json renamed to Tutorials/PWGLF/Strangeness/Derived/AnalysisV0/jsonConfigs/step4.json

File renamed without changes.

0 commit comments

Comments
 (0)