13 return frag+
'_'+key+
'_'+step+suffix
16 return step+suffix+
'_'+key
20 for year
in upgradeKeys:
21 for i,key
in enumerate(upgradeKeys[year]):
22 numWF=numWFAll[year][i]
23 for frag,info
in six.iteritems(upgradeFragments):
25 if (
"CE_E" in frag
or "CE_H" in frag)
and year==2017:
29 for specialType
in upgradeWFs.keys():
30 stepList[specialType] = []
32 for step
in upgradeProperties[year][key][
'ScenToRun']:
33 stepMaker = makeStepName
35 if 'HLBeamSpotFull' in step
and '14TeV' in frag:
36 step =
'GenSimHLBeamSpotFull14' 37 stepMaker = makeStepNameSim
39 if 'HARVEST' in step: hasHarvest =
True 41 for specialType,specialWF
in six.iteritems(upgradeWFs):
43 if specialType ==
'Premix':
53 s = step.replace(
'GenSim',
'Premix')
54 if not s
in specialWF.PU:
59 stepList[specialType].
append(stepMaker(key,
"SingleNuE10_cf",s,specialWF.suffix))
60 elif (specialType
is not 'baseline')
and ( (
'PU' in step
and step.replace(
'PU',
'')
in specialWF.PU)
or (step
in specialWF.steps) ):
61 stepList[specialType].
append(stepMaker(key,frag[:-4],step,specialWF.suffix))
63 if specialType ==
'ProdLike' and 'RecoFullGlobal' in step:
64 stepList[specialType].
append(stepMaker(key,frag[:-4],step.replace(
'RecoFullGlobal',
'MiniAODFullGlobal'),specialWF.suffix))
66 stepList[specialType].
append(stepMaker(key,frag[:-4],step,
''))
68 for specialType,specialWF
in six.iteritems(upgradeWFs):
69 specialWF.workflow(workflows, numWF, info.dataset, stepList[specialType], key, hasHarvest)
71 inclPremix =
'PU' in key
74 for y
in [
'2021',
'2023',
'2024',
'2026']:
80 if info.dataset==
"NuGun":
81 workflows[numWF+upgradeWFs[
'Premix'].offset] = [info.dataset, stepList[
'Premix']]
85 for step
in stepList[
'baseline']:
87 if "Digi" in step
or "Reco" in step:
88 s = s.replace(
"PU",
"PUPRMX", 1)
90 workflows[numWF+upgradeWFs[
'premixS2'].offset] = [info.dataset, slist]
96 return s.replace(
"_",
"PUPRMXCombined_")
97 return s+
"PUPRMXCombined" 99 workflows[numWF+upgradeWFs[
'premixS1S2'].offset] = [info.dataset,
102 [slist[1].
replace(
"PUPRMX",
"PUPRMXCombined")] +
def makeStepName(key, frag, step, suffix)
def replace(string, replacements)
def makeStepNameSim(key, frag, step, suffix)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run