Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
computing:tbrowse [2017/02/27 16:35] – iwn | computing:tbrowse [2017/03/02 20:14] (current) – iwn |
---|
Underneath is a macro that opens a ''TBrowser'' and defines some functions. It can be run using ''root myMacro.C'' or with a predefined function | Underneath is a macro that opens a ''TBrowser'' and defines some useful functions. It can be run using ''root myMacro.C'' or with a predefined function |
<code> | <code> |
function TBrowse { root -l "$@" ~/macros/myMacro.C; } | function TBrowse { root -l "$@" ~/macros/myMacro.C; } |
</code> | </code> |
Run the function like ''TBrowse analysis.root'' or to open all root files in the current directory: ''TBrowse *.root'', even quicker: ''TBrowse *t''. | Run the function in the command line with ''TBrowse analysis.root''. To open all root files in the current directory: ''TBrowse *.root'', even quicker: ''TBrowse *t''. |
| |
<code - myMacro.C> | <code - myMacro.C> |