Re: embed a macro inside a ROOT file

From: Erkcan Ozcan <eo_at_hep.ucl.ac.uk>
Date: Sat, 3 Jul 2010 21:54:54 +0200


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.
>> 
>>  

>
-- 

In case they are not written explicitly, please be aware that my greetings and farewell are inherently implied in this email.

V. Erkcan Ozcan
Research Fellow
University College London
Dept. of Physics & Astronomy
Received on Sat Jul 03 2010 - 21:55:05 CEST

This archive was generated by hypermail 2.2.0 : Sat Jul 03 2010 - 23:50:01 CEST