105 def printConfigKeys(self, runKeys):
106
107 runs = list(runKeys)
108 runs.sort()
109
110 for r in runs:
111 keys = runKeys[r]
112 timestr=""
113 if self.opt.time:
114 try: timestr = "(%s) " % keys["STARTTIME"]
115 except KeyError: timestr = "(--------unknown---------) "
116 try:
117 rel = keys["REL"]
118 smk = keys["SMK"]
119 hltpsk = "%4i (1-)" % keys["HLTPSK"]
120 except KeyError:
121 rel = "unknown"
122 smk = "0"
123 hltpsk = "unknown"
124
125 hltpsknew = hltpsk
126 if r > 127453:
127 hltpsknew = ""
128 if "HLTPSK2" in keys:
129 for x in keys["HLTPSK2"]:
130 if x[2]<0: hltpsknew += "%4i (%i-)" % (x[0],x[1])
131 elif x[2]==x[1]: hltpsknew += "%4i (%i) " % (x[0],x[1])
132 else: hltpsknew += "%4i (%i-%i) " % (x[0],x[1],x[2])
133 if not hltpsknew: hltpsknew = "unknown"
134
135 lvl1psk = ""
136 if "LVL1PSK" in keys:
137 for x in keys["LVL1PSK"]:
138 if x[2]<0: lvl1psk += "%4i (%i-)" % (x[0],x[1])
139 elif x[2]==x[1]: lvl1psk += "%4i (%i) " % (x[0],x[1])
140 else: lvl1psk += "%4i (%i-%i) " % (x[0],x[1],x[2])
141 if not lvl1psk: lvl1psk = "unknown"
142
143 print ("run %6i %srelease %9s smk %4s hltps %s lvl1ps %s" % (r, timestr, rel, smk, hltpsknew, lvl1psk),)
144
145 if r > 127453 and "HLTPSK2" in keys and "HLTPSK" in keys and keys["HLTPSK"] != keys["HLTPSK2"][0][0]:
146 msg = "WARNING: Menu folder shows different HLT prescale for SOR: %i" % keys["HLTPSK"]
147 print (msg)
149
void print(char *figname, TCanvas *c1)