How to define an array with RDataFrame

_ROOT Version:6.18.04

Doesn’t RDataFrame::Define support define an array? with the same as below

TTree::Branch(“a”, &a, “a[100]/D”)

no, Define does not support pointer semantics and therefore it does not support arrays. You can Define a std::vector instead.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.