12 """Return ActsFatrasWriteHandler configured with ComponentAccumulator"""
14 mlog = logging.getLogger(name)
15 mlog.info(
'Start configuration ActsFatrasWriteHandler')
17 bare_collection_name =
"PixelHits"
18 mergeable_collection_suffix =
"_Fatras"
19 merger_input_property =
"PixelHits"
23 mergeable_collection_suffix,
24 merger_input_property,
28 bare_collection_name =
"SCT_Hits"
29 mergeable_collection_suffix =
"_Fatras"
30 merger_input_property =
"SCTHits"
34 mergeable_collection_suffix,
35 merger_input_property,
39 kwargs.setdefault(
"PixelCollectionName", pixel_hits_collection_name)
40 kwargs.setdefault(
"SCTCollectionName", sct_hits_collection_name)
42 acc.setPrivateTools(CompFactory.ActsFatrasWriteHandler(name=name, **kwargs))