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
Organised by

CERN Technical Training

Geant4 Training 2021
Surveys
Questionnaire about "Getting Started with Geant4 course", May 2021
    • 09:00 09:10
      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)
    • 09:10 09:30
      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)
    • 09:30 10:30
      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 10:50
      Break 20m Zoom

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Gabriele Cosmo (CERN)
    • 11:20 12:20
      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 12:45
      Questions & Answers plus Homework 25m Zoom

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 14:00 18:00
      Home work 4h
    • 09:00 09:30
      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)
    • 09:30 10:30
      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 10:45
      Break 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 10:45 11:45
      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 12:45
      Generation of primaries - lecture & hands-on 1h Zoom

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 14:00 18:00
      Home work 4h
    • 09:00 09:30
      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)
    • 09:30 10:00
      Extracting information - part 1: User Actions 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Mihaly Novak (CERN)
    • 10:00 10:45
      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 11:00
      Coffee break 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 11:00 12:15
      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 12:45
      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 13:00
      Adjourn 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 14:00 18:00
      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)
    • 09:00 09:30
      Review of homework - questions & answers 30m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN)
    • 09:30 11:30
      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 11:45
      Coffee break 15m Zoom

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Lecture (overview)

      Hands-on exercise

      Speaker: Vladimir Ivantchenko (CERN)
    • 12:45 13:30
      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.

    • 14:00 18:00
      Home work 4h
      • Continue one of the aspects
      • Study an extended example
    • 09:00 17:00
      No Course 8h
    • 09:00 17:00
      No Course 8h
    • 09:00 09:20
      Review of homework 20m Zoom

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: John Apostolakis (CERN)
    • 12:30 13:00
      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)
    • 13:00 13:15
      Adjourn 15m Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland