@pcanal Same problem here: “*Break* segmentation violation and failed to access leaf in array from tree contains CORSIKA data” The solution was to use “TBranch::GetLeaf” + “TLeaf::SetAddress”.
*Break* segmentation violation and failed to access leaf in array from tree contains CORSIKA data
TBranch::GetLeaf
TLeaf::SetAddress