A Short Course on Geant4 Simulation Toolkit Introduction

Slides:



Advertisements
Similar presentations
Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
Advertisements

Maria Grazia Pia, INFN Genova 1 Part V The lesson learned Summary and conclusions.
Development of an Interface for Using EGS4 Physics Processes in Geant4 K.Murakami (KEK) 27/Mar./
Introduction to Geant4 Part I – General Introduction Makoto Asai (SLAC) Takashi Sasaki (KEK) March 22 nd, NIRS.
Hadronic and Electromagnetic Physics: special applications V.Ivanchenko BINP, Novosibirsk, Russia & CERN, Geneve, Switzerland.
Basic Measurements: What do we want to measure? Prof. Robin D. Erbacher University of California, Davis References: R. Fernow, Introduction to Experimental.
Introduction to Hadronic Final State Reconstruction in Collider Experiments Introduction to Hadronic Final State Reconstruction in Collider Experiments.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
Development of an Interface for Using EGS4 Physics Processes in Geant4 K.Murakami (KEK) 27/Mar./
14 Overview of Geant4 Examples 2 nd Finnish Geant4 Workshop 6-7 June 2005 Dennis Wright (SLAC)
14 User Documents and Examples II SLAC Geant4 Tutorial 17 May 2007 Dennis Wright Geant4 V8.3.
Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)
The Monte Carlo Method: an Introduction Detlev Reiter Research Centre Jülich (FZJ) D Jülich
1 M.G. Pia et al. The application of GEANT4 simulation code for brachytherapy treatment Maria Grazia Pia INFN Genova, Italy and CERN/IT
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
Stopping Power The linear stopping power S for charged particles in a given absorber is simply defined as the differential energy loss for that particle.
Lecture 12 Monte Carlo Simulations Useful web sites:
Workshop on Physics on Nuclei at Extremes, Tokyo Institute of Technology, Institute for Nuclear Research and Nuclear Energy Bulgarian Academy.
Geant4: Electromagnetic Processes 2 V.Ivanchenko, BINP & CERN
Sergey Ananko Saint-Petersburg State University Department of Physics
St. Petersburg State University. Department of Physics. Division of Computational Physics. COMPUTER SIMULATION OF CURRENT PRODUCED BY PULSE OF HARD RADIATION.
Lecture 1.3: Interaction of Radiation with Matter
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
Tools for Nuclear & Particle Physics Experimental Background.
Geant4 Electromagnetic Physics Introduction V.Ivanchenko, M.Maire, M.Verderi  Process interface  Physics categories  Electromagnetic physics  PhysicsList.
A Short Course on Geant4 Simulation Toolkit Introduction
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
Interactions of Neutrons
User Documents and Examples II Geant4 Tutorial at Marshall Space Flight Center 18 April 2012 Dennis Wright (SLAC) Geant4 V9.5.
Energy-Dispersive X-ray Microanalysis in the TEM Anthony J. Garratt-Reed Neil Rowlands.
Geant4 Event Biasing Marc Verderi, LLR (Heavily copied from Jane Tinslay, SLAC) June 2007.
A Short Course on Geant4 Simulation Toolkit How to learn more?
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
FLUKA dose and fluence simulations for CBM experiment I.Kadenko, O.Bezshyyko, V.Pluyko, V.Shevchenko National Taras Shevchenko University of Kiev.
NESTOR SIMULATION TOOLS AND METHODS Antonis Leisos Hellenic Open University Vlvnt Workhop.
Calorimeters Chapter 21 Chapter 2 Interactions of Charged Particles - With Focus on Electrons and Positrons -
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Interactions of Particles with Matter
Detector Monte-Carlo ● Goal: Develop software tools to: – Model detector performance – Study background issues – Calculate event rates – Determine feasibility.
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
Alex Howard, ETH, Zurich 13 th September 2012, 17 th Collaboration Meeting, Chartres 1 Geometrical Event Biasing Facility Alex Howard ETH, Zurich Geometrical.
Documentation Gunter Folger / CERN Geant4 School, Annecy 2008.
Geant4 Training 2006 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki Institute of Physics)
Towards comparisons between TFluka and TGeant3 ( within CbmRoot Framework) Denis Bertini (IT-GSI) Antonin Maire (IPHC Strasbourg)
Workshop On Nuclear Data for Advanced Reactor Technologies, ICTP , A. Borella1 Monte Carlo methods.
Geant4 on GPU prototype Nicholas Henderson (Stanford Univ. / ICME)
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial RadioTherapy Exercises Pedro Arce Dubois CIEMAT
Numerical Model of an Internal Pellet Target O. Bezshyyko *, K. Bezshyyko *, A. Dolinskii †,I. Kadenko *, R. Yermolenko *, V. Ziemann ¶ * Nuclear Physics.
Geant4 Training 2004 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Giuseppe Daquino (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki.
Maria Grazia Pia, INFN Genova and CERN1 Geant4 highlights of relevance for medical physics applications Maria Grazia Pia INFN Genova and CERN.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 1Probability, Bayes’ theorem 2Random variables and.
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
Detecting shielded nuclear contraband using muon tomography Judson Locke, William Bittner, Leonard Grasso, Dr. Kondo Gnanvo; Adviser: Dr. Marcus Hohlmann.
Geant4 Training 2003 A Short Course on Geant4 Simulation Toolkit How to learn more? The full set of lecture notes of this Geant4.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
Geant4 Simulation for KM3 Georgios Stavropoulos NESTOR Institute WP2 meeting, Paris December 2008.
A Short Course on Geant4 Simulation Toolkit Introduction
Alex Howard, Imperial College Slide 1 July 2 nd 2001 Underground Project UNDERGROUND PROJECT – Overview and Goals Alex Howard Imperial College, London.
A Short Course on Geant4 Simulation Toolkit Introduction
Gunter Folger / CERN MC-PAD, DESY/Hamburg Jan 2010
Methods of Experimental Particle Physics
A Short Course on Geant4 Simulation Toolkit How to learn more?
User Documents and Examples I
Professor S K Dubey,VSM Amity School of Business
Short Course Siena, 5-6 October 2006
A Short Course on Geant4 Simulation Toolkit Introduction
A Short Course on Geant4 Simulation Toolkit How to learn more?
A Short Course on Geant4 Simulation Toolkit How to learn more?
Presentation transcript:

A Short Course on Geant4 Simulation Toolkit Introduction http://cern.ch/geant4 The full set of lecture notes of this Geant4 Course is available at http://www.ge.infn.it/geant4/events/nss2003/geant4course.html

Main Subjects of This Lecture You will hear details of the toolkit after my talk: The main subjects of this lecture: Brief overview of basic concepts in the Monte Carlo simulation of particle interactions with matter Geant4 vision: scope, fundamental concepts

What is Geant4? A Monte Carlo software toolkit to simulate the passage of particles through matter. It is for detector simulation of research in High energy physics Nuclear physics Cosmic ray physics ATLAS/LHC It is also for application in Space science Radiological science Radiation background calculation etc CMS/LHC HIMAC/NIRS INTEGRAL/ESA

Detector Simulation - General General characteristics of a particle detector simulation program: You specify the geometry of a detector. Then the program automatically transports the particle you injected to the detector by simulating the particle interactions in matter based on the Monte Carlo method. The heart of the simulation The Monte Carlo method to simulate the particle interactions in matter

Chapter 1 Basic concepts in the Monte Carlo simulation of particle interactions with matter.

What is Monte Carlo Method? - 1 A method to search for solutions to mathematical problem using a statistical sampling with random numbers. This method was developed by Stanislaw Ulam while he committed the hydrogen bomb project at Los Alamos Laboratory after Word War II. Although the method is applied these days to a wide spectrum of problems, it is worth to know that it was developed by a mathematician who tried to solve a physics problem in hydrodynamics of radiation. Stanislaw Ulam 1909~1984

What is Monte Carlo Method? - 2 Historical example of the MC method is Buffon’s needle Throw a needle randomly on a sheet on which parallel lines with an equal distance are drawn. Counts the number of throwing which makes the needle crossing the parallel lines. You can get p by random throws. Georges Buffon (1707 ~ 1788) For

MC Simulation of Particle Interactions with Matter - 1 Basic concept : The exponential law probability of not having an interaction after a distance x probability to having an interaction between x and x+dx Number of target particles per unit volume Interaction cross section  Probability of no-interaction in dx  Probability of no-interaction up to x Probability distribution function = Exponential distribution Ref: W.R.Leo, “Techniques for Nuclear and Particle Physics Experiments”

MC Simulation of Particle Interactions with Matter - 2 Generation of interactions The probability of interaction, , between x ~ x+dx is : Probability Density Function (PDF) The cumulative distribution function (CDF) is Then you can generate an interaction using the inverse method: Uniform random number of [0,1]

MC Simulation of Particle Interactions with Matter - 3 Generation of interactions in heterogeneous matter ‘x’ has the dimension of ‘length’ and depends on material. Therefore the sampling depends on material. However, the following sampling is independent of material: Therefore we introduce the ‘mean free path’ l as Then we can sample in the material independent way by measuring the length in the unit of l. Number of Mean Free Path (NMFP)

Particle Transportation - Introduction A particle is transported in the stepwise manner. Example: Annihilation of the 8MeV positron in water positron Gamma #1 Gamma #2 Step

Particle Transportation: How to Determine a Step - 1 At the beginning of a step, the NMFP (Number of Mean Free Path) for each physics process, which is associated to the particle, is sampled by the material independent way. Example The positron has the following physics processes. For each of these processes, assigns NMFP by the exponential low of interactions. Bremsstrahlung NMFP = Nbrem Ionization NMFP = Nion Positron annihilation NMFP = Nanni

Particle Transportation: How to Determine a Step - 2 Using the cross-section in the material where the particle is currently in, converts the each NMFP to the physical length (PL): Example Current Position Of the particle Bremsstrahlung Ionization Positron annihilation PLbrem (Nbrem converted) PLion (Nion converted) PLion (Nanni converted) The process which has the minimum PL determines the step length. ‘Positron annihilation’ in the above example.

Particle Transportation - continued Transports the particle for the determined step. If the particle is still alive after the interaction, do the sampling again for all NMFPs, and continue the transportation. If the particle disappears after the interaction, then the transportation is terminated.

Scope and fundamental concepts Chapter 2 Geant4 vision: Scope and fundamental concepts

What Geant4 Can Do for You? Transports a particle step-by-step by taking into account the interactions with materials and external electro-magnetic field until the particle loses its kinetic energy to zero, disappears by an interaction, comes to the end of the simulation volume (end of the world). Provides a way the user intervenes the transportation process and grabs the simulation results at the beginning and end of transportation, at the end of each stepping in a transportation, at the time when the particle going into the sensitive volume of the detector, etc. These are called “User Actions”.

What You Have to Do for Geant4? Three indispensable information you have to prepare: Geometrical information of the detector Choice of physics processes Kinematical information of particles which go into the detector Auxiliary you have to prepare: Magnetic and electric field Actions you want to take when you intervene the particle transportation Actions you want to take when a particle goes into a sensitive volume of the detector etc.

Tools for Input Preparation Geant4 provides standard tools to help you to prepare input information. Multiple choices to describe the detector geometry Combining basic geometry elements (box, cylinder, trapezoid, etc) Representation by surface planes Representation by boolean operation, etc Standard way to define materials in the detector A large collection of examples to define various materials A set of wide variety of particles Standard elementary particles (electron, muon, proton,….) Unstable particles (resonances, quarks, …) Ions Exotic particles (geantino, charged geantino)

Choice of Physics Processes Geant4 provides a wide variety of physics models of particle interactions with matter you can select. Category of physics processes Standard electromagnetic processes Low energy electromagnetic processes Hadronic processes How to use physics processes A rich samples of Physics List provided with example applications. Recommended Physics List (educated guess) for hadronic.

Tools to Help Your Simulation User interface Interactive mode with character terminal or GUI Batch mode Visualization Trajectories of a particle and its all 2ndary Detector geometry Debugging Controllable verbose outputs from the kernel during the transportation Errors in the geometry definition, etc Data analysis

Minimum Software Knowledge to Use Geant4 C++ Geant4 is purely implemented in C++, therefore a basic knowledge of C++ is mandatory. C++ is a complex language, therefore you are not required to be a C++ expert Unix/Linux Unix/Linux is a standard working environment for Geant4, therefore a minimum knowledge/experience is required How to use basic unix command (cp, mv, rm, ……) How to “make” a C++ program. Windows? You can use Visual C++ Though still you need some knowledge of Unix (cygwin) for installation.

Additional Information of Geant4 Chapter 3 Additional Information of Geant4

Brief History of Geant4 Pre-R&D Phase R&D Phase 1993 Study of OO redesigning of GEANT3 both at CERN and KEK R&D Phase Dec. 1994 Submitted a R&D proposal to CERN – the birth of Geant4! Dec. 1995 The basic design and a prototype implementation completed The number of R&D members expanded to ~100 from 15countries 1996~1998 a-release, b-release Dec. 1998 Version1 released. The R&D phase finished Geant4 Collaboration Phase The Geant4 collaboration based on “MoU” started 2004 The 10th anniversary!

How It Has Been Developed Development based totally on the object-oriented software technology A pilot project (~10 years ago!) to move from the procedural to the object-oriented approach in HEP Benefit from experience and the algorithmic techniques accumulated in GEANT3. Avoid to reinvent the wheel Redesigned from scratch in OO Worldwide collaboration with distributed software development

Geant4 Collaboration Map 15 countries ~ 40 labs / universities ~ 100 members Member country Member institute