ATLAS Offline Software
Functions
python.hltOksUtils Namespace Reference

Functions

def defaultTags ()
 
def platform ()
 

Function Documentation

◆ defaultTags()

def python.hltOksUtils.defaultTags ( )
Return list of supported binary tags

Definition at line 9 of file hltOksUtils.py.

9 def defaultTags():
10  """Return list of supported binary tags"""
11 
12  import pm.common
13 
14  tag = platform()
15  opt_tag = '-'.join(tag.split('-')[:-1])+'-opt'
16  dbg_tag = '-'.join(tag.split('-')[:-1])+'-dbg'
17  tags = [pm.common.tdaqRepository.getObject('Tag', opt_tag),
18  pm.common.tdaqRepository.getObject('Tag', dbg_tag)]
19 
20  return tags
21 

◆ platform()

def python.hltOksUtils.platform ( )
Return current BINARY_TAG

Definition at line 22 of file hltOksUtils.py.

22 def platform():
23  """Return current BINARY_TAG"""
24 
25  project = os.environ.get('AtlasProject','')
26  tag = os.environ.get('%s_PLATFORM' % project, os.environ.get('BINARY_TAG',None))
27 
28  return tag
29 
30 
python.hltOksUtils.defaultTags
def defaultTags()
Definition: hltOksUtils.py:9
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.hltOksUtils.platform
def platform()
Definition: hltOksUtils.py:22