Skip to content

Instantly share code, notes, and snippets.

@dberzano
Created January 27, 2015 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dberzano/eb4e0a94f9af3a2c5013 to your computer and use it in GitHub Desktop.
Save dberzano/eb4e0a94f9af3a2c5013 to your computer and use it in GitHub Desktop.
Show current rootmaps in ROOT
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