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.36 by awoodard, Thu Aug 9 12:03:48 2012 UTC vs.
Revision 1.41 by grchrist, Thu Oct 18 11:42:44 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 25 | Line 27 | def MoreTableInfo(parser,LumiRange,confi
27      else:
28          print "no lumisections to monitor"
29          return
30 <    
30 >  ## check if lumi is being filled
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']))
35 >            write(colored("If not, HFLUMI needs to be red-recycled\n\n\n",'red',attrs=['reverse']))
36 >            write(colored("If in doubt, call Lumi DOC\n\n\n",'red',attrs=['reverse']))
37 >            #return
38 >                                                                                                                                                                                                                                                                    
39      try:
40          #print "trying v3"
41          lograte=parser.GetTriggerRatesByLS("HLT_LogMonitor_v3")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines