Before using ROOT, source 'thisroot.sh' to set up environmental variables.
$ source /usr/bin/thisroot.sh # also available: thisroot.{csh,fish}