18from ROOT
import Belle2
19from ROOT.Belle2
import TOPDatabaseImporter
24 print(
"usage: basf2", argvs[0],
"expNo runNo [globalTag or localDB]")
34 b2.conditions.append_testing_payloads(tag)
36 b2.conditions.append_globaltag(tag)
40 ''' Prints timebase calibration info '''
43 ''' Prints calibration status of boardstacks '''
46 print(
'Experiment =', expNo,
'Run =', runNo,
'global tag =', tag)
49 dbImporter = TOPDatabaseImporter()
50 dbImporter.printSampleTimeCalibrationInfo()
54main = b2.create_path()
57eventinfosetter = b2.register_module(
'EventInfoSetter')
58eventinfosetter.param({
'evtNumList': [1],
'runList': [runNo],
'expList': [expNo]})
59main.add_module(eventinfosetter)
62main.add_module(
'TOPGeometryParInitializer')