Fons Rademakers | 1 Feb 2007 09:57
Picon
Picon

Re: [ROOT] Recent changes in rootcint.cxx

Hi Philippe,

   the same problem is observed by ALICE where AliRoot also does not 
compile anymore due to the same kind of errors.

Cheers, Fons.

Constantin Loizides wrote:
> Hi Phillippe,
> 
> I made an example for you based on a stripped down version of
> the class I reported the problem with and using the $ROOTSYS/test
> environment.
> 
> Constantin
> 
> Philippe Canal wrote:
>> Hi Constantin,
>>
>> Can you please send a succint example reproducing the problem?
>>
>> Thanks,
>> Philippe.
>>
>> -----Original Message-----
>> From: owner-roottalk <at> pcroot.cern.ch 
>> [mailto:owner-roottalk <at> pcroot.cern.ch]
>> On Behalf Of Constantin Loizides
>> Sent: Wednesday, January 31, 2007 12:36 PM
>> To: ROOT TALK
(Continue reading)

Federico Carminati | 1 Feb 2007 10:01
Picon
Picon

Re: [ROOT] Recent changes in rootcint.cxx

Hello,
     apparently rootcint now generates code that requires copy  
constructors. As long as they are all "synthesised" things are ok,  
but if you defined one of them as protected or private, then the code  
fails. The solution is to remove all copy constructors, or define and  
implement all the needed ones. A pain in the lower-rear. Best,

Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843

On 1 Feb 2007, at 09:57, Fons Rademakers wrote:

> Hi Philippe,
>
>   the same problem is observed by ALICE where AliRoot also does not  
> compile anymore due to the same kind of errors.
>
> Cheers, Fons.
>
>
> Constantin Loizides wrote:
>> Hi Phillippe,
>> I made an example for you based on a stripped down version of
>> the class I reported the problem with and using the $ROOTSYS/test
>> environment.
(Continue reading)

Roger Mason | 1 Feb 2007 22:14
Picon
Picon

[ROOT] program wait for input

Hello,

I have a program that pops up a dialog box that will gather user
input.  I'd like execution to stop until the user has supplied that
input and pressed "OK" on the dialog box.

I thought that gSystem->ProcessEvents() would force that wait, so I
have the present code snippet:

// Pop up a dialog box and get info about the file.

      SimpleDialog();               // pop up the dialog
      gSystem->ProcessEvents();     // should wait for input?
      cout << "File has " << ncols << " columns" << endl;

The output from the cout line shows that the system is not waiting for
input.

Thanks for any help,
Roger

Philippe Canal | 1 Feb 2007 23:02
Favicon

RE: [ROOT] Recent changes in rootcint.cxx

Hi,

Due to a weakness in CINT (privacy level of nested class is hard
to get to), I re-instated the '#define private public' trick which
is still required to properly deal with nested private and protected
classes ...

This will stay as is until CINT has been fully upgraded to use Reflex.

Cheers,
Philippe.

-----Original Message-----
From: Constantin Loizides [mailto:loizides <at> MIT.EDU] 
Sent: Wednesday, January 31, 2007 5:54 PM
To: Philippe Canal
Cc: 'ROOT TALK'
Subject: Re: [ROOT] Recent changes in rootcint.cxx

Hi Phillippe,

I made an example for you based on a stripped down version of
the class I reported the problem with and using the $ROOTSYS/test
environment.

Constantin

Philippe Canal wrote:
> Hi Constantin,
> 
(Continue reading)

Fons Rademakers | 2 Feb 2007 00:12
Picon
Picon

Re: [ROOT] program wait for input

Hi Roger,

   after mapping a dialog window, use gClient->WaitFor(dialog) to wait for 
the dialog to pop down. For examples see $ROOTSYS/tutorials/gui/guitest.C.

ProcessEvents() just processes any pending events and then returns.

Cheers, Fons.

Roger Mason wrote:
> Hello,
> 
> I have a program that pops up a dialog box that will gather user
> input.  I'd like execution to stop until the user has supplied that
> input and pressed "OK" on the dialog box.
> 
> I thought that gSystem->ProcessEvents() would force that wait, so I
> have the present code snippet:
> 
> // Pop up a dialog box and get info about the file.
> 
>       SimpleDialog();               // pop up the dialog
>       gSystem->ProcessEvents();     // should wait for input?
>       cout << "File has " << ncols << " columns" << endl;
> 
> The output from the cout line shows that the system is not waiting for
> input.
> 
> Thanks for any help,
> Roger
(Continue reading)

Olivier Couet | 2 Feb 2007 10:36
Picon
Picon

[ROOT] RE: canvas print statement

You can do:
gErrorIgnoreLevel = 5000;
(see TError.h) 

-----Original Message-----
From: owner-about-root <at> listserv.fnal.gov
[mailto:owner-about-root <at> listserv.fnal.gov] On Behalf Of Avdhesh Chandra
Sent: Thursday, February 01, 2007 7:10 PM
To: roottalk <at> pcroot.cern.ch; about-root <at> fnal.gov
Subject: canvas print statement

Hi,
    I am printing canvas to a ps file and getting statement
------------
Info in <TCanvas::Print>: Current canvas added to ps file xxxyyyzzz.ps
-----------
I want to get rid of this print statement (due to large number of canvas
printed on the same file). Is there is any way to do it?

Thanks for any help,
Avdhesh

Roger Mason | 2 Feb 2007 16:55
Picon
Picon

[ROOT] removal of points from TGraph

Hello,

When I plot data using a TGraph I see that it is possible to remove
points by right-clicking the mouse and selecting the appropriate
option from the pop-up menu.

Does this delete those points from the underlying x,y arrays of the
TGraph, or just from the display?  I need to know if the "removed"
points would be used in a subsequent fit of the data.

If removal does not edit the underlying arrays, then is there a method
by which I _can edit those arrays (preferably some graphical method)?

Thanks for any help,

Roger

Philippe Canal | 2 Feb 2007 17:20
Favicon

RE: [ROOT] Problem with Form() in Windows

Hi Dylan,

I can not reproduce the problem with 5.14/00.

Could you try using that version of ROOT?

Thanks,
Philippe 

-----Original Message-----
From: owner-roottalk <at> pcroot.cern.ch [mailto:owner-roottalk <at> pcroot.cern.ch]
On Behalf Of Dylan Maxwell
Sent: Wednesday, January 31, 2007 5:11 PM
To: roottalk <at> pcroot.cern.ch
Subject: [ROOT] Problem with Form() in Windows

Dear Roottalk,

There appears to be a problem with the Form() function in windows.

When I use a format string that includes a "%.4e" followed by a "%s",
the string does not appear in the output.

See the attached script for an example and its output.

Linux does not appear to have any problem.

My system configuration is:

  *******************************************
(Continue reading)

Rene Brun | 2 Feb 2007 17:35
Picon
Picon

Re: [ROOT] removal of points from TGraph

Roger Mason wrote:
> Hello,
>
> When I plot data using a TGraph I see that it is possible to remove
> points by right-clicking the mouse and selecting the appropriate
> option from the pop-up menu.
>
> Does this delete those points from the underlying x,y arrays of the
> TGraph, or just from the display?  I need to know if the "removed"
> points would be used in a subsequent fit of the data.
>   
The points are removed from the internal arrays
> If removal does not edit the underlying arrays, then is there a method
> by which I _can edit those arrays (preferably some graphical method)?
>   
The fit methods will not use the points that have been removed

Rene Brun
> Thanks for any help,
>
> Roger
>   

Olivier Couet | 2 Feb 2007 17:28
Picon
Picon

RE: [ROOT] removal of points from TGraph


Hi,

The RemovePoint function you access from the pull down menu first find
the closest graph's point to the mouse position and then call
RemovePoint(i) where "i" is the index of the point found. RemovePoint(i)
removes the data point. 

Cheers,  O.Couet

-----Original Message-----
From: owner-roottalk <at> pcroot.cern.ch
[mailto:owner-roottalk <at> pcroot.cern.ch] On Behalf Of Roger Mason
Sent: Friday, February 02, 2007 4:55 PM
To: roottalk <at> pcroot.cern.ch
Subject: [ROOT] removal of points from TGraph

Hello,

When I plot data using a TGraph I see that it is possible to remove
points by right-clicking the mouse and selecting the appropriate option
from the pop-up menu.

Does this delete those points from the underlying x,y arrays of the
TGraph, or just from the display?  I need to know if the "removed"
points would be used in a subsequent fit of the data.

If removal does not edit the underlying arrays, then is there a method
by which I _can edit those arrays (preferably some graphical method)?

(Continue reading)


Gmane