Correct. I apologise - it was only a typo. At 14:00 06/06/01 +0000, Rene Brun wrote: >Hi Malcom, > >I cannot reproduce your problem. Note that you have a typo in your mail. >You use t instead of t1. > >Rene Brun > >Malcolm Davidson wrote: > > > > Hello root users, > > > > A quick question: is it possible to use the SetName TTree member function > > after initialising it with the default constructor ? I get the following: > > > > root [6] TTree *t1=new TTree(); > > > > root [7] t1->SetName("wah") > > > > root [10] t.GetName() > > (const char* 0x20000814c9c)"" > > > > root [11] cout << t.GetName() << endl; > > blank***** > > > > My idea was to create a default empty tree to add friends trees afterwards. > > > > Thanks > > > > Malcolm > > > > p.s. For the record - I am using ROOT v.3.03 on a DEC ALPHA machine running > > linux. > > > > <>------------------------------------------------<> > > Malcolm W. J. Davidson > > CESBIO - UMR 5639 CNES-CNRS-UPS > > 18 Avenue Edouard Belin > > BP 2801 > > F-31401 Toulouse Cedex 4 France > > e-mail : davidson@cesbio.cnes.fr > > phone (33)(0)5.61.55.85.84 > > fax (33)(0)5.61.55.85.00 > > <>------------------------------------------------<> <>------------------------------------------------<> Malcolm W. J. Davidson CESBIO - UMR 5639 CNES-CNRS-UPS 18 Avenue Edouard Belin BP 2801 F-31401 Toulouse Cedex 4 France e-mail : davidson@cesbio.cnes.fr phone (33)(0)5.61.55.85.84 fax (33)(0)5.61.55.85.00 <>------------------------------------------------<>
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:48 MET