Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
CondAlgsConfig Namespace Reference

Functions

def ASCIICondDbSvcConf (flags, name="ASCIICondDbSvc", **kwargs)
 

Variables

 flags = initConfigFlags()
 
 RunNumbers
 
 TypedCollections
 
 MaxEvents
 
 ShowControlFlow
 
 ShowDataDeps
 
 cfg = MainServicesCfg(flags)
 
 sequenceName
 

Function Documentation

◆ ASCIICondDbSvcConf()

def CondAlgsConfig.ASCIICondDbSvcConf (   flags,
  name = "ASCIICondDbSvc",
**  kwargs 
)

Definition at line 13 of file CondAlgsConfig.py.

13 def ASCIICondDbSvcConf(flags,name="ASCIICondDbSvc",**kwargs):
14  import os
15  from AthenaCommon.Logging import log
16  log.setLevel(flags.Exec.OutputLevel)
17 
18  condDbFile = "condDb.txt"
19  found = 0
20  for dir in (".:"+os.environ.get('DATAPATH')).split (':'):
21  cdb = os.path.join(dir,condDbFile)
22  if (os.path.isfile( cdb ) ) :
23  found = 1
24  break
25 
26  if (found == 0):
27  log.fatal('ASCII condDb file \"' + condDbFile + '\" not found')
28  sys.exit(1)
29  else:
30  log.info('using ASCIICondDb file from ' + cdb)
31 
32  kwargs.setdefault("CondFile",cdb)
33  result = ComponentAccumulator()
34  svc = CompFactory.ASCIICondDbSvc(name,**kwargs)
35  result.addService(svc)
36  return result
37 

Variable Documentation

◆ cfg

CondAlgsConfig.cfg = MainServicesCfg(flags)

Definition at line 61 of file CondAlgsConfig.py.

◆ flags

CondAlgsConfig.flags = initConfigFlags()

Definition at line 41 of file CondAlgsConfig.py.

◆ MaxEvents

CondAlgsConfig.MaxEvents

Definition at line 44 of file CondAlgsConfig.py.

◆ RunNumbers

CondAlgsConfig.RunNumbers

Definition at line 42 of file CondAlgsConfig.py.

◆ sequenceName

CondAlgsConfig.sequenceName

Definition at line 73 of file CondAlgsConfig.py.

◆ ShowControlFlow

CondAlgsConfig.ShowControlFlow

Definition at line 45 of file CondAlgsConfig.py.

◆ ShowDataDeps

CondAlgsConfig.ShowDataDeps

Definition at line 46 of file CondAlgsConfig.py.

◆ TypedCollections

CondAlgsConfig.TypedCollections

Definition at line 43 of file CondAlgsConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
CondAlgsConfig.ASCIICondDbSvcConf
def ASCIICondDbSvcConf(flags, name="ASCIICondDbSvc", **kwargs)
Definition: CondAlgsConfig.py:13