Multithreading: Disable Parallelization in PulseTransfer for Per-Event Plots
When creating per-event graphs which are written to the ROOT file, we have to disable even parallelization since we cd()
into the right ROOT directory. This is already done in GenericPropagation but was missing from PulseTransfer.
This fixes #130 (closed).
We only call getROOTDirectory()
in single-threaded mode in modules, or in the initialize
and finalize
methods of the ModuleManager. There we need it in order to write the histograms collected into the appropriate folders of the modules.root
file.
Edited by Simon Spannagel