Applied Statistics - technicalities

Quick start:
Generally, the program files can be found at: /scrx/hep/petersen/AS09/
To copy these to your area: cp -r /scrx/hep/petersen/AS09/ .

Setup of environment:
As always there are some evil technicalities that one needs to go through, before the software runs smoothless. In order to be able to run ROOT (and use ROOT routines in C++ programs) one needs to write as follows:
> bash
> export LD_LIBRARY_PATH=`/usr/bin/path -var LD_LIBRARY_PATH -b /cern/pro/root/lib`

If you feel slightly more confident, you can put these lines into your login file(s), such that you don't have to write it every time you start.

Structure of directories and programs:
The programs are in the directory called AS09, where you find subdirectories for each week, which again contains several exercises. There are tow types of programs, namely:
  • C++ programs, which needs to be compiled (make) and run (./ProgramName) before a result (either writing to the screen or a ROOT file) is produced. ROOT files can be examined by opening them in ROOT (root filename.root).
  • ROOT macros, which once inside ROOT (root) can be executed (./rootmacro.c) and the result will appear in a new window. Regardless of program type, these will generally have an introduction to the programs in the beginning of the file possibly with references, and a series of questions at the end, which are to be answered.
    Last updated 7th of September 2009.