Hi Luiz,
It looks like you do not delete your histograms between the two passes.
I suggest you read our standard example $ROOTSYS/tutorials/h1analysis.C,
see function Begin).
The message "Streamer not declared" is just an informative message
in case the ClassDef macro is not found when processing a class.
You can ignore this message. We will print this message in a future
version only when the errorlevel will be greater than 0.
Rene Brun
On Sat, 27 Oct 2001, Luiz Martins Mundim Filho wrote:
> Hello
>
> I'm using the file generated by MakeSelector to process an ntuple e get
> number of expected events, cross sections, etc... I was using the
> interpreted mode, but since my ntuple is very big, is got too slow and
> I decided to invest some effort to compile it, but now I realized that
> when executing it for the second time, it didn't initialized the
> variables I use to count selected events in several channel. In summary,
> I gave the commands (after reading the ntuple, compiling some auxiliary
> routines and all that):
>
> root> h1->Process("Wpolarization.C++")
> Creating shared library /home/delphi/data/ww/dat/./Wpolarization_C.so
> Class Wpolarization: Streamer() not declared
> Class Wpolarization: ShowMembers() not declared
> Starting Wpolarization with process option:
>
> The number I got are correct. Then I did it again:
>
> root>h1->Process("Wpolarization.C+")
>
> The numbers are twice the correct ones. I used only one "+" because I
> didn't modified the Wpolarization.C. Should I always use the double "+"
> even if the analisys program has not changed?
>
> Another question: How can I solve the problem about the message about
> Streamer() not declared. I have looked for an include file when it is
> declared but I did not succeed.
>
> Thanks a lot.
>
> Luiz.
>
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET