MakeClass on extension of TChain

Bonjour,

Maybe a suggestion for an improvement or just to shared my experience:

I use an extension of the TChain class to easily access my files (by dates/day…).

Trying to access the data by branch using the generated MakeClass, I noticed that the MakeClass::LoadTree didn’t handle this case properly.
This is related to the line:if (fChain->IsA() != TChain::Class()) return centry;
I replaced it byif (fChain->IsA() != TChain::Class() && !fChain->InheritsFrom(TChain::Class())) return centry;

Can this be made standard or would it hurt the performances too much ?

Cheers, Vincent.

Hi Vincent,

I have implemented your suggestion. Now in CVS.

Rene