User Tools

Site Tools


root:rootlogonscript

This is an old revision of the document!


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.

Example

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

{
gSystem->Load("libAnaClasses.so");
}

which will automatically load your ana class into ROOT.

root/rootlogonscript.1228145633.txt.gz · Last modified: 2008/12/01 16:33 by decianm