15 from ROOT.Belle2
import KLMDatabaseImporter, KLMChannelStatus
17 basf2.set_log_level(basf2.LogLevel.INFO)
20 if (len(sys.argv) >= 2):
21 if (sys.argv[1] ==
'mc'):
24 dbImporter = KLMDatabaseImporter()
26 channelStatus = KLMChannelStatus()
27 channelStatus.setStatusAllChannels(KLMChannelStatus.c_Normal)
30 dbImporter.setIOV(1002, 0, 1002, -1)
31 dbImporter.importChannelStatus(channelStatus)
33 dbImporter.setIOV(1003, 0, 1003, -1)
34 dbImporter.importChannelStatus(channelStatus)
36 dbImporter.setIOV(0, 0, 0, -1)
37 dbImporter.importChannelStatus(channelStatus)
40 dbImporter.setIOV(0, 0, -1, -1)
41 dbImporter.importChannelStatus(channelStatus)