Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 43 of file PoolCommonConfig.py.

43 def AthenaPoolAddressProviderSvcCfg(flags, **kwargs):
44  acc = ComponentAccumulator()
45  acc.addService(CompFactory.StoreGateSvc("MetaDataStore"))
46 
47  service = CompFactory.AthenaPoolAddressProviderSvc(**kwargs)
48  acc.addService(service)
49  acc.addService(CompFactory.ProxyProviderSvc(ProviderNames=[service.getFullJobOptName()]))
50  return acc

◆ AthenaPoolCnvSvcCfg()

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

Definition at line 30 of file PoolCommonConfig.py.

30 def AthenaPoolCnvSvcCfg(flags, **kwargs):
31  acc = PoolSvcCfg(flags)
32 
33  if flags.PoolSvc.PersSvcPerInputType:
34  kwargs.setdefault("PersSvcPerInputType", "CollectionTree")
35 
36  service = CompFactory.AthenaPoolCnvSvc(**kwargs)
37  acc.addService(service)
38  acc.addService(CompFactory.EvtPersistencySvc("EventPersistencySvc",
39  CnvServices=[service.getFullJobOptName()]))
40  return acc
41 
42 

◆ 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  kwargs.setdefault("DefaultContainerType", flags.PoolSvc.DefaultContainerType)
12 
13  if withCatalogs:
14  catalogs = [
15  "apcfile:poolcond/PoolFileCatalog.xml",
16  "apcfile:poolcond/PoolCat_oflcond.xml",
17  ]
18 
19  if not flags.Input.isMC:
20  catalogs += [
21  "apcfile:poolcond/PoolCat_comcond.xml",
22  ]
23 
24  kwargs.setdefault("ReadCatalog", catalogs)
25 
26  acc.addService(CompFactory.PoolSvc(**kwargs))
27  return acc
28 
29 
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:30
python.PoolCommonConfig.AthenaPoolAddressProviderSvcCfg
def AthenaPoolAddressProviderSvcCfg(flags, **kwargs)
Definition: PoolCommonConfig.py:43