@@ -254,8 +254,8 @@ def getDPL_global_options(bigshm=False):
254254orbitsPerTF = 256
255255GRP_TASK = createTask (name = 'grpcreate' , cpu = '0' )
256256GRP_TASK ['cmd' ] = 'o2-grp-simgrp-tool createGRPs --run ' + str (args .run ) + ' --publishto ${ALICEO2_CCDB_LOCALCACHE:-.ccdb} -o grp --hbfpertf ' + str (orbitsPerTF ) + ' --field ' + args .field
257- GRP_TASK ['cmd' ] += ' --readoutDets ' + " " .join (activeDetectors ) + ' --print '
258- if len (args .bcPatternFile ) > 0 :
257+ GRP_TASK ['cmd' ] += ' --readoutDets ' + " " .join (activeDetectors ) + ' --print ' + ( '' , '--lhcif-CCDB' )[ args . run_anchored ]
258+ if ( not args . run_anchored == True ) and len (args .bcPatternFile ) > 0 :
259259 GRP_TASK ['cmd' ] += ' --bcPatternFile ' + str (args .bcPatternFile )
260260workflow ['stages' ].append (GRP_TASK )
261261
@@ -1069,8 +1069,10 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
10691069 # produce AOD
10701070 # -----------
10711071 # TODO This needs further refinement, sources and dependencies should be constructed dynamically
1072- aodinfosources = 'ITS,MFT,MCH,TPC,ITS-TPC,MFT-MCH,ITS-TPC-TOF,TPC-TOF,FT0,FDD,CTP, TPC-TRD,ITS-TPC-TRD,ITS-TPC-TRD-TOF,EMC '
1072+ aodinfosources = 'ITS,MFT,MCH,TPC,ITS-TPC,MFT-MCH,ITS-TPC-TOF,TPC-TOF,FT0,FDD,TPC-TRD,ITS-TPC-TRD,ITS-TPC-TRD-TOF'
10731073 aodneeds = [PVFINDERtask ['name' ], SVFINDERtask ['name' ]]
1074+ if isActive ('CTP' ):
1075+ aodinfosources += ',CTP'
10741076 if isActive ('FV0' ):
10751077 aodneeds += [ FV0RECOtask ['name' ] ]
10761078 aodinfosources += ',FV0'
@@ -1080,6 +1082,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
10801082 aodneeds += [ TRDTRACKINGtask2 ['name' ] ]
10811083 if isActive ('EMC' ):
10821084 aodneeds += [ EMCRECOtask ['name' ] ]
1085+ aodinfosources += ',EMC'
10831086 if isActive ('CPV' ):
10841087 aodneeds += [ CPVRECOtask ['name' ] ]
10851088 if isActive ('PHS' ):
0 commit comments