15 from ROOT.Belle2
import Database, IntervalOfValidity, KLMScintillatorFirmware
17 basf2.set_log_level(basf2.LogLevel.INFO)
20 if (len(sys.argv) >= 2):
21 if (sys.argv[1] ==
'mc'):
25 db = Database.Instance()
29 "KLMScintillatorFirmware",
30 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run2),
31 IntervalOfValidity(0, 0, 0, -1)
34 "KLMScintillatorFirmware",
35 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Phase2),
36 IntervalOfValidity(1002, 0, 1002, -1)
39 "KLMScintillatorFirmware",
40 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run1),
41 IntervalOfValidity(1003, 0, 1003, -1)
44 "KLMScintillatorFirmware",
45 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run2),
46 IntervalOfValidity(1004, 0, 1004, -1)
51 "KLMScintillatorFirmware",
52 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Phase2),
53 IntervalOfValidity(1, 0, 3, -1)
56 "KLMScintillatorFirmware",
57 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run1),
58 IntervalOfValidity(4, 0, 27, -1)
61 "KLMScintillatorFirmware",
62 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run2),
63 IntervalOfValidity(28, 0, -1, -1)