ATLAS Offline Software
Functions
python.PoolCommonConfig Namespace Reference

Functions

def PoolSvcCfg (flags, withCatalogs=False, **kwargs)
 
def AthenaPoolCnvSvcCfg (flags, **kwargs)
 
def AthenaPoolAddressProviderSvcCfg (flags, **kwargs)
 

Function Documentation

◆ AthenaPoolAddressProviderSvcCfg()

def python.PoolCommonConfig.AthenaPoolAddressProviderSvcCfg (   flags,
**  kwargs 
)

Definition at line 39 of file PoolCommonConfig.py.

39 def AthenaPoolAddressProviderSvcCfg(flags, **kwargs):
40  acc = ComponentAccumulator()
41  acc.addService(CompFactory.StoreGateSvc("MetaDataStore"))
42 
43  service = CompFactory.AthenaPoolAddressProviderSvc(**kwargs)
44  acc.addService(service)
45  acc.addService(CompFactory.ProxyProviderSvc(ProviderNames=[service.getFullJobOptName()]))
46  return acc

◆ AthenaPoolCnvSvcCfg()

def python.PoolCommonConfig.AthenaPoolCnvSvcCfg (   flags,
**  kwargs 
)

Definition at line 29 of file PoolCommonConfig.py.

29 def AthenaPoolCnvSvcCfg(flags, **kwargs):
30  acc = PoolSvcCfg(flags)
31 
32  service = CompFactory.AthenaPoolCnvSvc(**kwargs)
33  acc.addService(service)
34  acc.addService(CompFactory.EvtPersistencySvc("EventPersistencySvc",
35  CnvServices=[service.getFullJobOptName()]))
36  return acc
37 
38 

◆ PoolSvcCfg()

def python.PoolCommonConfig.PoolSvcCfg (   flags,
  withCatalogs = False,
**  kwargs 
)

Definition at line 7 of file PoolCommonConfig.py.

7 def PoolSvcCfg(flags, withCatalogs=False, **kwargs):
9 
10  kwargs.setdefault("MaxFilesOpen", flags.PoolSvc.MaxFilesOpen)
11 
12  if withCatalogs:
13  catalogs = [
14  "apcfile:poolcond/PoolFileCatalog.xml",
15  "apcfile:poolcond/PoolCat_oflcond.xml",
16  ]
17 
18  if not flags.Input.isMC:
19  catalogs += [
20  "apcfile:poolcond/PoolCat_comcond.xml",
21  ]
22 
23  kwargs.setdefault("ReadCatalog", catalogs)
24 
25  acc.addService(CompFactory.PoolSvc(**kwargs))
26  return acc
27 
28 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.PoolCommonConfig.PoolSvcCfg
def PoolSvcCfg(flags, withCatalogs=False, **kwargs)
Definition: PoolCommonConfig.py:7
python.PoolCommonConfig.AthenaPoolCnvSvcCfg
def AthenaPoolCnvSvcCfg(flags, **kwargs)
Definition: PoolCommonConfig.py:29
python.PoolCommonConfig.AthenaPoolAddressProviderSvcCfg
def AthenaPoolAddressProviderSvcCfg(flags, **kwargs)
Definition: PoolCommonConfig.py:39