The output below is a direct copy of an interactive ROOT session.
The ROOT system identifies itself showing a logo and a version number.
At startup time, some environment variables are read from the
local file .rootrc (see an example of a .rootrc file below).
The .rootrc file references a logon macro and a logoff macro.
the logon macro is called rootlogon.C and an example of this macro
is also shown below. Same for the logoff macro called rootlogoff.C.
// Start Interactive session by invoking the module root.// The only command typed in this session is ".q".//
root
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 1.03/09 16 December 1997 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
CINT/ROOT C/C++ Interpreter version 5.13.36, Nov 30 1997
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Welcome to the ROOT tutorials
Root > .q
This is the end of ROOT -- Goodbye
//// End of the interactive session// This is the file .rootrc// The description of possible variables in .rootrc is given in TEnv.
cat .rootrc
# Path used by dynamic loader to find shared libraries
*.Root.DynamicPath: .:~/rootlibs:$ROOTDIR/lib
# Activate memory statistics
Rint.Root.MemStat: 1
Rint.Load: rootalias.C
Rint.Logon: rootlogon.C
Rint.Logoff: rootlogoff.C
Rint.Canvas.MoveOpaque: false
Rint.Canvas.HighLightColor: 5
// This is the file rootlogon.C
{
printf("Welcome to the ROOT tutorials\n");
}
// This is the file rootlogoff.C
{
printf("This is the end of ROOT -- Goodbye\n");
}
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or
contact the developers with any questions or problems regarding ROOT.