27 basf2.conditions.override_globaltags()
28 basf2.conditions.append_globaltag(
'data_reprocessing_prompt_bucket7')
29 basf2.conditions.append_globaltag(
'data_reprocessing_prompt_rel4_patch')
32 main = basf2.create_path()
35 main.add_module(
'SeqRootInput')
36 main.add_module(
'Progress')
39 main.add_module(
'KLMUnpacker')
43 main.add_module(
'BKLMDigitAnalyzer',
44 outputRootName=
'bklmHitmap')
48 print(basf2.statistics)
55 allFiles = glob.glob(
'./bklmHitmap*root')
56 latestFile = max(allFiles, key=os.path.getctime)
57 bashCommand =
"root -b 'drawHitmap.cxx" +
'("' + latestFile +
'")' +
"'"
58 os.system(bashCommand)