![]() |
![]() |
Public Member Functions | |
def | __init__ (self, uri, timeOut, retries, retryPeriod, proxy, debug) |
def | getFirstSafeRun (self) |
def | getGlobalTag (self, config) |
def | setDebug (self) |
def | setProxy (self, proxy) |
def | unsetDebug (self) |
Private Member Functions | |
def | _queryTier0DataSvc (self, url) |
Private Attributes | |
_debug | |
_proxy | |
_retries | |
_retryPeriod | |
_timeOut | |
_uri | |
Definition at line 52 of file FrontierCondition_GT_autoExpress_cfi.py.
def FrontierCondition_GT_autoExpress_cfi.Tier0Handler.__init__ | ( | self, | |
uri, | |||
timeOut, | |||
retries, | |||
retryPeriod, | |||
proxy, | |||
debug | |||
) |
Parameters: uri: Tier0DataSvc URI; timeOut: time out for Tier0DataSvc HTTPS calls; retries: maximum retries for Tier0DataSvc HTTPS calls; retryPeriod: sleep time between two Tier0DataSvc HTTPS calls; proxy: HTTP proxy for accessing Tier0DataSvc HTTPS calls; debug: if set to True, enables debug information.
Definition at line 54 of file FrontierCondition_GT_autoExpress_cfi.py.
|
private |
Queries Tier0DataSvc. url: Tier0DataSvc URL. @returns: dictionary, from whence the required information must be retrieved according to the API call. Raises if connection error, bad response, or timeout after retries occur.
Definition at line 80 of file FrontierCondition_GT_autoExpress_cfi.py.
References Logger._debug, hcaldqm::DQModule._debug, EcalMatacqAnalyzer._debug, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._debug, EcalABAnalyzer._debug, tier0.Tier0Handler._debug, EcalLaserAnalyzer2._debug, uploads.uploader._debug, EcalLaserAnalyzer._debug, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._proxy, tier0.Tier0Handler._proxy, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._retries, tier0.Tier0Handler._retries, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._timeOut, tier0.Tier0Handler._timeOut, join(), python.rootplot.root2matplotlib.replace(), and str.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getFirstSafeRun(), and FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getGlobalTag().
def FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getFirstSafeRun | ( | self | ) |
Queries Tier0DataSvc to get the first condition safe run. Parameters: @returns: integer, the run number. Raises if connection error, bad response, timeout after retries occur, or if the run number is not available.
Definition at line 109 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0Handler._proxy, tier0.Tier0Handler._proxy, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._queryTier0DataSvc(), tier0.Tier0Handler._queryTier0DataSvc(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler._uri, tier0.Tier0Handler._uri, createfilelist.int, and str.
def FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getGlobalTag | ( | self, | |
config | |||
) |
Queries Tier0DataSvc to get the most recent Global Tag for a given workflow. Parameters: config: Tier0DataSvc API call for the workflow to be looked for; @returns: a string with the Global Tag name. Raises if connection error, bad response, timeout after retries occur, or if no Global Tags are available.
Definition at line 125 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0Handler._proxy, tier0.Tier0Handler._proxy, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._queryTier0DataSvc(), tier0.Tier0Handler._queryTier0DataSvc(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler._uri, tier0.Tier0Handler._uri, edm.print(), str, and FrontierCondition_GT_autoExpress_cfi.unique().
def FrontierCondition_GT_autoExpress_cfi.Tier0Handler.setDebug | ( | self | ) |
Definition at line 71 of file FrontierCondition_GT_autoExpress_cfi.py.
References Logger._debug, hcaldqm::DQModule._debug, EcalMatacqAnalyzer._debug, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._debug, EcalABAnalyzer._debug, tier0.Tier0Handler._debug, EcalLaserAnalyzer2._debug, uploads.uploader._debug, and EcalLaserAnalyzer._debug.
def FrontierCondition_GT_autoExpress_cfi.Tier0Handler.setProxy | ( | self, | |
proxy | |||
) |
Definition at line 77 of file FrontierCondition_GT_autoExpress_cfi.py.
References FrontierCondition_GT_autoExpress_cfi.Tier0Handler._proxy, and tier0.Tier0Handler._proxy.
def FrontierCondition_GT_autoExpress_cfi.Tier0Handler.unsetDebug | ( | self | ) |
Definition at line 74 of file FrontierCondition_GT_autoExpress_cfi.py.
References Logger._debug, hcaldqm::DQModule._debug, EcalMatacqAnalyzer._debug, FrontierCondition_GT_autoExpress_cfi.Tier0Handler._debug, EcalABAnalyzer._debug, tier0.Tier0Handler._debug, EcalLaserAnalyzer2._debug, uploads.uploader._debug, and EcalLaserAnalyzer._debug.
|
private |
Definition at line 69 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler._queryTier0DataSvc(), cmsPerfSuite.PerfSuite.optionParse(), cmsPerfSuite.PerfSuite.runCmsReport(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler.setDebug(), and FrontierCondition_GT_autoExpress_cfi.Tier0Handler.unsetDebug().
|
private |
Definition at line 68 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler._queryTier0DataSvc(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getFirstSafeRun(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getGlobalTag(), and FrontierCondition_GT_autoExpress_cfi.Tier0Handler.setProxy().
|
private |
Definition at line 66 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler._queryTier0DataSvc().
|
private |
Definition at line 67 of file FrontierCondition_GT_autoExpress_cfi.py.
|
private |
Definition at line 65 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler._queryTier0DataSvc().
|
private |
Definition at line 64 of file FrontierCondition_GT_autoExpress_cfi.py.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getFirstSafeRun(), and FrontierCondition_GT_autoExpress_cfi.Tier0Handler.getGlobalTag().