15from ROOT
import Belle2
16from ROOT.Belle2
import Database, IntervalOfValidity, KLMScintillatorFirmware
18basf2.set_log_level(basf2.LogLevel.INFO)
21if (len(sys.argv) >= 2):
22 if (sys.argv[1] ==
'mc'):
26db = Database.Instance()
30 "KLMScintillatorFirmware",
31 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run2),
32 IntervalOfValidity(0, 0, 0, -1)
35 "KLMScintillatorFirmware",
36 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Phase2),
37 IntervalOfValidity(1002, 0, 1002, -1)
40 "KLMScintillatorFirmware",
41 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run1),
42 IntervalOfValidity(1003, 0, 1003, -1)
45 "KLMScintillatorFirmware",
46 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run2),
47 IntervalOfValidity(1004, 0, 1004, -1)
52 "KLMScintillatorFirmware",
53 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Phase2),
54 IntervalOfValidity(1, 0, 3, -1)
57 "KLMScintillatorFirmware",
58 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run1),
59 IntervalOfValidity(4, 0, 27, -1)
62 "KLMScintillatorFirmware",
63 KLMScintillatorFirmware(KLMScintillatorFirmware.c_Run2),
64 IntervalOfValidity(28, 0, -1, -1)