Re: embed a macro inside a ROOT file

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sat, 3 Jul 2010 22:51:57 +0200


TMacro was implemented in 2005 and appeared in version 5.00

Rene

Erkcan Ozcan wrote:
> Hi Rene,
>
> Thanks. I had expected this and searched for "TMacro ROOT" and "TMacro CERN" in google, but unlike any other ROOT classes this one failed to show up. It also did not appear in the 5.26 User's Guide.
>
> Excellent to see it has already been implemented.
>
> Cheers,
> e.
>
> On 3 Jul 2010, at 18:36, Rene Brun wrote:
>
>
>> see class TMacro:
>>
>> http://root.cern.ch/root/html/TMacro.html
>>
>> Rene Brun
>>
>>
>> Erkcan Ozcan wrote:
>>
>>> Dear ROOT experts,
>>>
>>> Is it possible to embed a macro inside a ROOT file? The idea would be to provide a single ROOT file with data and some macro to visualize that data in one place. The receiver of the ROOT file opens the TBrowser, double-clicks on the macro and say, gets three different histograms nicely colored and plotted on a single canvas.
>>>
>>> This could be possible by adding an execute method to TText perhaps?
>>>
>>> Cheers,
>>> e.
>>>
>>>
>>>
>
>
Received on Sat Jul 03 2010 - 22:52:01 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 05 2010 - 17:50:01 CEST