13Simple example to import CDCWireHitRequirements to the database.
17from ROOT
import Belle2
18from ROOT.Belle2
import FileSystem
19from ROOT.Belle2
import CDCDatabaseImporter
23INPUT = FileSystem.findFile(
"data/cdc/CDCWireHitRequirements_example.json")
31basf2.conditions.testing_payloads = [
"localdb/database.txt"]
33main = basf2.create_path()
36eventinfosetter = basf2.register_module(
'EventInfoSetter')
37main.add_module(eventinfosetter)
43dbImporter.importCDCWireHitRequirements(INPUT)
46dbImporter.printCDCWireHitRequirements()