I was trying to use MakeClass on a fairly complicated Tree, and it seems to choke on our Tree structure:
[ul]root [1] T->MakeClass(“MyClass”)
Info in TTreePlayer::MakeClass: Files: MyClass.h and MyClass.C generated from TTree: T
(Int_t)(0)
root [2] .L MyClass.C
Error: Symbol dPadRawWrapper is not defined in current scope MyClass.h:174:
Error: Symbol DST is not defined in current scope MyClass.h:174:
Error: Symbol dPc1Raw is not defined in current scope MyClass.h:174:
Error: operator ‘/’ divided by zero MyClass.h:174:[/ul]
where you see bad looking things like:
dPadRawWrapper *DST/dPc1Raw;
dPadRawWrapper *DST/dPc2Raw;
dPadRawWrapper *DST/dPc3Raw;
dPadClusterWrapper *DST/dPc1Cluster;
dPadClusterWrapper *DST/dPc2Cluster;
dPadClusterWrapper *DST/dPc3Cluster;
I suppose this comes about because of the tree structure:
[ul]…
*Br 101 ST/dPc1Raw : *
*Entries : 3617 : Total Size= 6727569 bytes File Size = 1791144 *
*Baskets : 890 : Basket Size= 8000 bytes Compression= 3.74 *
…
*Br 102 ST/dPc2Raw : *
*Entries : 3617 : Total Size= 1147575 bytes File Size = 321596 *
*Baskets : 148 : Basket Size= 8000 bytes Compression= 3.55 *[/ul]
since I have used MakeClass with no problem on trees of my own making. Is this a deficiency of the tree I have to use here, or of MakeClass, or is there some workaround possible for this? This is with version 5.17/01 in Linux, but I see the same thing in 5.18/00 in Cygwin. Thanks for any insight into this.