Skip to content

Commit

Permalink
Add --run to alignment geometry creation
Browse files Browse the repository at this point in the history
We need to put `--run` to DPL workflows which are prefixed with
echo "echo ... pipe".

This should fix a problem where (under so far unknown circumstances), the geometry alignment workflow did not execute properly.
  • Loading branch information
sawenzel committed Jul 3, 2024
1 parent 93e6a0d commit 706946e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MC/run/ANCHOR/anchorMC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ if [ ! "${CCDB_RC}" == "0" ]; then
fi

# TODO This can potentially be removed or if needed, should be taken over by o2dpg_sim_workflow_anchored.py and O2_dpg_workflow_runner.py
echo "run with echo in pipe" | ${O2_ROOT}/bin/o2-create-aligned-geometry-workflow --configKeyValues "HBFUtils.startTime=${TIMESTAMP}" --condition-remap=file://${ALICEO2_CCDB_LOCALCACHE}=ITS/Calib/Align -b
echo "run with echo in pipe" | ${O2_ROOT}/bin/o2-create-aligned-geometry-workflow --configKeyValues "HBFUtils.startTime=${TIMESTAMP}" --condition-remap=file://${ALICEO2_CCDB_LOCALCACHE}=ITS/Calib/Align -b --run
mkdir -p $ALICEO2_CCDB_LOCALCACHE/GLO/Config/GeometryAligned
ln -s -f $PWD/o2sim_geometry-aligned.root $ALICEO2_CCDB_LOCALCACHE/GLO/Config/GeometryAligned/snapshot.root
[[ -f $PWD/its_GeometryTGeo.root ]] && mkdir -p $ALICEO2_CCDB_LOCALCACHE/ITS/Config/Geometry && ln -s -f $PWD/its_GeometryTGeo.root $ALICEO2_CCDB_LOCALCACHE/ITS/Config/Geometry/snapshot.root
Expand Down

0 comments on commit 706946e

Please sign in to comment.