13Simple example to import CDClayerTimeCut payload from json file to the database.
17from ROOT.Belle2
import FileSystem
18from ROOT.Belle2
import CDCDatabaseImporter
22INPUT = FileSystem.findFile(
"data/cdc/CDClayerTimeCut_example.json")
31basf2.conditions.testing_payloads = [
"localdb/database.txt"]
33main = basf2.create_path()
36eventinfosetter = basf2.register_module(
'EventInfoSetter')
37main.add_module(eventinfosetter)
43dbImporter.importCDClayerTimeCut(INPUT)
46dbImporter.printCDClayerTimeCut()