[ROOT] TTree::MakeClass producing none compilable code

From: Caius Howcroft (howcroft@hep.phy.cam.ac.uk)
Date: Thu Oct 31 2002 - 11:54:50 MET


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



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET