4 from ROOT
import Belle2
9 algo.setDebugHisto(
True)
12 inputFileNames = [
"CollectorOutput.root"]
13 algo.setInputFileNames(inputFileNames)
15 d = algo.getInputFileNames()
17 print(
"Resolved input file to algorithm:", name)
21 print(
"Result of calibration =", algo.execute([(1, 1), (1, 2)]))
22 output_json_string = algo.dumpOutputJson()
23 print(f
"Output JSON was {output_json_string}")
28 print(
"Result of calibration =", algo.execute())
29 output_json_string = algo.dumpOutputJson()
30 print(f
"Output JSON was {output_json_string}")
36 algo.loadInputJson(output_json_string)
39 print(
"Result of calibration =", algo.execute([], 0, iov))
40 output_json_string = algo.dumpOutputJson()
41 print(f
"Output JSON was {output_json_string}")