how to display event counter?

From: Witold Przygoda (Witold.Przygoda@physik.tu-muenchen.de)
Date: Mon Feb 15 1999 - 17:52:57 MET


Hi ROOTers,

I have been trying different possibilities to realize
displaying in my TCanvas window (or in TPad or whatever...)
a kind of Event counter (exactly in the shape of a counter 
from web-page ;).

I have loop like:

for (int i = 0; i < 1000; i++) {

....

and I would like let's say every 10-th event
to display event number in one of TPads, i.e.
updating TPaveLabel, like histograms are updated and displayed.
I have trying but I failed...

Remark: I wanted it in my macro (not compiled program).


Thank you for help.

Witek



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET