Re: problems with ROOT

Fons Rademakers (rdm@pcsalo.cern.ch)
Mon, 31 Aug 1998 17:47:56 +0200 (METDST)


Hi Shuwei,

the StartIdeleing() and StopIdeleing() methods are called in the
ROOT eventloop. Therefore even when you try to disable it by
removing the timer from the list of TSystem timers (RemoveTimers()),
it will be reactivated automatically via the ROOT eventloop when it
calls StartIdeleing(). For the time being use the TROOT::Idle() interface.

The Marker3DBox problem will be answered by Rene.

The rootcint problem will hopefully be solved soon.

Cheers, Fons.

>
> Hi, Fons,
>
> I am meeting several problems in ROOT:
>
> 1) problem with IdleTimer in TApplication (for ROOT2.00/09)
>
> Yes, I can invoke TROOT::Idle to enable or disable system Idle Handling.
> But gROOT.Idle(0,"printf(\"aap\\n\");") also invoke RemoveIdleTimer of
> Application to disable system Idle Handling, in which fIdleTimer and
> fIdleCommand are deleted.
>
> 2) Problem with TMarker3DBox::Draw (for ROOT2.00/09)
>
> When the size of TMarker3DBox is quite large, its position in drawing is
> a little shifted, the larger its size is, the more shift is.
>
> 3) Problem with rootcint at Linux for ROOT2.00/10 and 11
>
> It always leads to "Segmentation fault" when invoking rootcint to
> generate dictionary. The example I tried is "rootcint -f EventCint.cxx -c
> Event.h LinkDef.h" which is in $ROOTSYS/test. The systems I tested are
> RedHat4.1 and S.u.S.E-5.3
>
> Thanks for attention --Shuwei
>
>
> On Fri, 28 Aug 1998, Fons Rademakers wrote:
>
> > Hi ye,
> >
> > use the idle timer via the TROOT::Idle() interface (and see there also
> > how the StartIdleing() and StopIdleing() should be used). Example:
> >
> > gROOT.Idle(1,"printf(\"aap\\n\");")
> >
> > to disable:
> >
> > gROOT.Idle(0,"printf(\"aap\\n\");")
> >
> > Cheers, Fons.
> >
> >
> > Ye Shuwei wrote:
> > >
> > >
> > > In addition, I found that TApplication::StartIdleing() and StopIdleing()
> > > do not work under interactive ROOT, I have not checked for batch mode. So I
> > > have to use RemoveIdleTimer each time when I want to stop the IdleTimer, and
> > > use SetIdleTimer to restart IdleTimer. I checked the corresponding source
> > > code, it should work.
> > >
> > > Best regards --Shuwei
> >
> > --
> > Org: CERN, European Laboratory for Particle Physics.
> > Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248
> > E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
> >
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910