The ROOT environment may be tailored through the use of an initialization file, named: ".rootrc".
When ROOT starts up it searches for files named .rootrc in the following locations:
./.rootrc // local version $HOME/.rootrc // user version $ROOTSYS/etc/system.rootrc // global
Note: If more than one of these files exists, the options are merged and preference is given to the local, user, and global copy of .rootrc. The copy of system.rootrc that comes with ROOT provides some documentation for the quantities that may be set in these files.
Here is an example of a quantity that the .rootrc file can be used to set:
# Path used by dynamic loader to find shared libraries and macros
# Paths are different for Unix and Windows. The example shows the defaults
# for all ROOT applications for either Unix or Windows.Unix.*.Root.DynamicPath: .:$(ROOTSYS)/lib
Unix.*.Root.MacroPath: .:$(ROOTSYS)/macrosWinNT.*.Root.DynamicPath: .;$(ROOTSYS)/bin;$(PATH)
WinNT.*.Root.MacroPath: .;$(ROOTSYS)/macrosWhere we are setting the path used by ROOT to search for shared libraries and macros.
Notes:
Last updated by: Chuck Patterson 12/03/2004 |