CMS 3D CMS Logo

Functions
customiseEarlyDeleteForCandIsoDeposits Namespace Reference

Functions

def customiseEarlyDeleteForCandIsoDeposits (process, products)
 

Function Documentation

◆ customiseEarlyDeleteForCandIsoDeposits()

def customiseEarlyDeleteForCandIsoDeposits.customiseEarlyDeleteForCandIsoDeposits (   process,
  products 
)

Definition at line 5 of file customiseEarlyDeleteForCandIsoDeposits.py.

5 def customiseEarlyDeleteForCandIsoDeposits(process, products):
6  # Find the producers
7 
8  def _branchName(productType, moduleLabel, instanceLabel=""):
9  return "%s_%s_%s_%s" % (productType, moduleLabel, instanceLabel, process.name_())
10 
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))
16 
17  return products

References mps_setup.append, and mps_monitormerge.items.

mps_monitormerge.items
list items
Definition: mps_monitormerge.py:29
mps_setup.append
append
Definition: mps_setup.py:85
customiseEarlyDeleteForCandIsoDeposits.customiseEarlyDeleteForCandIsoDeposits
def customiseEarlyDeleteForCandIsoDeposits(process, products)
Definition: customiseEarlyDeleteForCandIsoDeposits.py:5