Skip to content

Commit c13ff6e

Browse files
maciaccoalcaliva
authored andcommitted
set parallel world in test script + toggle ideal ITS in anchored simulation (#1908)
* set pw in test script + toggle ideal ITS in anchored simulation * remove duplicated flag for pw activation * fix string check * fix variable declaration * fix check
1 parent 078ada0 commit c13ff6e

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

MC/run/ANCHOR/anchorMC.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,15 @@ TIMESTAMP=`grep "Determined timestamp to be" timestampsampling_${ALIEN_JDL_LPMRU
244244
echo_info "TIMESTAMP IS ${TIMESTAMP}"
245245

246246
# -- Create aligned geometry using ITS ideal alignment to avoid overlaps in geant
247-
CCDBOBJECTS_IDEAL_MC="ITS/Calib/Align"
248-
TIMESTAMP_IDEAL_MC=1
249-
${O2_ROOT}/bin/o2-ccdb-downloadccdbfile --host http://alice-ccdb.cern.ch/ -p ${CCDBOBJECTS_IDEAL_MC} -d ${ALICEO2_CCDB_LOCALCACHE} --timestamp ${TIMESTAMP_IDEAL_MC}
250-
CCDB_RC="${?}"
251-
if [ ! "${CCDB_RC}" == "0" ]; then
252-
echo_error "Problem during CCDB prefetching of ${CCDBOBJECTS_IDEAL_MC}. Exiting."
253-
exit ${CCDB_RC}
247+
if [ "${ENABLEPW}" == "0" ]; then
248+
CCDBOBJECTS_IDEAL_MC="ITS/Calib/Align"
249+
TIMESTAMP_IDEAL_MC=1
250+
${O2_ROOT}/bin/o2-ccdb-downloadccdbfile --host http://alice-ccdb.cern.ch/ -p ${CCDBOBJECTS_IDEAL_MC} -d ${ALICEO2_CCDB_LOCALCACHE} --timestamp ${TIMESTAMP_IDEAL_MC}
251+
CCDB_RC="${?}"
252+
if [ ! "${CCDB_RC}" == "0" ]; then
253+
echo_error "Problem during CCDB prefetching of ${CCDBOBJECTS_IDEAL_MC}. Exiting."
254+
exit ${CCDB_RC}
255+
fi
254256
fi
255257

256258
# 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

MC/run/ANCHOR/tests/test_anchor_2023_apass2_pp.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export SEED=5
3030
# for pp and 50 events per TF, we launch only 4 workers.
3131
export NWORKERS=2
3232

33+
export ALIEN_JDL_ANCHOR_SIM_OPTIONS="-gen pythia8 -confKey \"GeometryManagerParam.useParallelWorld=1;GeometryManagerParam.usePwGeoBVH=1;GeometryManagerParam.usePwCaching=1\""
34+
3335
# run the central anchor steering script; this includes
3436
# * derive timestamp
3537
# * derive interaction rate

0 commit comments

Comments
 (0)