53 """Read Trigger keys from COOL"""
55 from TrigConfStorage.TriggerCoolUtil
import TriggerCoolUtil
57 cdb = CondDB(run_number)
58 db = TriggerCoolUtil.GetConnection(cdb.db_instance())
59 run_range = [[run_number,run_number]]
61 d[
'SMK'] = TriggerCoolUtil.getHLTConfigKeys(db, run_range)[run_number][
'SMK']
64 for (key, firstLB, lastLB)
in keys:
65 if lb_number>=firstLB
and lb_number<=lastLB:
70 d[
'LVL1PSK'] = findKey(TriggerCoolUtil.getL1ConfigKeys(db, run_range)[run_number][
'LVL1PSK'])
71 d[
'HLTPSK'] = findKey(TriggerCoolUtil.getHLTPrescaleKeys(db, run_range)[run_number][
'HLTPSK2'])