Re: TColor problem?

From: Akira OKUMURA <oxon_at_juno.phys.s.u-tokyo.ac.jp>
Date: Wed, 18 Nov 2009 02:07:48 +0900


Hello Olivier,

Thanks a lot. It works fine.

I modified your macro slightly as the attached shows.

root [0] .L color3.C
root [1] for(int i=0; i < 10; i++){ gROOT->ProcessLine("color3()");}

Regards,

OKUMURA, Akira oxon_at_juno.phys.s.u-tokyo.ac.jp Department of Physics, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033
TEL/FAX +81 3-5841-4173/4059
Skype : okumura.akira

On 2009/11/18, at 1:19, Olivier Couet wrote:

> On Mon, 16 Nov 2009, Akira OKUMURA wrote:
>> Q2. The process of root.exe becomes slowly (i.e. high CPU load), when
>> I execute the macro with ACLiC many times. What is the reason and how
>> can I remove it?
>>
>> e.g. try
>> root [0] .x color.C+
>> root [1] .x color.C+
>> root [2] .x color.C+
>> root [3] .x color.C+
>> root [4] .x color.C+
>> root [5] .x color.C+
>> root [6] .x color.C+
>
> Hi Akira,
>
> Attached is a version of your macro which doesn't slow down when you
> execute it several times. It computes the 3 palettes only once.
>
> Cheers, Olivier
>
> --
> Org: CERN - European Laboratory for Particle Physics.
> Mail: 1211 Geneve 23 - Switzerland Mailbox:
> J25910
>
> E-Mail: Olivier.Couet_at_cern.ch Phone:
> +41 22
> 7676522
> WWW: http://cern.ch/Olivier.Couet/ Fax:
> +41 22
> 7670300
> <color2.C>

Received on Tue Nov 17 2009 - 18:07:59 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 18 2009 - 11:50:03 CET