1ROOT(1) General Commands Manual ROOT(1)
2
3
4
6 root - Interpreter of C++ for the ROOT framework
7
9 root [options] [-e 'expression'] [datafile ...] [macrofile ...]
10 root macrofile.C
11 root macrofile.C(arguments ...)
12 root macrofile.C("string arguments")
13 root macrofile.C+
14 root macrofile.C++
15 root macrofile.C+g
16 root macrofile.C+O
17
19 ROOTs Object-Oriented Technologies.
20
21 root is an interactive interpreter of C++ code. It uses the ROOT frame‐
22 work. For more information on ROOT, please refer to
23
24 An extensive Users Guide is available from that site (see below).
25
27 -?, -h, --help Show summary of options.
28
29 -b Run in batch mode without graphics
30
31 -e Execute the command passed between single quotes
32
33 -n Do not execute logon and logoff macros as specified in .rootrc
34
35 --notebook
36 execute ROOT notebook
37
38 -t enable thread-safety and implicit multi-threading (IMT)
39
40 -q Exit after processing command line macro files
41
42 -l Do not show splash screen
43
44 Data files are opened and accessible in root as _file0, _file1 ...
45
46 Macro files are either intrepreted (filename provided alone) or com‐
47 piled (with + added to the filename). Afterwards the function with the
48 same name as the filename (without extension) in the macro file is exe‐
49 cuted (eg. void macro() in a file macro.C).
50
51 Compilation is done on-demand if the macro is newer than a previously
52 generated shared library. Two plus signs (macro.C++) force a recompila‐
53 tion. Adding O after a plus results in an optimised build, adding g
54 adds debug symbols (eg. macro.C+Og).
55
56 Macro files, data files and -e expressions are processed in the order
57 in which they are provided. If a macro relies on the presence of
58 _file0, then root should be called with root data.root macro.C.
59
61 rootcling(1), cling(1), root-config(1), rootd(1), h2root(1), g2root(1)
62
63 For extensive documentation on the ROOT system, see
64
65 A Users Guide is available at
66
67 The classes of ROOT are all documented by the automatic documentation
68 system, and is available at
69
70 Questions and support are provided in the root forum bugs can be
71 reported on jira and pull requests can be submitted on github
72
74 <etcdir>/system.rootrc
75 System-wide configuration file. <etcdir> either $ROOTSYS, or
76 something like /etc/root
77
78 <libdir>/*
79 ROOT C++ class libraries. <libdir> is either $ROOTSYS/lib or
80 something like /usr/lib/root.
81
82 <incdir>/*
83 The header files for the ROOT C++ class libraries. <incdir> is
84 either $ROOTSYS/include or something like /usr/include/root.
85
86 ~/.rootrc, ./.rootrc
87 User configuration file
88
90 The ROOT team (see web page above):
91 Rene Brun and Fons Rademakers
92
94 This library is free software; you can redistribute it and/or modify it
95 under the terms of the GNU Lesser General Public License as published
96 by the Free Software Foundation; either version 2.1 of the License, or
97 (at your option) any later version.
98
99 This library is distributed in the hope that it will be useful, but
100 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
101 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
102 General Public License for more details.
103
104 You should have received a copy of the GNU Lesser General Public
105 License along with this library; if not, write to the Free Software
106 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
107 USA
108
110 This manual page was written by Christian Holm Christensen
111 <cholm@nbi.dk>, for the Debian GNU/Linux system (but may be used by
112 others).
113
114
115
116ROOT Version 6 ROOT(1)