TF ErrAna InClassLab
Jump to navigation
Jump to search
Start ROOT and Draw Histogram
In this first lab your goal will be to start root and draw a histogram.
If you are on a Windows machine start the ROOT interpreter by double clicking on the Desctop icon which looks like a tree and says ROOT underneath it If you are on a Unix machine set the environmental variable ROOTSYS to point to the base subdirectory containing the ROOT files and start root with the command $ROOTSYS/bin/root. You can set the ROOTSYS environmental variable under the bash chell with the command
export ROOTSYS=path
where path identifies the location of the root base subdirectory. My ROOT base subdirectory is located at ~/src/ROOT/root so I would execture the following shell command
export ROOTSYS=~/src/ROOT/root