4just like getting items from
a Python dictionary.
5Moreover, once
a subdirectory or
object is accessed
for the first time,
6it is cached
for later use.
12# We can go further down in the hierarchy of directories
13d[
"subdir"][
"subsubdir"]
15# Access an object (e.g. a histogram) in the directory
18# ... or in a subdirectory
21# Wrong key: raises KeyError
25Furthermore,
TDirectory implements
a `WriteObject` Python method which relies
28and
TFile, which inherit it. Please refer to the documentation of those classes
static void retrieve(const gsl_integration_workspace *workspace, double *a, double *b, double *r, double *e)
static Roo_reg_AGKInteg1D instance
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
A ROOT file is structured in Directories (like a file system).
Describe directory structure in memory.
virtual Int_t WriteObjectAny(const void *, const char *, const char *, Option_t *="", Int_t=0)
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...