4 from __future__
import print_function
7 from TileCoolDcs.TileDCSDataGrabber
import TileDCSDataGrabber
9 dg = TileDCSDataGrabber()
12 partitions = [
"LBA",
"LBC",
"EBA",
"EBC"]
13 variables = [
"FORDAQ_MBHV",
"hvOut10"]
16 now =
int(time.time()) + 60*60*24
19 print (
"\n\n ==== SUMMARY OF LAST FOLDER/CHANNEL UPDATES ======\n\n")
23 for part
in partitions:
24 for num
in range(1,65):
25 strNum = (
"0"+
str(num))[-2:]
27 folder, chanNum = dg.info.get_folder_and_channel(var, drawer)
28 iovSince = dg.getEntry(drawer, var, now)[1]
29 print (folder, drawer,
" (",chanNum,
")",
" ---> ", time.ctime(iovSince/dg.unix2cool),
" (",iovSince,
")")