Re: TChain

meb@gorby.dataventures.com
Thu, 3 Sep 1998 09:00:07 -0600 (MDT)


I had similar problems with chains (I could read one event and then
seg fault). Someone gave me the hint that it was the interpreter
giving me the problems. Sure enough, when I compiled the macro
everything worked. Try removing the following from your macro:

nb += chain->GetEvent(i,1);

and replace it with just

chain->GetEvent(i,1);

(i.e. don't count bytes). Then it will work in the interpreter (at
least it did for me).

- Mike Beddo