Problem with reading a tree

Hi all,

I’m having a problem with reading a tree. I created my own classes to create histograms and read the daa file. I also created my own executable file to create .root file outside the Root session.

My ReadData()class has an event tree with following branches…

  // Create TReadData with Branches...
  TReadData = new TTree("Record","Record Structure");

When i look the output of this file everything is ok. Then I use this tree in my main program to read it. But after a some event number everything is look the same. what might be the problem. I’m aware that it is hard to say something. I can include my codes in here for root experts to check.



I solved my problem. I was filling the tree in the wrong place.