17 numWFIB = [10021.0,10024.0,10025.0,10026.0,10023.0,10224.0,10225.0,10424.0]
18 for i,key
in enumerate(upgradeKeys[2017]):
19 numWF=numWFAll[2017][i]
20 for frag
in upgradeFragments:
23 for step
in upgradeProperties[2017][key][
'ScenToRun']:
25 stepList.append(k+
'_'+step)
27 stepList.append(step+
'_'+key)
29 workflows[numWF] = [ upgradeDatasetFromFragment[frag], stepList]
37 if 'RecoFull' in step
or 'HARVESTFull' in step:
38 s = s.replace(
'Full',
'Full_trackingOnly')
47 if 'RecoFull' in step:
48 if 'trackingOnly' in step:
49 s = s.replace(
'Only',
'OnlyRun2')
51 s = s.replace(
'Full',
'Full_trackingRun2')
60 if 'RecoFull' in step:
61 if 'trackingOnly' in step:
62 s = s.replace(
'Only',
'OnlyPhase1PU70')
64 s = s.replace(
'Full',
'Full_trackingPhase1PU70')
73 workflows[10024.1] = [ workflows[10024.0][0],
_trackingOnly(workflows[10024.0][1]) ]
74 workflows[10024.2] = [ workflows[10024.0][0],
_trackingRun2(workflows[10024.0][1]) ]
75 workflows[10024.3] = [ workflows[10024.1][0],
_trackingRun2(workflows[10024.1][1]) ]