@@ -31,6 +31,7 @@ NTIMEFRAMES=${NTIMEFRAMES:-1} # Number of time frames to process
3131TFDELAY=${TFDELAY:- 100} # Delay in seconds between publishing time frames
3232NOMCLABELS=" --disable-mc"
3333O2SIMSEED=${O2SIMSEED:- -1}
34+ SPLITTRDDIGI=${SPLITTRDDIGI:- 1}
3435
3536# allow skipping
3637JOBUTILS_SKIPDONE=ON
@@ -47,6 +48,7 @@ HOST=`hostname`
4748TAG=" conf=${CONFIG} ,host=${HOST}${ALIDISTCOMMIT: +,alidist=$ALIDISTCOMMIT }${O2COMMIT: +,o2=$O2COMMIT } "
4849echo " versions,${TAG} alidist=\" ${ALIDISTCOMMIT} \" ,O2=\" ${O2COMMIT} \" " > ${METRICFILE}
4950
51+ GLOBALDPLOPT=" -b" # --monitoring-backend no-op:// is currently removed due to https://alice.its.cern.ch/jira/browse/O2-1887
5052
5153ulimit -n 4096 # Make sure we can open sufficiently many files
5254[ $? == 0 ] || (echo Failed setting ulimit && exit 1)
@@ -58,10 +60,15 @@ QED2HAD=$(awk "BEGIN {printf \"%.2f\",`grep xSectionQED qedgenparam.ini | cut -d
5860echo " Obtained ratio of QED to hadronic x-sections = $QED2HAD " >> qedsim.log
5961cd ..
6062
61- GLOBALDPLOPT=" -b" # --monitoring-backend no-op:// is currently removed due to https://alice.its.cern.ch/jira/browse/O2-1887
63+ if [ $SPLITTRDDIGI == " 1" ]; then
64+ DIGITRDOPT=" --skipDet TRD"
65+ else
66+ DIGITRDOPT=" --configKeyValues \" TRDSimParams.digithreads=${NJOBS} \" "
67+ fi
68+
6269taskwrapper sim.log o2-sim --seed $O2SIMSEED -n $NEvents --skipModules ZDC --configKeyValues " Diamond.width[2]=6." -g pythia8hi -j $NJOBS
63- taskwrapper digi.log o2-sim-digitizer-workflow -n $NEvents --simPrefixQED qed/o2sim --qed-x-section-ratio ${QED2HAD} ${NOMCLABELS} --firstOrbit 0 --firstBC 0 --skipDet TRD -- tpc-lanes $(( NJOBS < 36 ? NJOBS : 36 )) --shm-segment-size $SHMSIZE ${GLOBALDPLOPT}
64- taskwrapper digiTRD.log o2-sim-digitizer-workflow -n $NEvents ${NOMCLABELS} --firstOrbit 0 --firstBC 0 --onlyDet TRD --shm-segment-size $SHMSIZE ${GLOBALDPLOPT} --incontext collisioncontext.root --configKeyValues " TRDSimParams.digithreads=${NJOBS} "
70+ taskwrapper digi.log o2-sim-digitizer-workflow -n $NEvents --simPrefixQED qed/o2sim --qed-x-section-ratio ${QED2HAD} ${NOMCLABELS} --firstOrbit 0 --firstBC 0 --tpc-lanes $(( NJOBS < 36 ? NJOBS : 36 )) --shm-segment-size $SHMSIZE ${GLOBALDPLOPT} ${DIGITRDOPT }
71+ [ $SPLITTRDDIGI == " 1 " ] && taskwrapper digiTRD.log o2-sim-digitizer-workflow -n $NEvents ${NOMCLABELS} --firstOrbit 0 --firstBC 0 --onlyDet TRD --shm-segment-size $SHMSIZE ${GLOBALDPLOPT} --incontext collisioncontext.root --configKeyValues " TRDSimParams.digithreads=${NJOBS} "
6572mkdir -p raw
6673taskwrapper itsraw.log o2-its-digi2raw --file-for link --configKeyValues ' "HBFUtils.nHBFPerTF=128;HBFUtils.orbitFirst=0"' -o raw/ITS
6774taskwrapper mftraw.log o2-mft-digi2raw --file-for link --configKeyValues ' "HBFUtils.nHBFPerTF=128;HBFUtils.orbitFirst=0"' -o raw/MFT
0 commit comments