1- #! /bin/bash
1+ #! /bin/bashMore actions
22
33# add distortion maps
44# https://alice.its.cern.ch/jira/browse/O2-3346?focusedCommentId=300982&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-300982
@@ -244,6 +244,11 @@ TIMESTAMP=`grep "Determined timestamp to be" timestampsampling_${ALIEN_JDL_LPMRU
244244echo_info " TIMESTAMP IS ${TIMESTAMP} "
245245
246246# -- Create aligned geometry using ITS ideal alignment to avoid overlaps in geant
247+ ENABLEPW=0
248+ if [[ ${remainingargs} == * " GeometryManagerParam.useParallelWorld=1" * ]]; then
249+ ENABLEPW=1
250+ fi
251+
247252if [ " ${ENABLEPW} " == " 0" ]; then
248253 CCDBOBJECTS_IDEAL_MC=" ITS/Calib/Align"
249254 TIMESTAMP_IDEAL_MC=1
@@ -255,15 +260,16 @@ if [ "${ENABLEPW}" == "0" ]; then
255260 fi
256261fi
257262
258- # 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
259263if [ " ${ENABLEPW} " == " 0" ]; then
260264 echo " run with echo in pipe" | ${O2_ROOT} /bin/o2-create-aligned-geometry-workflow ${ALIEN_JDL_CCDB_CONDITION_NOT_AFTER: +--condition-not-after ${ALIEN_JDL_CCDB_CONDITION_NOT_AFTER} } --configKeyValues " HBFUtils.startTime=${TIMESTAMP} " --condition-remap=file://${ALICEO2_CCDB_LOCALCACHE} =ITS/Calib/Align -b --run
261265else
262266 echo " run with echo in pipe" | ${O2_ROOT} /bin/o2-create-aligned-geometry-workflow ${ALIEN_JDL_CCDB_CONDITION_NOT_AFTER: +--condition-not-after ${ALIEN_JDL_CCDB_CONDITION_NOT_AFTER} } --configKeyValues " HBFUtils.startTime=${TIMESTAMP} " -b --run
263267fi
264268mkdir -p $ALICEO2_CCDB_LOCALCACHE /GLO/Config/GeometryAligned
265269ln -s -f $PWD /o2sim_geometry-aligned.root $ALICEO2_CCDB_LOCALCACHE /GLO/Config/GeometryAligned/snapshot.root
266- [[ -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
270+ if [ " ${ENABLEPW} " == " 0" ]; then
271+ [[ -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
272+ fi
267273[[ -f $PWD /mft_GeometryTGeo.root ]] && mkdir -p $ALICEO2_CCDB_LOCALCACHE /MFT/Config/Geometry && ln -s -f $PWD /mft_GeometryTGeo.root $ALICEO2_CCDB_LOCALCACHE /MFT/Config/Geometry/snapshot.root
268274
269275# -- RUN THE MC WORKLOAD TO PRODUCE AOD --
0 commit comments