Definition at line 8 of file rrClient.py.
References indexGen.date, createfilelist.int, and edm.print().
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:
S & print(S &os, JobReport::InputFile const &f)
def getRunsNewer(run, minLumis)