8def BLMSensorSDCfg(ConfigFlags, name="BLMSensorSD", **kwargs):
9 bare_collection_name = "BLMHits"
10 mergeable_collection_suffix = "_G4"
11 merger_input_property = "BLMHits"
12 region = "ID"
13
14 acc, hits_collection_name = CollectionMergerCfg(ConfigFlags,
15 bare_collection_name,
16 mergeable_collection_suffix,
17 merger_input_property,
18 region)
19 kwargs.setdefault("LogicalVolumeNames", ["Pixel::blmDiamondLog"])
20 kwargs.setdefault("OutputCollectionNames", [hits_collection_name])
21
22 result = ComponentAccumulator()
23 result.merge(acc)
24 result.setPrivateTools(CompFactory.BLMSensorSDTool(name, **kwargs))
25 return result