Difference between revisions of "TF ErrAna InClassLab"

From New IAC Wiki
Jump to navigation Jump to search
(Created page with '[http://wiki.iac.isu.edu/index.php/Forest_Error_Analysis_for_the_Physical_Sciences] Forest_Error_Analysis_for_the_Physical_Sciences')
 
Line 1: Line 1:
 +
=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
 +
 +
 +
 
[http://wiki.iac.isu.edu/index.php/Forest_Error_Analysis_for_the_Physical_Sciences] [[Forest_Error_Analysis_for_the_Physical_Sciences]]
 
[http://wiki.iac.isu.edu/index.php/Forest_Error_Analysis_for_the_Physical_Sciences] [[Forest_Error_Analysis_for_the_Physical_Sciences]]

Revision as of 22:57, 14 January 2010

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


[1] Forest_Error_Analysis_for_the_Physical_Sciences