Session 7

Multithreading, Scoring II, Geometry II (1)

Objectives

  • Session focusing on Multi-Threading (MT)
    • Explain what is MT in general
    • Expose the benefit and issues specific to MT
    • Explain the MT scheme adopted by Geant4
    • Explain how to make a Geant4 MT compliant
  • Present ready-to use Geant4 scoring tools: scorers, command-based scoring
  • Expose how to store and retrieve a geometry from file

Presentations

  • Multithreading 1 ( slides )

    • What is a thread, Why multi-threading, Multi-threading in Geant4, Multi-threading Geant4 application
  • Multithreading 2, 3

    • What is thread-safety, Geant4 MT utilities (slides)
    • Event data reduction, Migration of a sequential application to MT, Results with Geant 10.2 (reproducibilty, scalability, memory reduction), integration with external frameworks (slides)
  • Scoring 2 ( slides )

    • Geant4 scorers, Command-based scoring, Score ntuple writer
  • Geometry 2: Persistency ( slides)

    • Geometry persistency (ASCII text models, GDML, Importing geometries from CAD)

Hands-On

  • Migrate Geant4 application to MT
  • Get experience with Geant4 multi-threading
  • Inspect Root output, using TChain
  • Get experience with a race condition
  • Export/import geometry in GDML