17 b2.set_log_level(b2.LogLevel.INFO)
22 print(
"Usage: basf2 collector_only.py <data directory>")
25 main = b2.create_path()
26 main.add_module(
"RootInput", inputFileNames=[data_dir +
"/*.root"])
28 main.add_module(
'HistoManager', histoFileName=
"CollectorOutput.root", workDirName=
".")
32 main.add_module(
"CaTest", granularity=
"run")
37 print(b2.statistics(b2.statistics.TOTAL))