ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/RateMonShiftTool_dev/AddTableInfo_db.py
(Generate patch)

Comparing UserCode/RateMonShiftTool_dev/AddTableInfo_db.py (file contents):
Revision 1.39 by amott, Mon Sep 17 15:16:09 2012 UTC vs.
Revision 1.42 by awoodard, Tue Dec 4 16:44:56 2012 UTC

# Line 12 | Line 12 | NHighStreamA = 0
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
# Line 26 | Line 28 | def MoreTableInfo(parser,LumiRange,confi
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']))
# Line 64 | Line 66 | def MoreTableInfo(parser,LumiRange,confi
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines