CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customiseEarlyDeleteForCandIsoDeposits Namespace Reference

Functions

def customiseEarlyDeleteForCandIsoDeposits
 

Function Documentation

def customiseEarlyDeleteForCandIsoDeposits.customiseEarlyDeleteForCandIsoDeposits (   process,
  products 
)

Definition at line 5 of file customiseEarlyDeleteForCandIsoDeposits.py.

References bitset_utilities.append(), and mps_monitormerge.items.

5 
6 def customiseEarlyDeleteForCandIsoDeposits(process, products):
7  # Find the producers
8 
9  def _branchName(productType, moduleLabel, instanceLabel=""):
10  return "%s_%s_%s_%s" % (productType, moduleLabel, instanceLabel, process.name_())
11 
12  for name, module in process.producers_().items():
13  cppType = module._TypedParameterizable__type
14  if cppType == "CandIsoDepositProducer":
15  if module.ExtractorPSet.ComponentName in ["CandViewExtractor", "PFCandWithSuperClusterExtractor"] :
16  products[name].append(_branchName("recoIsoDepositedmValueMap", name))
17 
18  return products
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...