Skip to content

Commit 65b8f5f

Browse files
committed
Disable outdated tpc_spacecharge_downloader task
This task seems no longer needed.
1 parent 506cec9 commit 65b8f5f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -667,14 +667,6 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
667667
# We download some binary files, necessary for processing
668668
# Eventually, these files/objects should be queried directly from within these tasks?
669669

670-
# We download trivial TPC space charge corrections to be applied during
671-
# reco. This is necessary to have consistency (decalibration and calibration) between digitization and reconstruction ... until digitization can
672-
# also apply this effect via CCDB.
673-
TPC_SPACECHARGE_DOWNLOADER_TASK = createTask(name='tpc_spacecharge_downloader', cpu='0')
674-
TPC_SPACECHARGE_DOWNLOADER_TASK['cmd'] = '[ "${O2DPG_ENABLE_TPC_DISTORTIONS}" ] || { ${O2_ROOT}/bin/o2-ccdb-downloadccdbfile --host http://alice-ccdb.cern.ch -p TPC/Calib/CorrectionMapRef --timestamp 1 --created-not-after ' + str(args.condition_not_after) + ' -d ${ALICEO2_CCDB_LOCALCACHE} ; ' \
675-
'${O2_ROOT}/bin/o2-ccdb-downloadccdbfile --host http://alice-ccdb.cern.ch -p TPC/Calib/CorrectionMap --timestamp 1 --created-not-after ' + str(args.condition_not_after) + ' -d ${ALICEO2_CCDB_LOCALCACHE} ; }'
676-
workflow['stages'].append(TPC_SPACECHARGE_DOWNLOADER_TASK)
677-
678670
# Fix (residual) geometry alignment for simulation stage
679671
# Detectors that prefer to apply special alignments (for example residual effects) should be listed here and download these files.
680672
# These object will take precedence over ordinary align objects **and** will only be applied in transport simulation
@@ -978,7 +970,7 @@ def putConfigValuesNew(listOfMainKeys=[], localCF = {}):
978970
CTPSCALER = args.ctp_scaler
979971
tpcDistortionType=args.tpc_distortion_type
980972
print(f"TPC distortion simulation: type = {tpcDistortionType}, CTP scaler value {CTPSCALER}");
981-
tpcdigineeds=[ContextTask['name'], LinkGRPFileTask['name'], TPC_SPACECHARGE_DOWNLOADER_TASK['name']]
973+
tpcdigineeds=[ContextTask['name'], LinkGRPFileTask['name']]
982974
if usebkgcache:
983975
tpcdigineeds += [ BKG_HITDOWNLOADER_TASKS['TPC']['name'] ]
984976

MC/run/ANCHOR/anchorMC.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ echo_info "Substituting ALIEN_JDL_LPMPRODUCTIONTAG=$ALIEN_JDL_LPMPRODUCTIONTAG w
126126
ALIEN_JDL_LPMPRODUCTIONTAG=$ALIEN_JDL_LPMANCHORPRODUCTION
127127

128128
if [[ $ALIEN_JDL_ANCHOR_SIM_OPTIONS == *"--tpc-distortion-type 2"* ]]; then
129-
export O2DPG_ENABLE_TPC_DISTORTIONS=ON
130129
# set the SCALING SOURCE to CTP for MC unless explicitely given from outside
131130
export ALIEN_JDL_TPCSCALINGSOURCE=${ALIEN_JDL_TPCSCALINGSOURCE:-"CTP"}
132131
fi

0 commit comments

Comments
 (0)