Doubt about TTree Branch

From: Ivan Koji Koga <ivankoga_at_yahoo.com.br>
Date: Sat, 26 Mar 2005 18:56:23 -0300


Hello all,
I have a database in mysql and i want to store it in ROOT TTree. I declared a ttree for one table and then i put all columns in a branch like:

tree->Branch(“RoundTrip”, &roundtrip,
“testid/I:microseconds:sourceid:destid:datetime/C:delay/F:jitter:loss”);

What's the difference in performance if i do it with many branches like: tree->Branch("testid", &testid, "testid/I"); tree->Branch("microseconds", &microseconds, "microseconds/I"); and so on...
I saw in the userguide that if you have some related variables you have to put it together in the same branch. I think that my data is related because they are all in the same table and have values linked.

Thank's in advance,
Ivan K. Koga Received on Sat Mar 26 2005 - 22:56:46 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET