Tutorials

Notes

Introduction

Installation tutorial

Novice level tutorial

Tutorial for GUI / Visualization / Analysis

Tutorial for physics processes

Advanced level tutorial


Notes

Tutorials will start at the novice level, aimed at users who are new to Geant4, and will then proceed to advanced lectures for experienced users. Refer to the workshop schedule for detailed dates and times.

Please be sure to register for the tutorials so that we can arrange for sufficient seating and study materials. Unregistered attendees may participate in the tutorials only as space permits.

SLAC will provide only a VERY SMALL number of dedicated computers for the tutorials. Attendees are strongly encouraged to bring their own laptop machines (laptops are preferable in any case since the user will then go home with Geant4 software already installed). Power and DHCP connections (wireless and wired) will be readily available.

An installation CD will be provided with the latest versions of all required physics software including Geant4, CLHEP, and some GUI/Visualization/Analysis tools. But users are expected to arrive with an appropriate C++ compiler on their laptop as follows:

Linux
RedHat 6.1 or 6.2 with gcc-2.95.2 (or 2.95.3)
RedHat 7.2 with gcc-2.96-98
Windows
Windows NT or 2000 with VisualC++ 6.0 or later

Linked lecture notes are very preliminary at this moment. We expect many updates/modification by the begining of the workshop.


Introduction

Welcome
Feb. 18th (Mon) 9:00 - 9:20
Makoto Asai (SLAC)
Welcome
Structure of the tutorials
Information

General introduction to Geant4
Feb. 18th (Mon) 9:20 - 9:40
John Apostolakis (CERN)
Scope of Geant4
Geant4 collaboration
User support


Installation tutorial

Installation of Geant4
Feb. 18th (Mon) 9:40 - 10:30
Gabriele Cosmo (CERN), Takashi Sasaki (KEK)
Installation of CLHEP and Geant4 libraries
Environment variables, make files
Making an executable

Installation of Visualization/GUI/Analysis tools
Feb. 18th (Mon) 11:00 - 11:45
John Allison (Manchester), Tony Johnson (SLAC), Joseph Perl (SLAC)
Introduction of available packages
Installation of Visualization/GUI/Analysis packages
Environment variables for Visualization/GUI/Analysis packages

Installation workout
Feb. 18th (Mon) 11:45 - 14:00
Gabriele Cosmo (CERN), Takashi Sasaki (KEK), Makoto Asai (SLAC),
John Allison (Manchester), Tony Johnson (SLAC), Joseph Perl (SLAC)
Because of National holiday, the SLAC cafeteria will be closed.
Sandwich and beverage catering will be arranged.
Attendees are expected to try the installation.


Novice level tutorial

Getting started
Feb. 18th (Mon) 14:00 - 14:50
Makoto Asai (SLAC)
Structure of Geant4 toolkit
Basic concepts of run, event, track, step, trajectory, hit, digit, etc. and corresponding classes
Execution flow and states in Geant4
Manager classes in Geant4
main()
User initialization classes
User action classes

Primary particle generation
Feb. 18th (Mon) 14:50 - 15:10
Makoto Asai (SLAC)
G4VPrimaryGeneratorAction class
G4ParticleGun, G4HEPEvtInterface
General particle source

Material
Feb. 18th (Mon) 15:10 - 15:30
Michel Maire (IN2P3)
Unit system
Definition of material, element, isotope
Material table

Geometry description
Feb. 18th (Mon) 16:00 - 17:00
Gabriele Cosmo (CERN)
Concepts ofG4LogicalVolume, G4VPhysicalVolume : Placements, parameterised volumes, replicas
Concept of G4VSolid : CSG, BREP, Boolean solids
Optimization of geometry : Voxelization and "smartlessness"
Concept of G4VTouchable

Magnetic field
Feb. 18th (Mon) 17:00 - 17:30
John Apostolakis (CERN)
How to define magnetic field
Integration of the field

Detector sensitivity
Feb. 18th (Mon) 17:30 - 18:30
Makoto Asai (SLAC)
Sensitive detector
Hit and HitsCollection
Readout geometry

Documents, user forum and user supports
Feb. 19th (Mon) 18:30 - 19:00
Dennis Wright (SLAC)
Users guides
Source code browser
User forum
Geant4 Web sites and mailing list
User support

User commands
Feb. 19th (Tue) 9:00 - 10:00
Makoto Asai (SLAC)
Built-in commands
Macro file
Alias
User-defined commands
G4cout, G4cerr, G4endl


Tutorial for GUI / Visualization / Analysis

Visualization/GUI/Analysis (Part I)
Feb. 19th (Tue) 10:00 - 10:30
John Allison (Manchester)
How to use Visualization/GUI packages

Visualization/GUI/Analysis (Part II) (PowerPoint file)
Feb. 19th (Tue) 11:00 - 12:30
John Allison (Manchester), Tony Johnson (SLAC), Joseph Perl (SLAC)
Demonstration of Visualization/GUI/Analysis packages


Tutorial for physics processes

Physics process in general
Feb. 19th (Tue) 14:00 - 15:00
Marc Verderi (IN2P3)
G4Track, G4DynamicParticle, G4ParticleDefinition
AtRest, AlongStep, PostStep processes
Production range cut
How to implement G4UserPhysicsList
User-defined limits

Transportation process
Feb. 19th (Tue) 15:00 - 15:30
John Apostolakis (CERN)
Navigator and transportation process
Safety
Propagation in field

Decay process
Makoto Asai (SLAC)
Feb. 19th (Tue) 15:50 - 16:10
Decay process in general
Pre-assigned decay channel
Radioactive decay

Standard electromagnetic processes
Feb. 19th (Tue) 16:10 - 17:10
Michel Maire (IN2P3)
Ionization, delta-ray, multiple scattering and their applicable energy ranges
Integral approach and step length

Common issues on EM and Hadronics processes
Vladimir Ivanchenck (CERN)
Feb. 19th (Tue) 17:10 - 17:30

Relativistic Particle Energy Loss
Feb. 19th (Tue) 17:30 - 18:00
Vladimir Grichine (CERN)
Optical, ultraviolet and X-ray Cerenkov radiation
Ionisation energy losses in the terms of extended PAI model
Transition radiation in complex radiators

Low energy electromagnetic processes
Feb. 20th (Wed) 9:00 - 10:00
Petteri Nieminen (ESA)
Processes and their applicability

Optical processes
Feb. 20th (Wed) 10:00 - 10:30
Peter Gumplinger (TRIUMF)
Available processes
Optical propeties

Muon-nucleous and other lepton-hadron processes
Feb. 20th (Wed) 11:00 - 11:30
Hans-Peter Wellisch (CERN)
Processes and their applicability

Hadronic processes (Part I)
Feb. 20th (Wed) 11:30 - 12:30
Hans-Peter Wellisch (CERN)
Cross-section and model
Available data set and models and their applicability

Hadronic processes (Part II)
Feb. 20th (Wed) 14:00 - 15:00
Hans-Peter Wellisch (CERN)
Use cases and alternatives


Advanced level tutorial

Adding new process
Feb. 20th (Wed) 15:00 - 15:30
Marc Verderi (IN2P3)
Process, model, particle change
Methods and return values in G4VProcess

Shower parameterization
Feb. 20th (Wed) 16:00 - 16:30
Marc Verderi (IN2P3)
Envelope geometry
Parameterization scheme
Direct coupling with sensitive detector

Geometry, advanced features
Feb. 20th (Wed) 16:30 - 17:15
Gabriele Cosmo (CERN)
Grouping volumes : G4AssemblyVolume
Reflection of solids and hierachies
User-defined solid
Interface to CAD systems
Debugging tools

Stack management, digitization and pile-up
Feb. 20th (Wed) 17:15 - 18:00
Makoto Asai (SLAC)
Stacks in Geant4
Suspended track, postponed track
Digitization
Treatment of multiple events


workshop local organizer