3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
10 kwargs.setdefault(
"MaxFilesOpen", flags.PoolSvc.MaxFilesOpen)
11 kwargs.setdefault(
"DefaultContainerType", flags.PoolSvc.DefaultContainerType)
15 "apcfile:poolcond/PoolFileCatalog.xml",
16 "apcfile:poolcond/PoolCat_oflcond.xml",
19 if not flags.Input.isMC:
21 "apcfile:poolcond/PoolCat_comcond.xml",
24 kwargs.setdefault(
"ReadCatalog", catalogs)
26 acc.addService(CompFactory.PoolSvc(**kwargs))
33 if flags.PoolSvc.PersSvcPerInputType:
34 kwargs.setdefault(
"PersSvcPerInputType",
"CollectionTree")
36 service = CompFactory.AthenaPoolSharedIOCnvSvc(**kwargs)
37 acc.addService(service)
38 acc.addService(CompFactory.EvtPersistencySvc(
"EventPersistencySvc",
39 CnvServices=[service.getFullJobOptName()]))
46 if flags.PoolSvc.PersSvcPerInputType:
47 kwargs.setdefault(
"PersSvcPerInputType",
"CollectionTree")
49 service = CompFactory.AthenaPoolCnvSvc(**kwargs)
50 acc.addService(service)
51 acc.addService(CompFactory.EvtPersistencySvc(
"EventPersistencySvc",
52 CnvServices=[service.getFullJobOptName()]))
58 acc.addService(CompFactory.StoreGateSvc(
"MetaDataStore"))
60 service = CompFactory.AthenaPoolAddressProviderSvc(**kwargs)
61 acc.addService(service)
62 acc.addService(CompFactory.ProxyProviderSvc(ProviderNames=[service.getFullJobOptName()]))