3from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 Configure and return a ComponentAccumulator with all Hive algorithms.
10 from AthExHive.AthExHiveConfig
import (
33 cfg = ComponentAccumulator()
34 for alg_conf
in alg_configs:
35 cfg.merge(alg_conf(flags))
40if __name__ ==
"__main__":
42 from AthenaConfiguration.MainServicesConfig
import MainEvgenServicesCfg
43 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
45 flags = initConfigFlags()
46 flags.Input.Files = []
47 flags.Input.RunNumbers = [284500]
48 flags.Input.TimeStamps = [1]
50 flags.Input.TypedCollections = []
51 flags.Exec.MaxEvents = 20
56 cfg = MainEvgenServicesCfg(flags, withSequences=
True)
61 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
63 cfg.merge(OutputStreamCfg(flags,
"ExampleStream", ItemList=[
"HiveDataObj#*"]))
68 sys.exit(cfg.run().isFailure())
WriteHiveDataObjCfg(flags)