6def WriteHiveDataObjCfg(flags):
7 """
8 Configure and return a ComponentAccumulator with all Hive algorithms.
9 """
10 from AthExHive.AthExHiveConfig import (
11 HiveAlgAConf,
12 HiveAlgBConf,
13 HiveAlgCConf,
14 HiveAlgDConf,
15 HiveAlgEConf,
16 HiveAlgFConf,
17 HiveAlgGConf,
18 HiveAlgVConf,
19 )
20
21
22 alg_configs = [
23 HiveAlgAConf,
24 HiveAlgBConf,
25 HiveAlgCConf,
26 HiveAlgDConf,
27 HiveAlgEConf,
28 HiveAlgFConf,
29 HiveAlgGConf,
30 HiveAlgVConf,
31 ]
32
33 cfg = ComponentAccumulator()
34 for alg_conf in alg_configs:
35 cfg.merge(alg_conf(flags))
36
37 return cfg
38
39