User Tools

Site Tools


Logon Script for ROOT

When you start ROOT from commandline, it will execute the script rootlogon.C in the same directory. This may be useful when you want to load your own classes into ROOT or want to set some styles.


Create a file named rootlogon.C (note the capital C), open it and write


which will automatically load your library into ROOT and set the color of your canvas to white.

root/rootlogonscript.txt · Last modified: 2008/12/01 16:41 by decianm