File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
MC/run/ANCHOR/2021/OCT/pass4 Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,9 @@ sed -i 's/JDL_ANCHORYEAR/JDL_LPMANCHORYEAR/' async_pass.sh
4343# set number of timeframes to xx if necessary
4444# sed -i 's/NTIMEFRAMES=-1/NTIMEFRAMES=xx/' async_pass.sh
4545
46- alien.py cp /alice/cern.ch/user/a/alidaq/OCT/apass4/commonInput.tgz file:.
47- alien.py cp /alice/cern.ch/user/a/alidaq/OCT/apass4/runInput_${RUNNUMBER} .tgz file:.
48- alien.py cp /alice/cern.ch/user/a/alidaq/OCT/apass4/TPC_calibdEdx.220301.tgz file:.
49-
50- # hack to fake presence of StfBuilder (in fact not needed; but checked by the reco script
51- if [ ` which StfBuilder 2> /dev/null | wc -l` == " 0" ]; then
52- touch StfBuilder
53- chmod +x StfBuilder
54- export PATH=$PATH :$PWD
55- fi
46+ [[ ! -f commonInput.tgz ]] && alien.py cp /alice/cern.ch/user/a/alidaq/OCT/apass4/commonInput.tgz file:.
47+ [[ ! -f runInput_${RUNNUMBER} ]] && alien.py cp /alice/cern.ch/user/a/alidaq/OCT/apass4/runInput_${RUNNUMBER} .tgz file:.
48+ [[ ! -f TPC_calibdEdx.220301.tgz ]] && alien.py cp /alice/cern.ch/user/a/alidaq/OCT/apass4/TPC_calibdEdx.220301.tgz file:.
5649
5750# create workflow ---> creates the file that can be parsed
5851export IGNORE_EXISTING_SHMFILES=1
@@ -62,6 +55,12 @@ touch list.list
6255# now create the local MC config file --> config-config.json
6356${O2DPG_ROOT} /UTILS/parse-async-WorkflowConfig.py
6457
58+ # check if config reasonably created
59+ if [[ ` grep " o2-ctf-reader-workflow-options" config-json.json 2> /dev/null | wc` == " 0" ]]; then
60+ echo " Problem in anchor config creation"
61+ exit 1
62+ fi
63+
6564# -- CREATE THE MC JOB DESCRIPTION ANCHORED TO RUN --
6665
6766NWORKERS=${NWORKERS:- 8}
You can’t perform that action at this time.
0 commit comments