How can I convert data from TTree into array of floats in CERN’s ROOT? I need only part of data and now I can draw this part using TTree:Draw (with both ‘varexp’, and ‘ selection’ options). My task is to get data which was drawed as array. I would like to get this data as C array.
Share
Take a look at TTree::GetV1().
For example
You can confirm that this works by comparing the output with TTree::Scan.