12 |
|
NHighExpress = 0 |
13 |
|
|
14 |
|
def MoreTableInfo(parser,LumiRange,config,isCol=True): |
15 |
+ |
global NHighStreamA |
16 |
+ |
global NHighExpress |
17 |
|
print "Monitoring Run %d" % (parser.RunNumber,) |
18 |
|
localtime = time.asctime( time.localtime(time.time()) ) |
19 |
|
print "Local current time :", localtime |
28 |
|
print "no lumisections to monitor" |
29 |
|
return |
30 |
|
## check if lumi is being filled |
31 |
< |
if parser.LastLSParsed > 4: |
31 |
> |
if parser.LastLSParsed > 4 and isCol: |
32 |
|
if set(parser.InstLumiByLS.values()) == set([None]): |
33 |
|
write(colored("\n\nLUMI INFORMATION NOT BEING SENT!\n",'red',attrs=['reverse'])) |
34 |
|
write(colored("Check with Shift Leader if this is expected\n",'red',attrs=['reverse'])) |
66 |
|
expressRates = parser.GetTriggerRatesByLS("ExpressOutput") |
67 |
|
else: |
68 |
|
if len(parser.GetTriggerRatesByLS("ExpressOutput"))>0: |
69 |
< |
expressRates=parser.GetTriggerRatesByLS("else") |
69 |
> |
expressRates=parser.GetTriggerRatesByLS("ExpressOutput") |
70 |
|
else: |
71 |
|
expressRates = parser.GetTriggerRatesByLS("ExpressForCosmicsOutput") |
72 |
|
|