# Sample macros for processing AliESDs from CERN Open Data Portal ## Requirements Execute with aliroot5. Place `AliESDs.root` files in reach of the `chain->Add("AliESDs.root");` line on `runAnalysis.C` and execute. ## Instructions 1) Install aliBuild. Follow instructions on https://alice-doc.github.io/alice-analysis-tutorial/building/custom.html 2) Initialize AliPhysics ```bash mkdir -p ~/alice cd ~/alice aliBuild init AliPhysics@master ``` 3) Verify dependencies (Optional) ```bash $ aliDoctor AliPhysics ``` 4) Build AliPhysics with aliroot5 (this may take a long time) ```bash aliBuild build AliPhysics --defaults user -z aliroot5 ``` 5) Enter AliPhysics environment ```bash alienv enter AliPhysics/latest-aliroot5-user ``` 6) Run the macro ```bash aliroot runAnalysis.C ``` Results will be saved on two text files: `events_summary.txt` and `events_detail.txt`. ## Credits This example is based on the ALICE analysis tutorial by Redmer A. Bertens.