de | en

Wissenschaftliches Rechnen in der Hochenergiephysik
Scientific Computing in High-Energy Physics

Modul PH2286

Diese Modulbeschreibung enthält neben den eigentlichen Beschreibungen der Inhalte, Lernergebnisse, Lehr- und Lernmethoden und Prüfungsformen auch Verweise auf die aktuellen Lehrveranstaltungen und Termine für die Modulprüfung in den jeweiligen Abschnitten.


PH2286 ist ein Semestermodul in Englisch auf das im Sommersemester angeboten wird.

Das Modul ist Bestandteil der folgenden Kataloge in den Studienangeboten der Physik.

  • Allgemeiner Spezialfachkatalog Physik
  • Spezifischer Spezialfachkatalog Kern-, Teilchen- und Astrophysik

Soweit nicht beim Export in einen fachfremden Studiengang ein anderer studentischer Arbeitsaufwand ("Workload") festgelegt wurde, ist der Umfang der folgenden Tabelle zu entnehmen.

GesamtaufwandPräsenzveranstaltungenUmfang (ECTS)
150 h 30 h 5 CP

Inhaltlich verantwortlich für das Modul PH2286 ist Ante Bilandzic.

Inhalte, Lernergebnisse und Voraussetzungen


This module introduces the Linux operating system, scripting with Bash programming language, and ROOT object-oriented framework (written mostly in C++ and developed at CERN) for data analysis in high-energy physics. The topics to be covered include:

  1. Linux: filesystem hierarchy and file manipulation, handling processes and jobs, frequently used commands;
  2. Bash: shell environment, variables, string manipulation, built-in commands, aliases, functions, conditional statements, loops, command substitution, command chain, test constructs, piping, redirections, code blocks, subshells, process substitution, brace expansion, regular expressions, here-strings and here-documents, etc.;
  3. ROOT: using ROOT GUI, plotting, histogramming, fitting, trees, etc.


After successful completion of the module the students are able to:

  1. use the Linux operating system at an advanced level;
  2. master in-depth the shell scripting and terminal control with Bash programming language;
  3. use the most important ROOT functionalities (e.g. sampling, histogramming, plotting, fitting, data storage, file merging, etc.).

These three aspects are among the most important core skills required nowadays for high-energy experimental physicists, doing large scale data analysis for instance in experiments at CERN's Large Hadron Collider.


Keine Vorkenntnisse nötig, die über die Zulassungsvoraussetzungen zum Masterstudium hinausgehen.

Lehrveranstaltungen, Lern- und Lehrmethoden und Literaturhinweise

Lehrveranstaltungen und Termine

VI 2 Wissenschaftliches Rechnen in der Hochenergiephysik Bilandzic, A. Do, 14:00–16:00, PH 2024

Lern- und Lehrmethoden

The content of the lecture is delivered through the presentation, assuming no prior knowledge on the subject. During each lecture, the newly introduced programming concepts will be demonstrated on a computer by the lecturer.

In total there will be 12 days of lectures, each lecture lasting 2x45min.


Presentation projected from the laptop. Blackboard for additional clarifications. Summary of each lecture, including integrated code snippets with exercises, in .html format.


  1. Mendel Cooper: "Advanced Bash-Scripting Guide" ( 
  2. Cameron Newham and Bill Rosenblatt, 'Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))' 
  3. ROOT User's Guide (


Beschreibung der Prüfungs- und Studienleistungen

The achievement of the competencies given in section learning outcome is tested exemplarily at least to the given cognition level using final projects independently prepared by the students. The exam of about 25 minutes consists of the presentation of the project’s results and a subsequent oral exam.

For example an assignment in the exam might be:

  • Develop a Bash script which will automate all stages (job submission, re-submission of failed jobs, quality assurance of output files, the final merging of output files, etc.) for a given Linux process
  • Develop a Bash script which will automate common maintenance tasks on a Linux machine
  • Set up from scratch a Monte Carlo simulation in ROOT for some physical observable of interest

There will be a bonus (one intermediate stepping of "0,3" to the better grade) on passed module exams (4,3 is not upgraded to 4,0). The bonus is applicable to the exam period directly following the lecture period (not to the exam repetition) and subject to the condition that the student passes the mid-term of successfully completing 75% of the homework problems.


Eine Wiederholungsmöglichkeit wird am Semesterende angeboten.

Nach oben