@@ -19,16 +19,16 @@ which o2-analysistutorial-lf-strangeness-derived-v0-skeleton # must exist
1919which 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
2928Download 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)
3333rsync -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
3838Alternatively, download them from CERNBox links.
3939
4040The 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
4848If you save the files elsewhere, edit these two text files. To run steps 0-3 on the MC (e.g. to compare
4949with 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 ` .
5555The checkpoints of each step are in the same folder (` strangeness_derived_v0_stepX.cxx ` ).
5656
5757``` bash
0 commit comments