Hi All,
I have a problem in storing an array of classes into a tree using tree->Branch() method.
I declare and appropriately fill an array of Classes (created by me) of kind e.g. "Particle"
Particle myPartcle[N_PART];
Is it possible and, if so, what is the correct syntax for creating a branch containing the myParticle array? I tried with:
tree->Branch("particle", myParticle, 32000, 99);
but this stores into the tree only the first element of the array. Thanks. Received on Mon Jan 25 2010 - 12:34:47 CET
This archive was generated by hypermail 2.2.0 : Mon Jan 25 2010 - 23:50:02 CET