Producing ROOT files in parallel

Thanks for the advice.

The creation works quite well. However, in several isolated cases, I am encountering buffer flushing issues. I have created a separate thread for that.

Cheers,
Petr