Hello, I am creating a Tree with a Branch from a Folder according to the following scheme: //create new Tree m_treeMCD = new TTree("TreeMCD","MC Digits"); gROOT->GetListOfBrowsables ()->Add(m_treeMCD,"TreeMCD"); //create Digit List m_mcDigitList = new TList(); m_mcDigitList->SetName("MCDigitList"); //post Digit List into Folder m_event_mc_digitsFold->Add(m_mcDigitList); //Make Tree branch according to Folder content m_treeMCD->Branch("/topFold/RunMC/EventMC/Digits"); and event by event I am populating the m_mcDigitList and fill the tree with it and at the end of the job I am writing the tree into a root file. The point is the following, using an interactive Root session and loading the output root file, I am only able to browse the TreeMCD content that is to say the title of the branch ".topFold.RunMC.EventMC.Digits.MCDigitList" supporting the m_mcDigitList, but I have not access to the content of this list even if I am loading the so library of the TObject stored in this List. Have you a solution to propose to be able to see the content of the branch created by a Folder content? Regards Jean-Eric ............................................................................. .LAL - IN2P3 - CNRS .LAL - B.P 34 - 91898 Orsay Cedex - France .Piece 108 .Tel +33 (0)1 64 46 84 29 .Fax +33 (0)1 64 46 83 97 ...........................................................................
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET