Created
January 27, 2015 21:24
-
-
Save dberzano/eb4e0a94f9af3a2c5013 to your computer and use it in GitHub Desktop.
Show current rootmaps in ROOT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ShowRootMaps() { | |
TObjArray *oa = gInterpreter->GetRootMapFiles(); | |
TIter i(oa); | |
TObject *o; | |
TNamed *n; | |
TString s; | |
while ((o = i.Next()) != NULL) { | |
n = dynamic_cast<TNamed *>(o); | |
Printf("%-40s --> %s", n->GetName(), n->GetTitle()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment