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.25 by grchrist, Mon Apr 9 10:53:10 2012 UTC vs.
Revision 1.27 by amott, Thu May 3 15:31:09 2012 UTC

# Line 10 | Line 10 | NHighStreamA=0
10   def MoreTableInfo(parser,LumiRange,config,isCol=True):
11      print "Monitoring Run %d" % (parser.RunNumber,)
12      print "len=",len(LumiRange)
13 +    print "LSRange=", LumiRange
14      if len(LumiRange)>0:
15          
16          [AvInstLumi, AvLiveLumi, AvDeliveredLumi, AvDeadTime,PSCols] = parser.GetAvLumiInfo(LumiRange)
# Line 156 | Line 157 | def MoreTableInfo(parser,LumiRange,confi
157              write(bcolors.OKBLUE)
158          write(str(round(deadtimebeamactive,2))+"%")
159          write(bcolors.ENDC+"\n")
160 <
161 <    print "Used prescale column(s): "+str(PrescaleColumnString)    
162 <    write("Lumisections: ")
160 >    write("Used prescale column(s): %s  " % (str(PrescaleColumnString),) )
161 >    if LastPSCol in config.ForbiddenCols and isCol:
162 >        write( colored("<< Using column %d! Please check in the documentation that this is the correct column" % (LastPSCol),'red',attrs=['reverse']) )
163 >    write("\nLumisections: ")
164      if not isSequential(LumiRange):
165          write(str(LumiRange)+"   Lumisections are not sequential (bad LS skipped)\n")
166      else:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines