21 basf2.conditions.override_globaltags()
22 basf2.conditions.append_globaltag(
'data_reprocessing_prompt_bucket7')
23 basf2.conditions.append_globaltag(
'data_reprocessing_prompt_rel4_patch')
26 main = basf2.create_path()
29 main.add_module(
'SeqRootInput')
30 main.add_module(
'Progress')
33 main.add_module(
'KLMUnpacker')
37 main.add_module(
'BKLMDigitAnalyzer',
38 outputRootName=
'bklmHitmap')
42 print(basf2.statistics)
51 allFiles = glob.glob(
'./bklmHitmap*root')
52 latestFile = max(allFiles, key=os.path.getctime)
53 bashCommand =
"root -b 'drawHitmap.cxx" +
'("' + latestFile +
'")' +
"'"
54 os.system(bashCommand)