Belle II Software  release-08-01-10
dbobject_access.py
1 #!/usr/bin/env python3
2 
3 
10 
11 import basf2 as b2
12 
13 b2.set_log_level(b2.LogLevel.INFO)
14 
15 b2.conditions.prepend_testing_payloads('calibration_results/TestCalibration/outputdb/database.txt')
16 
17 main = b2.create_path()
18 main.add_module('EventInfoSetter', expList=[1, 1, 1, 1], runList=[1, 2, 3, 4], evtNumList=[1, 1, 1, 1])
19 main.add_module('TestCalibDBAccess')
20 main.add_module('Progress')
21 b2.process(main)
22 print(b2.statistics)