Hi ,
I have a simple macro to check the TTree functionality with different variable types.
I realised that this code works well and the root file is ok :
this macro produces strange values as can be seen in the root file (m.root)
What is wrong?
I am using ROOT4.3.2 gcc3.2.3 I am running on SLC3 cern scientific linux.
Thanks for hints.
Cheers,
Majid
Hi Rene,
thanks it works well now but as a question and/or comment:
Since for each event one has different number of reconstructed objects
of a given type it would be very nice if a struct like :
could be used in a tree with all three components pt,eta,phi as variable length which depends on how many reconstructed taus one has for each event.
Is there any possibility to develop the framework for such a code :
when I define t->Branch(“Rectau”,Rectau.pt,“pt[2]/D:eta[2]:phi[2]”);
it works nice. But variable length array for all three pt,eta,phi would be the best if there is not any technical problem for having such things.
Cheers,
Majid