6th HEP C++ Course and Hands-on Training - The Essentials

593/R-010 - Salle 11 (CERN)

593/R-010 - Salle 11


Show room on map
Graeme A Stewart (CERN), Sebastien Ponce (CERN), Stefan Roiser (CERN)

Thanks everyone for attending the course!!! 

If you want to stay informed about upcoming courses please register with your perferences at 



Welcome to the sixth iteration of a C++ course for the high energy physics community organised in collaboration between the Software Institute for Data Intensive Sciences and the Training Working Group of the HEP Software Foundation.

Important Links

Organisation and Content

IMPORTANT NOTE: For this event we try a new schedule and the course will be held on Monday, Wednesday and Friday of the training week. Tuesday and Thursday are meant to provide time for additional exercises that could not be finished during the hands-on afternoon training sessions.

Please also note that we will charge a registration fee of CHF 20 for this event. You will receive payment options during the registration process. 

This iteration of the course will cover the "C++ essentials", for details on the content please see the table below. We shall run also an "Advanced C++" course in fall this year. 

The event will run over 3 days. Each day will feature one two hour interactive lecture session in the morning and a session focused around hands-on training exercises in small breakout groups (related to the morning training) in the afternoons (CET).

The event will be held in a hybrid format, i.e. the morning lectures will be given in a meeting room at CERN (Training Center, 593/R-010) and also broadcasted on zoom. The afternoon trainings will be held in smaller meeting rooms at CERN and for remote participants in zoom breakout rooms.


The course is based on material developed originally by Sebastien Ponce. The morning lectures will be held by Stephan Hageböck and Bernhard Gruber.


The afternoon trainings are supported by mentors from within the HEP community

  • Sebastien Ponce (CERN)
  • Benedikt Hegner (CERN)
  • Isabella Oceano (DESY)
  • Michal Dubovsky ()
  • Michal Simon (CERN)
  • Attila Krasznahorkay (CERN)
  • David Charmont (IJCLab)
  • Graeme Stewart (CERN)
  • Andrea Valassi (CERN)
  • Stephan Hageboeck (CERN)


The lecture sessions contain the following topics

Basics (syntax, pointers, references, compound types, operators ...)

Tools (code mgmt, compiler chain, debugging, ...)

Object Orientation (classes, inheritance, ... )

Object Orientation  (allocate objects, advanced OO, functors, ...)

Modern C++ (constness, exceptions, templates, STL, lambdas, ...)




Registration : Important notice !!!

The number of participant places for this course and training are deliberately limited in order to allow us to give you more personalised instruction while gaining experience with the online/virtual training format.

In case you registered and got a place but find out later that you cannot attend, please contact the organisers so we eventually could make your place available to others.

Alternatively if you find the participant places already all booked and/or you want to stay informed about upcoming courses, please feel free to register on the waiting list at https://indico.cern.ch/e/HepCppInfo . In case a place gets available we will move you there (FIFO) and we would also contact you for an eventual new iteration of the course.

Is this training for me?

Good question.  Our target audience for this training are members of the high energy physics community who are in any kind related to software development (experiments, services, tools, ...). 

The registration process is not moderated but we ask that you reflect on two things before registering. 

[1] Can I commit to attending the full event?

The most important thing is that those who want to learn are given the full opportunity to do so.  And in our teaching pedagogy, learning means staying engaged both during the lecture and the hands-on sessions.  Please only register if you can commit to attending and being engaged.  If you are interested but aren't sure, don't hesitate to sign up for the waiting list to express your interest!

[2] What level of C++ is required?

The course will start from the very basics but will also touch on advanced and modern features of C++ (check out the curriculum above). We suggest you to follow this course if you only have very basic knowledge of C++ or you want to refresh it. The goal of this course is to already enable you to contribute meaningfully to your experiment code base or to write your own analysis software.  If you aren't sure of your current skill level, then don't hesitate to contact us to ask if you "know enough", we'll be able to help you assess your current level and whether this training is right for you.

Finally, every individual interested in the training is welcome to subscribe. The sessions for this iteration of the event are more optimised for European time zones.  If you don't plan to attend this training but maybe another iteration please still subscribe to the waiting list so we can reach out to you and inform you of any future C++ trainings.

Really want to attend but timing doesn't work?

We also plan to run courses in JLAB/US (~ May) and Manchester/UK (~fall) in case those fit better for your time zone or schedule. 

Finally we also plan to record the morning courses and publish them on this indico page. In case you only want to consume the recordings and not participate live in the lectures and training you also don't need to register for the training.

Cost of attendance and attestation

The registration fee for this event will be CHF 20 and cover refreshments during the coffee breaks. 

If needed we can also provide attendance certificates to the participants. 

Stefan Roiser