Public Member Functions | |
def | __init__ |
def | expressGlobalTag |
def | firstConditionSafeRun |
def | getData |
def | getResultList |
def | getValues |
def | lastPromptRun |
def | promptGlobalTag |
Private Attributes | |
_debug | |
_maxretry | |
_proxy | |
_retry | |
_t0DasBaseUrl | |
Class handling common Tier0-DAS queries and connected utilities
Definition at line 20 of file FrontierCondition_GT_autoExpress_cfi.py.
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.__init__ | ( | self, | |
url = 'https://cmsweb.cern.ch/t0wmadatasvc/prod/' , |
|||
proxy = None |
|||
) |
Need base url for Tier0-DAS as input
Definition at line 24 of file FrontierCondition_GT_autoExpress_cfi.py.
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.expressGlobalTag | ( | self | ) |
Query the GT currently used by express = GT used by the last run released for express.
Definition at line 192 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._t0DasBaseUrl, TkLasBeam.getData(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), DTKeyedConfigCache.getData(), DTPosNeg.getData(), SiStripThreshold.getData(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getResultList().
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.firstConditionSafeRun | ( | self | ) |
Query to ge the run for which the Tier0 system considers safe the update to the conditions
Definition at line 155 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._t0DasBaseUrl, TkLasBeam.getData(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), DTKeyedConfigCache.getData(), DTPosNeg.getData(), SiStripThreshold.getData(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getResultList().
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData | ( | self, | |
src, | |||
tout = 5 |
|||
) |
Get the JSON file for a give query specified via the Tier0-DAS url. Timeout can be set via paramter.
Definition at line 35 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._debug, EcalMatacqAnalyzer._debug, EcalABAnalyzer._debug, EcalLaserAnalyzer2._debug, EcalLaserAnalyzer._debug, FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._maxretry, FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._proxy, FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._retry, TkLasBeam.getData(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), DTKeyedConfigCache.getData(), DTPosNeg.getData(), and SiStripThreshold.getData().
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.expressGlobalTag(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.firstConditionSafeRun(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.lastPromptRun(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.promptGlobalTag().
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getResultList | ( | self, | |
json | |||
) |
Extractt the result list out of the JSON file
Definition at line 94 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.expressGlobalTag(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.firstConditionSafeRun(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.lastPromptRun(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.promptGlobalTag().
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getValues | ( | self, | |
json, | |||
key, | |||
selection = '' |
|||
) |
Extract the value corrisponding to a given key from a JSON file. It is also possible to apply further selections.
Definition at line 105 of file FrontierCondition_GT_autoExpress_cfi.py.
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.lastPromptRun | ( | self | ) |
Query to get the last run released for prompt
Definition at line 135 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._t0DasBaseUrl, TkLasBeam.getData(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), DTKeyedConfigCache.getData(), DTPosNeg.getData(), SiStripThreshold.getData(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getResultList().
def FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.promptGlobalTag | ( | self, | |
dataset | |||
) |
Query the GT currently used by prompt = GT used by the last run released for prompt.
Definition at line 169 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface._t0DasBaseUrl, TkLasBeam.getData(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), DTKeyedConfigCache.getData(), DTPosNeg.getData(), SiStripThreshold.getData(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getResultList().
|
private |
Definition at line 29 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData(), cmsPerfSuite.PerfSuite.optionParse(), and cmsPerfSuite.PerfSuite.runCmsReport().
|
private |
Definition at line 31 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData().
|
private |
Definition at line 32 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData().
|
private |
Definition at line 30 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.getData().
|
private |
Definition at line 28 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.expressGlobalTag(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.firstConditionSafeRun(), FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.lastPromptRun(), and FrontierCondition_GT_autoExpress_cfi.Tier0DasInterface.promptGlobalTag().