Muon g-2 Physics Analysis Workshop (Feb 2017)

This is an informal physics analysis/computing workshop organized from Feb 28 to Mar 2 of 2017.
Updated on Nov 26, 2017 for v7_06_06. Please use this release version throughout the tutorial.

Materials for the workshop

To obtain the materials for the workshop, simply follow the instructions given in day 1 talk 2 in
and then

mrb g gm2analyses
git checkout develop

You should see 5 items in the folder if you cd into the gm2analyses/Tutorial/2017-02 repository:

cd gm2analyses/Tutorial/2017-02; ls
CMakeLists.txt day1           day2           day3           ups

Folders day1, day2 and day3 contain materials for the day1, day2 and day3 of the workshop.

Day 1

Once you get into the day1 folder, you will see the following folders:

talk2SetupEnvironment  talk4TruthAnalyzer  talk5Fermigrid  talk6RootTricks

Day 2

talk2Digitization  talk5ReconAnalyzer  talk6JupyterNotebook

Day 3

talk2MidasTools  talk5Database talk7DAQRecon  talk8Challenge

Useful things to have in your .bash_rc

1. For showing git branch

parse_git_branch() {
  git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'

export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " 

2. For removing splash screen

alias root='root -l'

3. For ninja build

alias ninja='pushd $MRB_BUILDDIR ; ninja; popd'