![]() |
ATLAS Offline Software
|
Public Member Functions | |
| reset (cls) | |
| init (cls) | |
| setConfigFlags (cls, flags) | |
| setRelease (cls, release) | |
| setCustomGRL (cls, grl) | |
| getLowestUnprescaled (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=1.0, reparse=False) | |
| getLowestUnprescaledAnyPeriod (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=1.0, reparse=False) | |
| getUnprescaled (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=1.0, reparse=False) | |
| getUnprescaledAnyPeriod (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=1.0, reparse=False) | |
| getInactive (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=1e-99, reparse=False) | |
| getActive (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=1e-99, reparse=False) | |
| getAllHLT (cls, period, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", livefraction=0, reparse=False) | |
| checkPeriodConsistency (cls, period=TriggerPeriod.future, triggerType=TriggerType.ALL, additionalTriggerType=TriggerType.UNDEFINED, matchPattern="", reparse=False) | |
| dumpAPI (cls, full=False) | |
Static Public Attributes | |
| log = logging.getLogger(__name__) | |
| dict | dbQueries = {} |
| customGRL = None | |
| flags = None | |
| release = None | |
| bool | cacheread = False |
Protected Member Functions | |
| _loadTriggerPeriod (cls, period, reparse) | |
Definition at line 13 of file TriggerAPI.py.
|
protected |
Definition at line 152 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.checkPeriodConsistency | ( | cls, | |
| period = TriggerPeriod.future, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| reparse = False ) |
Returns a list of triggers that are tighter than the lowest unprescaled but are not flagged as primary
This only makes sense for future periods, the past is already consistent :)
See getLowestUnprescaled for a detailed description of the options
Definition at line 142 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.dumpAPI | ( | cls, | |
| full = False ) |
Definition at line 165 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getActive | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 1e-99, | |||
| reparse = False ) |
Returns a list of HLT chains that were active at some point, including disabled chains in rerun.
See getLowestUnprescaled for a detailed description of the options
Definition at line 124 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getAllHLT | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 0, | |||
| reparse = False ) |
Returns a map of {HLT chains: average live fraction} for a given period.
The average live fraction is an approximation weighting the number of lumiblocks by prescale.
*** Don't use this number in analysis!!! ***
See getLowestUnprescaled for a detailed description of the options
Definition at line 132 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getInactive | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 1e-99, | |||
| reparse = False ) |
Returns a list of HLT chains that were fully inactive, excluding disabled chains in rerun.
See getLowestUnprescaled for a detailed description of the options
Definition at line 116 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getLowestUnprescaled | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 1.0, | |||
| reparse = False ) |
Returns a list of the lowest-pt-threshold HLT chains that were always unprescaled in the given period.
period: see TriggerEnums.TriggerPeriod for all possibilities, recommeded TriggerPeriod.y2018
triggerType: see TriggerEnums.TriggerType for all possibilities, example TriggerType.el_single
additionalTriggerType: can request additional types to match, use TriggerType.ALL to show combined triggers of any kind
accepts also a list as input in that case all types have to match
matchPattern: provide additionally a regex-like expression to be applied
livefraction: accept items that are not unprescaled but have a live fraction above this threshold, example 0.95
The live fraction is only an approximation, weighting the number of lumiblocks by prescale.
Definition at line 63 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getLowestUnprescaledAnyPeriod | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 1.0, | |||
| reparse = False ) |
Returns a list of the lowest-pt-threshold HLT chains that were unprescaled in at least one of
the subperiods within the given period. The lowest granularity can be seen in TriggerEnums.TriggerPeriod
See getLowestUnprescaled for a detailed description of the options
Definition at line 77 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getUnprescaled | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 1.0, | |||
| reparse = False ) |
Returns a list of always-unprescaled HLT chains, including backup items with higher thresholds.
See getLowestUnprescaled for a detailed description of the options
Definition at line 93 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.getUnprescaledAnyPeriod | ( | cls, | |
| period, | |||
| triggerType = TriggerType.ALL, | |||
| additionalTriggerType = TriggerType.UNDEFINED, | |||
| matchPattern = "", | |||
| livefraction = 1.0, | |||
| reparse = False ) |
Returns a list of HLT chains that were unprescaled in at least one of
the subperiods within the given period. The lowest granularity can be seen in TriggerEnums.TriggerPeriod
See getLowestUnprescaled for a detailed description of the options
Definition at line 100 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.init | ( | cls | ) |
Definition at line 30 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.reset | ( | cls | ) |
Definition at line 22 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.setConfigFlags | ( | cls, | |
| flags ) |
Set ConfigFlags (only required for "future" periods)
Definition at line 39 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.setCustomGRL | ( | cls, | |
| grl ) |
Definition at line 54 of file TriggerAPI.py.
| python.TriggerAPI.TriggerAPI.TriggerAPI.setRelease | ( | cls, | |
| release ) |
Definition at line 44 of file TriggerAPI.py.
|
static |
Definition at line 19 of file TriggerAPI.py.
|
static |
Definition at line 16 of file TriggerAPI.py.
|
static |
Definition at line 15 of file TriggerAPI.py.
|
static |
Definition at line 17 of file TriggerAPI.py.
|
static |
Definition at line 14 of file TriggerAPI.py.
|
static |
Definition at line 18 of file TriggerAPI.py.