to create a root file of TMacros More...
#include "TFile.h"
#include "TSystem.h"
#include "TMacro.h"
Go to the source code of this file.
Functions | |
void | importdir (const char *dirname) |
void | MacroToRoot (const char *topdir, const char *rootname) |
Variables | |
Bool_t | istopdir = false |
to create a root file of TMacros
It is an slightly modified version of the importCode.C macro provided in the root/tutorial directory. From a system directory, it creates a root file with the same tree structure that the system directory. All root macros found (*.C) are written in the root file as TMacros so that a TMacro could be executed from the ROOT TBrowser just by clicking
Definition in file MacroToRoot.C.