Hi, I use the root 2.25 version. I have a problem with the split level of the Branch method : tree=new TTree(name,title); tree->Branch("event","TClasEvent",&event,100000,0); I have some arguments to my class TClasEvent (FLoat_t beam_energy,...). TCLasEvent::TClasEvent(){ fNtrack = 0; if (!gTracks) gTracks = new TClonesArray("TTrack", 5); fTracks = gTracks; //..... beam_energy = -1; } If I make a tree with the split level 1, it seems ok. But with the split level 0, when I read the beam_energy data , I have anything. Is there something else to do ? Thank you, Cynthia
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET