Access array in roofit

How do i access an array (x[10])from a tree, as roorealvar that i can use in roofit ?


I think Roofit supports only flat trees, so there is no automatically conversion for a Tree with arrays to a RooDataSet ,
The only possibility is then to you read your tree in a loop and fill your RooDataSet class as you need using RooDataSet::add

Best Regards


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