8–12 Oct 2012
DESY
Europe/Berlin timezone

Virtual machines

o) Install Virtualbox (or another virtualisation platform) on your
  computer.

o) Get latest release (2.5.3) of cernvm-desktop as of cernvm.cern.ch .
  Follow the instructions on cernvm.cern.ch for the installation and
  configuration.  Configure it on the configuration webpage to use
  hepsoft.

o) Install git (sudo conary install git).
  Then configure git:
  $> git config --global user.email "you@inst.de"
  $> git config --global user.name "Firstname Lastname"
  $> git config --global http.sslVerify "false"

o) It can happen that you can't move windows in cernvm with the mouse.
  Rightclick the window frame, choose "Move" and move with the arrow keys
  instead. If this bothers you install a slc5 vm using the slc5 installer
  iso as per linux.cern.ch, and access hepsoft via /afs/cern.ch/sw/lcg/...

o) Create yourself an account on github.com and send me
  (skluth@mpp.mpg.de) an e-mail with your github username.  I will then
  add you as a collaborator to the projects.  This means you can push
  changes into the repository.

o) Create a directory for the project, cd there and do

  $> git clone https://github.com/skluth/INIParser.git
  $> git clone https://github.com/skluth/RooAverageTools.git
  $> git clone https://github.com/skluth/RooConstrainedFit.git
  $> git clone https://github.com/skluth/AverageTools.git
  $> git clone https://github.com/skluth/ConstrainedFit.git
  $> git clone https://github.com/skluth/RooUnfold.git

o) For all projects except RooUnfold do

  $> source /cvmfs/sft.cern.ch/lcg/hepsoft/0.6/x86_64-slc5-gcc46-opt/setup.sh

  For RooUnfold, cd into RooUnfold and source the setup-cernvm.sh

o) Check that root, python and root in python (from ROOT import *) run.

o) If cernvm does not work for you (e.g. on a 32bit laptop without
  virtualisation support in the CPU) you have the following other
  options:

  i) if you have an lxplus.cern.ch account work there.  The instructions
     for sourcing hepsoft and using git apply.

  ii) if that fails use a reasonable linux with gcc >= 4.3, python >=
      2.6, and root >= 5.32 with pyroot anabled.  Install git and proceed
      as above to get the packages.