13Simple example to import CDClayerTimeCut payload from json file to the database.
17from ROOT
import Belle2
18from ROOT.Belle2
import FileSystem
19from ROOT.Belle2
import CDCDatabaseImporter
23INPUT = FileSystem.findFile(
"data/cdc/CDClayerTimeCut_example.json")
32basf2.conditions.testing_payloads = [
"localdb/database.txt"]
34main = basf2.create_path()
37eventinfosetter = basf2.register_module(
'EventInfoSetter')
38main.add_module(eventinfosetter)
44dbImporter.importCDClayerTimeCut(INPUT)
47dbImporter.printCDClayerTimeCut()