Functions | |
def | Func_CopyWBMInfo |
Func_CopyWBMInfo(str_name) More... | |
def | Func_FillInfoDBS |
Func_FillInfoDBS(str_dbsInstance) More... | |
def | Func_FillInfoHlt |
Func_FillInfoHlt() More... | |
def | Func_FillInfoMagnetHistory |
Func_FillInfoMagnetHistory() More... | |
def | Func_FillInfoRunRegistry |
Func_FillInfoRunRegistry() More... | |
def | Func_FillInfoRunSummary |
Func_FillInfoRunSummary() More... | |
def | Func_GetHtmlTags |
FUNCTIONS. More... | |
def | Func_GetHtmlTagValue |
Func_GetHtmlTagValue(str_tag, str_text) More... | |
def | Func_GetHtmlTagValueAttr |
Func_GetHtmlTagValueAttr(str_tag, str_text) More... | |
def | Func_GetHtmlTagValues |
Func_GetHtmlTagValues(str_text) More... | |
def | Func_GetWBMInfo |
Func_GetWBMInfo(str_name, str_path) More... | |
def | Func_MakeShellWord |
Func_MakeShellWord(str_python) More... | |
Variables | |
bool_hlt = False | |
tuple | bool_runRegistry = Func_FillInfoRunRegistry() |
dictionary | Dict_dbsDatasets = {} |
dictionary | DICT_keysRunSummary = {} |
dictionary | DICT_keysRunSummaryTrigger = {} |
dictionary | Dict_maxLenDbsDatasets = {} |
dictionary | Dict_runRegistry = {} |
dictionary | DICT_tagsRunRegistry = {} |
dictionary | Dict_wbmRunSummary = {} |
dictionary | DictDict_dbsDatasets = {} |
dictionary | DictDict_dbsEvents = {} |
float | Float_magneticField = -999.0 |
tuple | int_length = len(str_print) |
int | INT_offset = 8 |
list | LSTR_dbsInstances |
list | Lstr_hltPaths = [] |
string | STR_headDatasets = 'datasets' |
string | STR_headFiles = 'available data files' |
string | STR_htlConfig = 'HLT Config ID' |
string | STR_p5 = 'cmsusr0.cern.ch' |
tuple | Str_passwd = getpass.getpass('> getRunInfo.py > '+Str_userID+'@'+STR_p5+'\'s password: ') |
string | str_print = '> getRunInfo.py > ' |
list | Str_run = sys.argv[1] |
string | STR_runEnd = 'STOP_TIME' |
string | STR_runStart = 'START_TIME' |
string | STR_SiStrip = 'SIST' |
tuple | Str_userID = getpass.getuser() |
MAIN PROGRAM. More... | |
string | STR_wwwDBSData = 'dbs_discovery/getData' |
string | STR_wwwWBM = 'http://cmswbm/cmsdb/servlet' |
tuple | TD_shiftUTC = datetime.timedelta(hours = 2) |
def getRunInfo.Func_CopyWBMInfo | ( | str_name | ) |
Func_CopyWBMInfo(str_name)
Logs in on cmsusr0 and copies file from there
Func_CopyWBMInfo(str_name) Logs in on cmsusr0 and copies file from there
Definition at line 199 of file getRunInfo.py.
Referenced by Func_FillInfoHlt(), Func_FillInfoMagnetHistory(), and Func_FillInfoRunSummary().
def getRunInfo.Func_FillInfoDBS | ( | str_dbsInstance | ) |
Func_FillInfoDBS(str_dbsInstance)
Retrieves run info from DBS and fills it into containers
Func_FillInfoDBS(str_dbsInstance) Retrieves run info from DBS and fills it into containers
Definition at line 344 of file getRunInfo.py.
References spr.find(), Func_GetHtmlTagValue(), print(), submitPVValidationJobs.split(), and str.
def getRunInfo.Func_FillInfoHlt | ( | ) |
Retrieves run info from Hlt and fills it into containers
Func_FillInfoHlt(): Retrieves run info from Hlt and fills it into containers
Definition at line 320 of file getRunInfo.py.
References mergeVDriftHistosByStation.file, Func_CopyWBMInfo(), Func_GetWBMInfo(), Func_MakeShellWord(), and submitPVValidationJobs.split().
def getRunInfo.Func_FillInfoMagnetHistory | ( | str_timeStart, | |
str_timeEnd | |||
) |
Retrieves run info from MagnetHistory and fills it into containers
Func_FillInfoMagnetHistory(): Retrieves run info from MagnetHistory and fills it into containers
Definition at line 301 of file getRunInfo.py.
References mergeVDriftHistosByStation.file, Func_CopyWBMInfo(), Func_GetWBMInfo(), Func_MakeShellWord(), and submitPVValidationJobs.split().
def getRunInfo.Func_FillInfoRunRegistry | ( | ) |
Retrieves run info from RunRegistry and fills it into containers
Func_FillInfoRunRegistry(): Retrieves run info from RunRegistry and fills it into containers
Definition at line 223 of file getRunInfo.py.
References spr.find(), Func_GetHtmlTags(), Func_GetHtmlTagValue(), print(), sistrip::SpyUtilities.range(), and submitPVValidationJobs.split().
def getRunInfo.Func_FillInfoRunSummary | ( | ) |
Retrieves run info from RunSummary and fills it into containers
Func_FillInfoRunSummary(): Retrieves run info from RunSummary and fills it into containers
Definition at line 254 of file getRunInfo.py.
References mergeVDriftHistosByStation.file, Func_CopyWBMInfo(), Func_GetWBMInfo(), Func_MakeShellWord(), and submitPVValidationJobs.split().
def getRunInfo.Func_GetHtmlTags | ( | str_text | ) |
FUNCTIONS.
Func_GetHtmlTags(str_text)
Gets HTML tags from a string
Func_GetHtmlTags(str_text): Gets HTML tags from a string
Definition at line 109 of file getRunInfo.py.
References submitPVValidationJobs.split().
Referenced by Func_FillInfoRunRegistry().
def getRunInfo.Func_GetHtmlTagValue | ( | str_tag, | |
str_text, | |||
int_index = 1 |
|||
) |
Func_GetHtmlTagValue(str_tag, str_text)
Gets the value of the n-th oocurence a given HTML tag from a string
Func_GetHtmlTagValue(str_tag, str_text): Gets the value of the n-th oocurence a given HTML tag from a string
Definition at line 129 of file getRunInfo.py.
References submitPVValidationJobs.split().
Referenced by Func_FillInfoDBS(), and Func_FillInfoRunRegistry().
def getRunInfo.Func_GetHtmlTagValueAttr | ( | str_value, | |
str_text | |||
) |
Func_GetHtmlTagValueAttr(str_tag, str_text)
Gets the (last) attribute of a given HTML tag value from a string
Func_GetHtmlTagValueAttr(str_value, str_text): Gets the (last) attributes of a given HTML tag value from a string
Definition at line 157 of file getRunInfo.py.
References submitPVValidationJobs.split().
def getRunInfo.Func_GetHtmlTagValues | ( | str_text | ) |
Func_GetHtmlTagValues(str_text)
Gets HTML tag values from a string
Func_GetHtmlTagValues(str_text): Gets HTML tag values from a string
Definition at line 144 of file getRunInfo.py.
def getRunInfo.Func_GetWBMInfo | ( | str_name, | |
str_path | |||
) |
Func_GetWBMInfo(str_name, str_path)
Logs in on cmsusr0, retrieves WBM information and stores it locally
Func_GetWBMInfo(str_name, str_path) Logs in on cmsusr0, retrieves WBM information and stores it locally
Definition at line 175 of file getRunInfo.py.
Referenced by Func_FillInfoHlt(), Func_FillInfoMagnetHistory(), and Func_FillInfoRunSummary().
def getRunInfo.Func_MakeShellWord | ( | str_python | ) |
Func_MakeShellWord(str_python)
Adds shell escape charakters to Python strings
Func_MakeShellWord(str_python) Adds shell escape charakters to Python strings
Definition at line 166 of file getRunInfo.py.
References python.rootplot.root2matplotlib.replace().
Referenced by Func_FillInfoHlt(), Func_FillInfoMagnetHistory(), and Func_FillInfoRunSummary().
tuple getRunInfo.bool_hlt = False |
Definition at line 437 of file getRunInfo.py.
tuple getRunInfo.bool_runRegistry = Func_FillInfoRunRegistry() |
Definition at line 394 of file getRunInfo.py.
dictionary getRunInfo.Dict_dbsDatasets = {} |
Definition at line 101 of file getRunInfo.py.
dictionary getRunInfo.DICT_keysRunSummary = {} |
Definition at line 60 of file getRunInfo.py.
dictionary getRunInfo.DICT_keysRunSummaryTrigger = {} |
Definition at line 75 of file getRunInfo.py.
dictionary getRunInfo.Dict_maxLenDbsDatasets = {} |
Definition at line 102 of file getRunInfo.py.
dictionary getRunInfo.Dict_runRegistry = {} |
Definition at line 95 of file getRunInfo.py.
dictionary getRunInfo.DICT_tagsRunRegistry = {} |
Definition at line 36 of file getRunInfo.py.
dictionary getRunInfo.Dict_wbmRunSummary = {} |
Definition at line 97 of file getRunInfo.py.
dictionary getRunInfo.DictDict_dbsDatasets = {} |
Definition at line 99 of file getRunInfo.py.
dictionary getRunInfo.DictDict_dbsEvents = {} |
Definition at line 100 of file getRunInfo.py.
tuple getRunInfo.Float_magneticField = -999.0 |
Definition at line 96 of file getRunInfo.py.
tuple getRunInfo.int_length = len(str_print) |
Definition at line 475 of file getRunInfo.py.
int getRunInfo.INT_offset = 8 |
Definition at line 26 of file getRunInfo.py.
list getRunInfo.LSTR_dbsInstances |
Definition at line 32 of file getRunInfo.py.
list getRunInfo.Lstr_hltPaths = [] |
Definition at line 98 of file getRunInfo.py.
string getRunInfo.STR_headDatasets = 'datasets' |
Definition at line 34 of file getRunInfo.py.
string getRunInfo.STR_headFiles = 'available data files' |
Definition at line 35 of file getRunInfo.py.
string getRunInfo.STR_htlConfig = 'HLT Config ID' |
Definition at line 57 of file getRunInfo.py.
string getRunInfo.STR_p5 = 'cmsusr0.cern.ch' |
Definition at line 28 of file getRunInfo.py.
tuple getRunInfo.Str_passwd = getpass.getpass('> getRunInfo.py > '+Str_userID+'@'+STR_p5+'\'s password: ') |
Definition at line 390 of file getRunInfo.py.
string getRunInfo.str_print = '> getRunInfo.py > ' |
Definition at line 471 of file getRunInfo.py.
list getRunInfo.Str_run = sys.argv[1] |
Definition at line 94 of file getRunInfo.py.
string getRunInfo.STR_runEnd = 'STOP_TIME' |
Definition at line 59 of file getRunInfo.py.
string getRunInfo.STR_runStart = 'START_TIME' |
Definition at line 58 of file getRunInfo.py.
string getRunInfo.STR_SiStrip = 'SIST' |
Definition at line 30 of file getRunInfo.py.
tuple getRunInfo.Str_userID = getpass.getuser() |
MAIN PROGRAM.
Definition at line 389 of file getRunInfo.py.
string getRunInfo.STR_wwwDBSData = 'dbs_discovery/getData' |
Definition at line 31 of file getRunInfo.py.
string getRunInfo.STR_wwwWBM = 'http://cmswbm/cmsdb/servlet' |
Definition at line 29 of file getRunInfo.py.
tuple getRunInfo.TD_shiftUTC = datetime.timedelta(hours = 2) |
Definition at line 25 of file getRunInfo.py.