ATLAS Offline Software
Functions | Variables
python.DataScoutingInfo Namespace Reference

Functions

def getDataScoutingResultID (name)
 
def getDataScoutingStreams ()
 
def getDataScoutingTypeFromStream (streamname)
 
def getAllDataScoutingResultIDs ()
 
def getFullHLTResultID ()
 
def getAllDataScoutingIdentifiers ()
 

Variables

 log
 
 _DataScoutingIdentifiers
 
 _DataScoutingStreams
 
 TruncationThresholds
 

Function Documentation

◆ getAllDataScoutingIdentifiers()

def python.DataScoutingInfo.getAllDataScoutingIdentifiers ( )

Definition at line 79 of file DataScoutingInfo.py.

80  return list(_DataScoutingIdentifiers.keys())

◆ getAllDataScoutingResultIDs()

def python.DataScoutingInfo.getAllDataScoutingResultIDs ( )

Definition at line 69 of file DataScoutingInfo.py.

70  return _DataScoutingIdentifiers.values()
71 
72 

◆ getDataScoutingResultID()

def python.DataScoutingInfo.getDataScoutingResultID (   name)

Definition at line 51 of file DataScoutingInfo.py.

51 def getDataScoutingResultID(name):
52  if name in _DataScoutingIdentifiers:
53  return _DataScoutingIdentifiers[name]
54  else:
55  log.error('Unknown name %s, cannot assign result ID', name)
56 
57 

◆ getDataScoutingStreams()

def python.DataScoutingInfo.getDataScoutingStreams ( )

Definition at line 58 of file DataScoutingInfo.py.

59  return list(_DataScoutingStreams.keys())
60 
61 

◆ getDataScoutingTypeFromStream()

def python.DataScoutingInfo.getDataScoutingTypeFromStream (   streamname)

Definition at line 62 of file DataScoutingInfo.py.

62 def getDataScoutingTypeFromStream(streamname):
63  if streamname in _DataScoutingStreams:
64  return _DataScoutingStreams[streamname]
65  else:
66  log.error('Unknown name %s, not a data scouting stream', streamname)
67 
68 

◆ getFullHLTResultID()

def python.DataScoutingInfo.getFullHLTResultID ( )

Definition at line 73 of file DataScoutingInfo.py.

73 def getFullHLTResultID():
74  # WARNING: Don't change this, it should always be zero.
75  # It's defined here to avoid using a magic number in other places
76  return 0
77 
78 

Variable Documentation

◆ _DataScoutingIdentifiers

python.DataScoutingInfo._DataScoutingIdentifiers
private

Definition at line 22 of file DataScoutingInfo.py.

◆ _DataScoutingStreams

python.DataScoutingInfo._DataScoutingStreams
private

Definition at line 31 of file DataScoutingInfo.py.

◆ log

python.DataScoutingInfo.log

Definition at line 4 of file DataScoutingInfo.py.

◆ TruncationThresholds

python.DataScoutingInfo.TruncationThresholds

Definition at line 40 of file DataScoutingInfo.py.

python.DataScoutingInfo.getFullHLTResultID
def getFullHLTResultID()
Definition: DataScoutingInfo.py:73
python.DataScoutingInfo.getDataScoutingResultID
def getDataScoutingResultID(name)
Definition: DataScoutingInfo.py:51
python.DataScoutingInfo.getAllDataScoutingIdentifiers
def getAllDataScoutingIdentifiers()
Definition: DataScoutingInfo.py:79
python.DataScoutingInfo.getDataScoutingTypeFromStream
def getDataScoutingTypeFromStream(streamname)
Definition: DataScoutingInfo.py:62
python.DataScoutingInfo.getAllDataScoutingResultIDs
def getAllDataScoutingResultIDs()
Definition: DataScoutingInfo.py:69
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
python.DataScoutingInfo.getDataScoutingStreams
def getDataScoutingStreams()
Definition: DataScoutingInfo.py:58