Getting Started with Geant4

Europe/Zurich
Zoom (CERN)

Zoom

CERN

1 Esplanade des Particules 1213 Meyrin, Switzerland
Description

              

Tutorial on Geant4 for users interested to begin or improve their usage of Geant4. Appropriate for creating applications in any domain, with emphasis on topics most relevant to experiments in High Energy or Nuclear Physics. This is a hands-on tutorial course based on Geant4 version 10.7.

Lectures will cover all aspects of Geant4 from the basic building blocks of Geant4 through intermediate topics, interspersed with examples that build a progressively more complex application extensible to real use.

The course is expected to be of interest to novices and those with basic or partial familiarity with Geant4. Participants are expected to have a reasonable knowledge of C++.

Registration

Registration is now FULL ( in addition the waiting list for the course is also FULL ).

The cost for the course is 100 ChF. Pre-registration is required as capacity is limited. The course was created for users with CERN affiliation (experiment or other), who can register via the Learning Hub

A limited number of places is available for 'external' Geant4 users to register.  Please note that if you require an invoice, you must request it before you complete payment.

Your registration will only be complete after you have paid the course fee.

Preinstallation of Geant4 is Required

Users must setup a desktop or laptop capable of running Geant4, equipped with an internet connection. Minimum required free disk space to install the Geant4 Virtual Machine is about 25 GB; the recommended amount of RAM is 2 GB or over.

Participants are expected to be equipped with a working installation of Geant4. A dedicated virtual session will be organised to exercise the remote connection and to check the installation of Geant4 and related libraries, to ensure it is working correctly and to address questions or difficulties.

The Geant4 Virtual Machine (see instructions) as the only supported installation of Geant4. Users must have this installed on their machine, so that they can undertake the exercises in an environment which supports all necessary functionality.

An additional, alternative installation can be created by users, with native compilers. Supported systems and C++ compilers for this are listed in the Geant4 Installation Guide. If you have questions about whether your machine is appropriate, or problems about installing Geant4, see the Geant4 Installation Guide, and/or the Geant4 Installation and Configuration Discussion Forum.

Pre-requisites: 

  • Basic knowledge of the C++ language 
  • Basic knowledge of MC simulation techniques 
  • Availability of a machine with Virtual Machine pre-installed

Objectives: 

  • Acquire basic understanding of particle transport Monte Carlo
  • Acquire basic knowledge and experience in using the Geant4 simulation toolkit
Organized by

CERN Technical Training

Surveys
Questionnaire about "Getting Started with Geant4 course", May 2021
Geant4 Training 2021
    • 9:00 AM 9:10 AM
      Welcome - Introduction 10m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      How the course will proceed

      Technical aspects -- using Zoom breakout rooms to interact with lecturers during hands-on session

      Interacting via Mattermost for questions 'online'

      Exercise follow up

      Speaker: John Apostolakis (CERN)
    • 9:10 AM 9:30 AM
      What is Geant4 ? 20m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      The toolkit / library 'nature' of Geant4 and how differ from radiation transport tools ?

      Is there is no Geant4 'executable' ? If not, why ?
      Variety of existing Geant4-based application / tools.
      How do you use Geant4 ?

      Speaker: John Apostolakis (CERN)
    • 9:30 AM 10:30 AM
      Hands-on: First look at virtual machine and one Geant4 application 1h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Goals:
      - Familiarise with program main, contents of directories, compiling and running an executable

      How to get the exercise material

      You can follow these instructions from the gitlab site of the exercises below "How to get the exercises"

      Copied below also (in case of gitlab unavailability)

      First create a directory for all our work (examples & exercises) :
      Create a new ~/g4/exercises directory, and extract it there:

      cd ~
      mkdir g4
      cd g4
      mkdir exercises
      cd exercises

      Download the file below (Day1-v2.tar) to your G4 virtual machine using firefox.

      Note: Don't open it - just save it (in Downloads)

      tar xf ~/Downloads/Day1-v2.tar
      ls

      Then check it more:
      cd day1
      ls

      Speakers: Gabriele Cosmo (CERN), John Apostolakis (CERN)
    • 10:30 AM 10:50 AM
      Break 20m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 10:50 AM 11:20 AM
      Describing your detector - Concepts 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Gabriele Cosmo (CERN)
    • 11:20 AM 12:20 PM
      Hands on: Adding volumes to the world 1h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: Gabriele Cosmo (CERN), John Apostolakis (CERN)
    • 12:20 PM 12:45 PM
      Questions & Answers plus Homework 25m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 12:45 PM 1:00 PM
      Adjourn 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 2:00 PM 6:00 PM
      Home work 4h
    • 9:00 AM 9:30 AM
      Review of homework 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      • Follow-up concepts from homework - extended concepts
      • Reset set-up of hands-on
      Speakers: Gabriele Cosmo (CERN), John Apostolakis (CERN)
    • 9:30 AM 10:30 AM
      Visualisation - lecture & hands-on 1h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      • Visualise your detector geometry

      Brief overview and hands-on exercises

      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN)
    • 10:30 AM 10:45 AM
      Break 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 10:45 AM 11:45 AM
      Materials - lecture & hands-on 1h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      • Definition of materials and association to detector volumes
      Speaker: Vladimir Ivantchenko (CERN)
    • 11:45 AM 12:45 PM
      Generation of primaries - lecture & hands-on 1h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Vladimir Ivantchenko (CERN)
    • 12:45 PM 1:00 PM
      Adjourn 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 2:00 PM 6:00 PM
      Home work 4h
    • 9:00 AM 9:30 AM
      Review of homework - questions & answers 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN), Vladimir Ivantchenko (CERN)
    • 9:30 AM 10:00 AM
      Extracting information - part 1: User Actions 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Mihaly Novak (CERN)
    • 10:00 AM 10:45 AM
      Hands on 45m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      • Finding information in G4Step, G4Track
      • Creating Sensitive Detector ProcessHits() method that extract energy deposit
      • Alternative method: Built-in scorer
      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN), Vladimir Ivantchenko (CERN)
    • 10:45 AM 11:00 AM
      Coffee break 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 11:00 AM 12:15 PM
      Hands on (continued) 1h 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      • Using actions to collect total energy and track length

      • Alternative: using sensitive detector to collect total energy

      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN)
    • 12:15 PM 12:45 PM
      Extracting information: Part 2 - scoring and hits 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Overview of sensitive detectors and built-in scorers.

      Speaker: John Apostolakis (CERN)
    • 12:45 PM 1:00 PM
      Adjourn 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 2:00 PM 6:00 PM
      Home work 4h
      • Extend to divide energy deposition into slices (along thickness)
      • Tracker sensitive detector (store dE, x, y, z)
      • UI commands for similar functionality (optional)
      • Score via stepping action (optiona)
    • 9:00 AM 9:30 AM
      Review of homework - questions & answers 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN)
    • 9:30 AM 11:30 AM
      Messengers - how to use them and to create one 2h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Lecture (overview)

      Hands-on exercise

      Speaker: Mihaly Novak (CERN)
    • 11:30 AM 11:45 AM
      Coffee break 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 11:45 AM 12:45 PM
      Electromagnetic physics 1h Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Lecture (overview)

      Hands-on exercise

      Speaker: Vladimir Ivantchenko (CERN)
    • 12:45 PM 1:30 PM
      Installing Geant4 on your system (Optional) 45m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      A short presentation about installing Geant4 on your own system.
      Hands-on help to overcome potential installation issues you face.

    • 2:00 PM 6:00 PM
      Home work 4h
      • Continue one of the aspects
      • Study an extended example
    • 9:00 AM 5:00 PM
      No Course 8h
    • 9:00 AM 5:00 PM
      No Course 8h
    • 9:00 AM 9:20 AM
      Review of homework 20m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: Alberto Ribon (CERN), John Apostolakis (CERN), Vladimir Ivantchenko (CERN)
    • 9:20 AM 10:10 AM
      Hadronic physics 50m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Alberto Ribon (CERN)
    • 10:10 AM 10:40 AM
      Defining / using magnetic field 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: John Apostolakis (CERN)
    • 10:40 AM 10:55 AM
      Coffee break 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 10:55 AM 11:40 AM
      Hands-on: magnetic field 45m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: John Apostolakis (CERN)
    • 11:40 AM 12:30 PM
      Multi-threading 50m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: John Apostolakis (CERN)
    • 12:30 PM 1:00 PM
      Followup topics - questions & answers 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Extension of existing concepts

      Speakers: Alberto Ribon (CERN), Gabriele Cosmo (CERN), John Apostolakis (CERN), Mihaly Novak (CERN), Vladimir Ivantchenko (CERN)
    • 1:00 PM 1:15 PM
      Adjourn 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland