1 import FWCore.ParameterSet.Config
as cms
9 def _branchName(productType, moduleLabel, instanceLabel=""):
10 return "%s_%s_%s_%s" % (productType, moduleLabel, instanceLabel, process.name_())
12 for name, module
in six.iteritems(process.producers_()):
13 cppType = module._TypedParameterizable__type
14 if cppType ==
"CandIsoDepositProducer":
15 if module.ExtractorPSet.ComponentName
in [
"CandViewExtractor",
"PFCandWithSuperClusterExtractor"] :
16 products[name].
append(_branchName(
"recoIsoDepositedmValueMap", name))
def customiseEarlyDeleteForCandIsoDeposits(process, products)