rootexec
Name
rootexec (experimental 5.0) -- Execute a root macro file.
Synopsis
rootexec filename
DESCRIPTION
SpecTcl 5.0 introduces an experimental integration with CERN's Root
data analysis framework. This command passes the
filename parameter to the root interpreter
for execution.
This command is only supported if the rootinterface
package is loaded in to SpecTcl. This can be done by
adding the following lines to your
SpecTclRC.tcl script
EXAMPLE
Suppose we have a file named Browser.C that contains the C++ code:
The command
rootexec Browser.C will bring up a Root Browser
window. Note that all SpecTcl spectra now are histogrammed using
Root histogram objects and will appear in the
root/ROOT memory folder of the browser.