10from AthenaConfiguration.AllConfigFlags
import initConfigFlags
11from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
12from AthenaConfiguration.ComponentFactory
import CompFactory
13from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
14from AthenaConfiguration.TestDefaults
import defaultTestFiles
18from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
24 '''Configure the example algorithm for running on a CUDA device.
27 result = ComponentAccumulator()
29 alg = CompFactory.AthCUDAExamples.TrackParticleCalibratorExampleAlg(**kwargs)
30 result.addEventAlgo(alg)
34if __name__ ==
'__main__':
37 flags = initConfigFlags()
38 flags.Exec.MaxEvents = 100
39 flags.Input.Files = defaultTestFiles.AOD_RUN3_DATA
44 acc = MainServicesCfg(flags)
47 acc.merge(PoolReadCfg(flags))
53 sys.exit(acc.run().isFailure())
TrackParticleCalibratorExampleAlgCfg(flags, **kwargs)