Skip to content

Commit

Permalink
Improve extraction of AliESDEvent & ArrowDataModel
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Sep 23, 2019
1 parent c99bf72 commit 6b8ff29
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,19 @@ run2ESD2Run3AOD ~/work/active/data/AliESDs_15000246751039.3412.root | scripts/py
and then you should find a few `figure*.pdf` files with some random plots in your current path.

In order to validate the conversion you can use the `validateAODStream` helper.

# Updating to a given version of AliRoot / O2

The converter embeds a copy of the relevant AliRoot files to be able to read ESD event
content. It also contains a copy of the O2 arrow based utilities. In order to update to the
latest greatest version you need to:

```
git clone https://github.com/AliceO2Group/AliceO2 O2
git clone https://github.com/AliceO2Group/Run2ESDConverter O2
git clone https://github.com/alisw/AliRoot
cd Run2ESDConverter
rm -rf Run2DataModel/src
./copyArrowDataModel.sh
./copyAliESDEvent.sh
```
1 change: 1 addition & 0 deletions copyAliESDEvent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ ed Run2DataModel/src/AliSimulation.cxx << \EOF
wq
EOF
fi
cp ${ALIROOT_ROOT}/STEER/STEERBase/AliHMPIDPIDResponse.* ./Run2DataModel/src
3 changes: 3 additions & 0 deletions copyArrowDataModel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ cp $O2_ROOT/Framework/Core/include/Framework/ASoA.h Converter/src/Framework
cp $O2_ROOT/Framework/Core/include/Framework/AnalysisDataModel.h Converter/src/Framework
cp $O2_ROOT/Framework/Core/include/Framework/RootTableBuilderHelpers.h Converter/src/Framework
cp $O2_ROOT/Framework/Core/src/TableBuilder.cxx Converter/src/
cp $O2_ROOT/Framework/Foundation/include/Framework/FunctionalHelpers.h Converter/src/Framework
cp $O2_ROOT/Framework/Foundation/include/Framework/CompilerBuiltins.h Converter/src/Framework
cp $O2_ROOT/Framework/Foundation/include/Framework/Traits.h Converter/src/Framework

0 comments on commit 6b8ff29

Please sign in to comment.