Computing Methods in High Energy Physics

Spring term 2022 (periods III-IV)

Lecturer: Sami Lehti, Office: HIP B321 , Phone: 050 4485621 
Credits:
5op (3ov), 13 lectures, 12 exercises and project work
Lectures: Friday 10-12, Zoom  
Zoom link

Zoom Meeting ID: 66534622386
Passcode: 20212021
Zoom URL: https://cern.zoom.us/j/66534622386?pwd=aitqd3FHb3RXL0l6Vlp6Z3V3N3dmQT09

Exercises: Friday 12-13 Zoom 
Solutions to exercises should be returned by Friday at 10:15 am. 

Exam: Project work is to be returned by May 20.  
It will contribute 2/3 of the grade, the rest 1/3 comes from the exercises.  

Course description

The course provides an introduction to learning to use software
used in a typical High Energy Physics experiment. The CMS experiment
is used as an example.

Topics covered include:

Short review of UNIX
C++
ROOT
Combining languages
Cross section and branching ratio calculations
Event generators
Detector simulations
Reconstruction
Fast simulation
Grid computing

Lecture notes:

Jan 21
Lect 1
Examples
Virtual
Lect 2
Examples
Jan 28
Lect 3
Examples
Feb 4
Lect 4
Examples
Feb 11
Lect 5
Examples
Feb 18
Lect 6
Examples
Feb 25
Lect 7
Examples
Mar 4
Lect 8
Examples
Mar 18
Lect 9
Examples
Mar 25
Lect 10
Examples
Apr 1
Lect 11
Examples
Apr 8
Lect 12
Examples
Apr 22
Lect 13
Examples
Apr 29
Lect 14
Examples
May 6
Project work presentations

If lecture notes are being updated and not available in the above links, older material is available here.

Literature
Lecture notes.
A book on C++ for reference.

Git
Some git instructions

Grid certificate
(For students of University of Helsinki only)
Instructions how to get a grid certificate
Instructions how to get a VO fgi.csc.fi membership
Escience-portal
Save your certificate on disk as a p12 file.
In $HOME/.globus directory
openssl pkcs12 -nocerts -in mycert.p12 -out userkey.pem
openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out usercert.pem
chmod 0400 userkey.pem
chmod 0600 usercert.pem

Software environment
How to install a virtual machine for running CMS software

Linux cluster "kale" in the University of Helsinki
How to login:
First login to some machine inside the university firewall
Inside the firewall: ssh -X <username>@turso.cs.helsinki.fi
An example environment can be found here

CMSSW on kale (assuming bash):
export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch
source ${VO_CMS_SW_DIR}/cmsset_default.sh
export SCRAM_ARCH=slc7_amd64_gcc630

ROOT 6.24.06 on markka (assuming bash):
wget https://root.cern/download/root_v6.24.06.Linux-ubuntu18-x86_64-gcc7.5.tar.gz
tar xfvz root_v6.24.06.Linux-ubuntu18-x86_64-gcc7.5.tar.gz
mv root root_v6.24.06

Add in your environment:
export ROOTSYS=$HOME/root_v6.24.06
export PATH=${PATH}:${ROOTSYS}/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTSYS}/lib
export PYTHONPATH=$LD_LIBRARY_PATH

ROOT and CMSSW environment for kale (bash)

Exercises:


Jan 28
Exercise1 Solution
Feb 4
Exercise2 Solution
Feb 11
Exercise3 Solution
Feb 18
Exercise4 Solution
Feb 25
Exercise5 Solution
Mar 4
Exercise6 Solution
Mar 18
Exercise7 Solution
Mar 25
Exercise8 Solution
Apr 1
Exercise9 Solution
Apr 8
Exercise10 Solution