This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
root:rootlogonscript [2008/12/01 16:33] – created decianm | root:rootlogonscript [2008/12/01 16:41] (current) – decianm | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Logon Script for ROOT ====== | ====== Logon Script for ROOT ====== | ||
- | When you start ROOT from commandline, | + | When you start ROOT from commandline, |
===== Example ===== | ===== Example ===== | ||
- | Create a file named **rootlogon.C** (note the capital C), open it an write | + | Create a file named **rootlogon.C** (note the capital C), open it and write |
< | < | ||
{ | { | ||
gSystem-> | gSystem-> | ||
+ | gROOT-> | ||
} | } | ||
</ | </ | ||
- | which will automatically load your ana class into ROOT. | + | which will automatically load your library **libAnaClasses.so** |