[ROOT] showing ROOT histograms while running Geant4

From: Allister & Maricel Sanchez (allister_maricel_sanchez@ybb.ne.jp)
Date: Sat Oct 04 2003 - 11:46:56 MEST


Hi,

I've been using TFile, TTree, and TH1D to store data during a Geant4 run 
and it worked fine.
However, at times I also want to see the histogram on a canvas getting 
filled per event.  Could someone point out how I can implement this?  
Simply including the TCanvas.h header and then calling 
TCanvas::Update(), TCanvas::Modified() at the end of each event doesn't 
seem to work, that is, I can't see a canvas.

Thanks in advance,
Allister Sanchez
Niigata University, Japan



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET