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
    • 1
      Welcome - Introduction 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)
    • 2
      What is Geant4 ? 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)
    • 3
      Hands-on: First look at virtual machine and one Geant4 application 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
      Break Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 4
      Describing your detector - Concepts Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Gabriele Cosmo (CERN)
    • 5
      Hands on: Adding volumes to the world Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: Gabriele Cosmo (CERN), John Apostolakis (CERN)
    • 6
      Questions & Answers plus Homework Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 12:45
      Adjourn Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 14:00
      Home work
    • 7
      Review of homework 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)
    • 8
      Visualisation - lecture & hands-on 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
      Break Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 9
      Materials - lecture & hands-on Zoom

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 14:00
      Home work
    • 11
      Review of homework - questions & answers Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speakers: John Apostolakis (CERN), Mihaly Novak (CERN), Vladimir Ivantchenko (CERN)
    • 12
      Extracting information - part 1: User Actions Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: Mihaly Novak (CERN)
    • 13
      Hands on 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
      Coffee break Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 14
      Hands on (continued) 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)
    • 15
      Extracting information: Part 2 - scoring and hits Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Overview of sensitive detectors and built-in scorers.

      Speaker: John Apostolakis (CERN)
    • 12:45
      Adjourn Zoom

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Lecture (overview)

      Hands-on exercise

      Speaker: Mihaly Novak (CERN)
    • 11:30
      Coffee break Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 18
      Electromagnetic physics Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland

      Lecture (overview)

      Hands-on exercise

      Speaker: Vladimir Ivantchenko (CERN)
    • 12:45
      Installing Geant4 on your system (Optional) 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
      Home work
      • Continue one of the aspects
      • Study an extended example
    • 09:00
      No Course
    • 09:00
      No Course
    • 19
      Review of homework Zoom

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

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

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
    • 22
      Hands-on: magnetic field Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: John Apostolakis (CERN)
    • 23
      Multi-threading Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland
      Speaker: John Apostolakis (CERN)
    • 24
      Followup topics - questions & answers 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
      Adjourn Zoom

      Zoom

      CERN

      1 Esplanade des Particules 1213 Meyrin, Switzerland