Hi Caius, I am horrified to realize that you are right ::) We will fix this problem. Rene Brun On Thu, 31 Oct 2002, Caius Howcroft wrote: > > root v3.03.09 compiled from src with gcc v3.0 on rh 7.3 > > Cheers > > Caius > > On Thu, 31 Oct 2002, Rene Brun wrote: > > > Hi Caius, > > > > I cannot reproduce this problem. > > > > Could you tell me which version of ROOT you are using? > > Could you send the result of > > mytree.Print(); > > and the corresponding .h file generated by MakeClass ? > > > > Rene Brun > > > > On Thu, 31 Oct 2002, Caius Howcroft wrote: > > > > > > > > Maybe I'm missing something here, but when I run MakeClass on a tree that > > > contains an object with TClonesArray's root is producing code with typos > > > (i assuem unless I'm missing something) in it, meaning you cant compile > > > the resulting classes. > > > > > > e.g > > > I have a tress with Class MyEvt > > > > > > class MyEvt: public TObject{ > > > .... > > > private: > > > TClonesArray* stp; //poiter to MyStp > > > > > > > > > }; > > > > > > class MyStp: public TObject{ > > > ... > > > Int_t adc; > > > ... > > > }; > > > > > > in the class created my MakeClass this branch is defined as: > > > > > > TBranch* b_stp; > > > > > > however it is used in Notify() as > > > b_stp_->SetBranchAddress > > > > > > > > > Cheers > > > Caius > > > > > > > > > ____________________________ > > > CAIUS HOWCROFT > > > +44 (0)1223 764 128 UK(office) > > > AOL IM: sumsmug > > > Yahoo IM: sumsmug > > > > > > > > > ____________________________ > CAIUS HOWCROFT > +44 (0)1223 764 128 UK(office) > AOL IM: sumsmug > Yahoo IM: sumsmug >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET