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