13Simple example for testing the import to database.
17from ROOT
import Belle2
19main = b2.create_path()
22eventinfosetter = b2.register_module(
'EventInfoSetter')
23eventinfosetter.param({
'evtNumList': [1],
'expList': [1],
'runList': [1]})
24main.add_module(eventinfosetter)
27gearbox = b2.register_module(
'Gearbox')
28main.add_module(gearbox)
37dbImporter.importSVDHitTimeNeuralNetwork(
'svd/scripts/SVDTimeNet.xml')
38dbImporter.importSVDHitTimeNeuralNetwork(
'svd/scripts/SVDTimeNet3.xml',
True)
40print(
"Neural network data imported.")
This class import to the database the dbobjects SVDNoiseCalibrations and SVDPulseShapeCalibrations.