7 def _branchName(productType, moduleLabel, instanceLabel=""):
8 return "%s_%s_%s_%s" % (productType, moduleLabel, instanceLabel, process.name_())
10 for name, module
in process.producers_().
items():
11 cppType = module.type_()
12 if cppType ==
"MkFitSiPixelHitConverter":
13 products[name].extend([
14 _branchName(
"MkFitHitWrapper", name),
15 _branchName(
"MkFitClusterIndexToHit", name),
17 elif cppType ==
"MkFitSiStripHitConverter":
18 products[name].extend([
19 _branchName(
"MkFitHitWrapper", name),
20 _branchName(
"MkFitClusterIndexToHit", name),
21 _branchName(
"floats", name)
23 elif cppType ==
"MkFitEventOfHitsProducer":
24 products[name].
append(_branchName(
"MkFitEventOfHits", name))
25 elif cppType ==
"MkFitSeedConverter":
26 products[name].
append(_branchName(
"MkFitSeedWrapper", name))
27 elif cppType ==
"MkFitProducer":
28 products[name].
append(_branchName(
"MkFitOutputWrapper", name))
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 ...