13Simple example to import CDCWireHitRequirements to the database.
17from ROOT.Belle2
import FileSystem
18from ROOT.Belle2
import CDCDatabaseImporter
22INPUT = FileSystem.findFile(
"data/cdc/CDCWireHitRequirements_example.json")
30basf2.conditions.testing_payloads = [
"localdb/database.txt"]
32main = basf2.create_path()
35eventinfosetter = basf2.register_module(
'EventInfoSetter')
36main.add_module(eventinfosetter)
42dbImporter.importCDCWireHitRequirements(INPUT)
45dbImporter.printCDCWireHitRequirements()