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