[ROOT] Refresh speed in an online monitoring display

From: Laurent Mirabito (mirabito@in2p3.fr)
Date: Tue Aug 22 2000 - 09:59:12 MEST


	Hello all,

I wrote a small online monitoring program displaying data from a Si
detector. Mainly it consists of one acquisition method updating histograms
and displaying them in different canvas. It works well and my only worry
is the drawing speed. In some canvas I would like to have a "scope" mode
displaying all events (namely 100 event/s when I do not draw those 512
bins histograms) but I can hardly draw 10 % of events.

I use the standard method to update the drawing:

          if (fRawSelected && cnt%2 == 0 ) // Raw data canvas selected
            {
              fcRaw->cd(); // change to the canvas
              fHRaw[fCurrentEntry-1]->Draw(); // Histo drawing
              fcRaw->Modified(); // flag modified
              fcRaw->Update(); // Update the Pad
             }
Is there any setting I can modify to improve the speed of this
application?

Many thanks in advance for the answer.
	
	Laurent Mirabito 
	IPN Lyon

  



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