Function of SetMakeClass(1)

What is the function of SetMakeClass(1).
_ROOT Version:6
_Platform:Ubuntu
Compiler: Not Provided


What SetMakeClass(1) does is to turn the expectation of the TTree from “address where the data is stored is set by either the user or the TTree to the address of a full object through the top level branch” to “address where the data is stored is set by the user to the address of numerical type and C-style array (variable or not) of numerical type)”

It primary function is to allow the user to access the data directly with numerical type variable rather than having to have the original (or a reproduction thereof) set of classes.

I have updated the doc of TTree::SetMakeClass() accordingly; https://root.cern.ch/doc/master/classTTree.html#a40676c8f5c42cc3d351aa1be9a6a7c93 should show this updated doc tomorrow.

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