13 SVD Database importer.
14 Simple example for testing the import to database.
18 from ROOT
import Belle2
20 main = b2.create_path()
23 eventinfosetter = b2.register_module(
'EventInfoSetter')
24 eventinfosetter.param({
'evtNumList': [1],
'expList': [1],
'runList': [1]})
25 main.add_module(eventinfosetter)
28 gearbox = b2.register_module(
'Gearbox')
29 main.add_module(gearbox)
38 dbImporter.importSVDHitTimeNeuralNetwork(
'svd/scripts/SVDTimeNet.xml')
39 dbImporter.importSVDHitTimeNeuralNetwork(
'svd/scripts/SVDTimeNet3.xml',
True)
41 print(
"Neural network data imported.")
This class import to the database the dbobjects SVDNoiseCalibrations and SVDPulseShapeCalibrations.