The execution of produceNtuple.cc fails with
Error in : basket's WriteBuffer failed.
after processing a few hundred events.
The problem got solved by replacing
TTree outputTree = new TTree("Events", "Events");
by
TTree outputTree = fs.make("Events", "Events");
in produceNtuple.cc.
My best guess is that the problem occurs when the baskets of the outputTree fill and the outputTree is not "attached" to a ROOT file into which the information can be written to empty the baskets.
The execution of produceNtuple.cc fails with Error in: basket's WriteBuffer failed.
after processing a few hundred events.
The problem got solved by replacing TTree outputTree = new TTree("Events", "Events"); by TTree outputTree = fs.make("Events", "Events");
in produceNtuple.cc.
My best guess is that the problem occurs when the baskets of the outputTree fill and the outputTree is not "attached" to a ROOT file into which the information can be written to empty the baskets.
I opened this issue to have a reference of this problem and I am closing this issue now, since the problem is solved with the commit https://github.com/HEP-KBFI/TallinnNtupleProducer/commit/b1dc5585cf88fd36fdef233abcc204a3a85b8a81