File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,15 @@ def getDPL_global_options(bigshm=False):
249249if (includeLocalQC or includeFullQC ) and not isdir (qcdir ):
250250 mkdir (qcdir )
251251
252+ # create the GRPs
253+ orbitsPerTF = 256
254+ GRP_TASK = createTask (name = 'grpcreate' , cpu = '0' )
255+ GRP_TASK ['cmd' ] = 'o2-grp-simgrp-tool createGRPs --run ' + str (args .run ) + ' --publishto ${ALICEO2_CCDB_LOCALCACHE:-.ccdb} -o grp --hbfpertf ' + str (orbitsPerTF ) + ' --field ' + args .field
256+ GRP_TASK ['cmd' ] += ' --readoutDets ' + " " .join (activeDetectors ) + ' --print '
257+ if len (args .bcPatternFile ) > 0 :
258+ GRP_TASK ['cmd' ] += ' --bcPatternFile ' + str (args .bcPatternFile )
259+ workflow ['stages' ].append (GRP_TASK )
260+
252261if doembedding :
253262 if not usebkgcache :
254263 # ---- do background transport task -------
@@ -394,11 +403,6 @@ def getDPL_global_options(bigshm=False):
394403MATBUD_DOWNLOADER_TASK ['cmd' ] = '[ -f matbud.root ] || ${O2_ROOT}/bin/o2-ccdb-downloadccdbfile --host http://alice-ccdb.cern.ch/ -p GLO/Param/MatLUT -o matbud.root --no-preserve-path --timestamp ' + str (args .timestamp )
395404workflow ['stages' ].append (MATBUD_DOWNLOADER_TASK )
396405
397- orbitsPerTF = 256
398- GRP_TASK = createTask (name = 'grpcreate' , cpu = '0' )
399- GRP_TASK ['cmd' ] = 'o2-grp-simgrp-tool createGRPs --run ' + str (args .run ) + ' --publishto ${ALICEO2_CCDB_LOCALCACHE:-.ccdb} -o grp --hbfpertf ' + str (orbitsPerTF ) + ' --field ' + args .field
400- workflow ['stages' ].append (GRP_TASK )
401-
402406# loop over timeframes
403407for tf in range (1 , NTIMEFRAMES + 1 ):
404408 TFSEED = SIMSEED + tf
You can’t perform that action at this time.
0 commit comments