Wierd Error in the simulations

During my runs I see error:

|01:45:28.597|    (INFO) [R:DefaultDigitizer:detector1] Digitized 12 pixel hits
Error in <TBranchElement::TBranch::WriteBasketImpl>: basket's WriteBuffer failed.

Error in <TBranchElement::TBranch::Fill>: Failed to write out basket.

Error in <TBranchElement::Fill>: Failed filling branch:detector1, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:PropagatedCharge.detector1, nbytes=-1, entry=110113
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)

I am using the induction module too. What are the implications of this? And how to resolve this?


Dear @Sweetu

this is usually related to the way ROOT trees are created. However, in the code of Allpix Squared there should never be a memory resident TTree. Are there any changes that you made to the code?


My Hard Disk was getting full. Emptying it resolved the issue.