(no subject)

From: Jean Bourotte (Jean.Bourotte@cern.ch)
Date: Fri Nov 10 2000 - 18:41:34 MET


Bonjour,

The generated code from MakeClass appears to be :

Int_t drift::LoadTree(Int_t entry)
{
// Set the environment to read one entry
   if (!fChain) return -5;
   Int_t centry = fChain->LoadTree(entry);
   if (centry < 0) return centry;
   if (fChain->IsA() != TChain::Class())return centry;
   TChain *chain = (TChain*)fChain;
   if (chain->GetTreeNumber() != fCurrent) {
      fCurrent = chain->GetTreeNumber();
      Notify();
   }
   return centry;
}

and Notify is not called even at begining if fChain-IsA() == TTree.
Am I doing something wrong ?
Do I must call Notify myself ?

Merci,

 Jean

Tel (41 22) 767 4099



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET