13 result = api.data(workspace =
'GLOBAL',
19 'startTime',
'duration',
20 'hltkey',
'gtKey',
'l1Menu',
'tscKey',
'triggerMode',
24 query =
"{number} > %d and {lsCount} > %d and {triggers} > 0" % (run, minLumis),
27 for runDict
in result :
28 runNo =
int(runDict[
'number'])
29 runDict[
'date'] = datetime.datetime.strptime(runDict[
'startTime'],
"%a %d-%m-%y %H:%M:%S").date().strftime(
'%Y%m%d')
34 print(
"RunRegistry API 'app' != user, who knows why... :<")
36 except RRApiError
as e:
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def getRunsNewer(run, minLumis)