15 products = collections.defaultdict(list)
20 references.update(newReferences)
25 for branches
in products.values():
26 for branch
in branches:
28 branchList = sorted(branchSet)
29 process.options.canDeleteEarly.extend(branchList)
31 for prod, refs
in references.items():
32 process.options.holdsReferencesToDeleteEarly.append(cms.PSet(product=cms.string(prod), references=cms.vstring(refs)))
35 for prod
in process.producers_().
values():
36 if prod.type_() ==
"LogErrorHarvester":
37 if not hasattr(prod,
'excludeModules'):
38 prod.excludeModules = cms.untracked.vstring()
39 t = prod.excludeModules.value()
40 t.extend([b.split(
'_')[1]
for b
in branchList])
41 prod.excludeModules = t
44
def customiseEarlyDelete(process)