+ All Categories
Home > Documents > Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP...

Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP...

Date post: 21-Mar-2020
Category:
Upload: others
View: 11 times
Download: 0 times
Share this document with a friend
21
ICRM Monte Carlo Intercomparison 27-28 November 2006, Paris (France) Introduction to Geant4 Servicio Servicio de de Radiois Radiois ó ó topos topos Centro de Centro de Investigaci Investigaci ó ó n n , , Tecnolog Tecnolog í í a a e e Innovaci Innovaci ó ó n n (CITIUS) (CITIUS) Sevilla SPAIN Sevilla SPAIN S. Hurtado
Transcript
Page 1: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

1

ICRM Monte Carlo Intercomparison 27-28 November 2006, Paris (France)

Introduction to Geant4

ServicioServicio de de RadioisRadioisóótopostoposCentro de Centro de InvestigaciInvestigacióónn, , TecnologTecnologííaa e e InnovaciInnovacióónn (CITIUS)(CITIUS)

Sevilla SPAINSevilla SPAIN

S. Hurtado

Page 2: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

2

S. Hurtado – ICRM MC Intercomparison 06

What is GEANT4?

• Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++

• Geant4 is not only for HEP but cosmic rays physics, space science and medical applications.

• In order to meet such requirements a large degree of functionality and flexibility are provided for geometrical description, physics processes and visualization and analysis technologies.

1

Page 3: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

3

S. Hurtado – ICRM MC Intercomparison 06

• Geant4 consists of 17 categories independently developed and maintained.

• Geant4 kernel:

Controls run, event, track, step, hit and trajectory.Provides frameworks of geometrical modeling and physics processes.

The kernel

2

Page 4: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

4

S. Hurtado – ICRM MC Intercomparison 06

Run

• Conceptually, a run (G4Run class) is a collection of events which share the same detector conditions.

• As an analogy of the real experiment, a run of Geant4 starts with “Beam On”

• Within a run, the user cannot change– detector geometry– settings of physics processes (cross

section tables are calculated according materials and cut-off values)

– But multiple runs in the same job with different geometries, materials etc.

3

Page 5: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

5

S. Hurtado – ICRM MC Intercomparison 06

Event

• At beginning of processing, an event contains primary particles (G4PrimaryGeneratorAction); these primaries are pushed into a stack

• When the stack becomes empty, processing of an event is over

• G4Event class represents an event; it has following objects at the end of its processing– List of primary vertexes and particles– Trajectory collection (optional)– Hits collections– Digits collections (optional)

4

Page 6: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

6

S. Hurtado – ICRM MC Intercomparison 06

Generating Primaries particles• Interface to Event Generators

through ASCII file for generators supporting HEPEVTabstract interface to Lund++

• Various utilities provided within the Geant4 Toolkit

Particle Gunbeam of selectable particle type, energy etc.

GeneralParticleSourceprovides sophisticated facilities to model a particle sourceused to model space radiation environments, sources of radioactivity in underground experiments etc.

you can write your own, inheriting from G4VUserPrimaryGeneratorAction

• Particles

all PDG dataand more, for specific Geant4 use, like ions

5

Page 7: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

7

S. Hurtado – ICRM MC Intercomparison 06

Hits and Digi

• A sensitive detector creates hits using the information provided by the G4Step

• One can store various types of information in a hit– position and time of the step – momentum and energy of the

track – energy deposition of the step – geometrical information – etc.

• A Digi represents a detector output – e.g. ADC/TDC count, trigger signal

• A Digi is created with one or more hits and/or other digits

6

Page 8: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

8

S. Hurtado – ICRM MC Intercomparison 06

Geometry• CSG (Constructed Solid Geometries)

simple solids

• STEP extensionspolyhedra, spheres, cylinders, cones, toroids, etc.

• BREPS (Boundary REPresented Solids)volumes defined by boundary surfacesinclude solids defined by NURBS (Non-Uniform Rational

B-Splines)

CAD exchange: ISO STEP interfaceFields: of variable non-uniformity and differentiability

7

Page 9: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

9

S. Hurtado – ICRM MC Intercomparison 06

Materials

• Different kinds of materials can be defined

• isotopes (G4Isotope)• elements (G4Element)• molecules (G4Material)• compounds and mixtures (G4Material)

• Attributes associated:

• temperature• pressure• state• density

8

Page 10: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

10

S. Hurtado – ICRM MC Intercomparison 06

Physics

● Geant4 does not have any default particles or processes

– even for the particle transportation, one has to define it explicitly

● This is a mandatory and critical user’s task

● Derive your own concrete class from the G4VUserPhysicsList abstract base class

– define all necessary particles– define all necessary processes and assign them to proper

particles– define cuts (production thresholds in terms of range)

9

Page 11: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

11

S. Hurtado – ICRM MC Intercomparison 06

Data libraries

● Systematic collection and evaluation of experimental data from many sources worldwide

● Databases

– ENDF/B, JENDL, FENDL, CENDL, ENSDF,JEF, BROND, EFF, MENDL, IRDF, SAID, EPDL, EEDL, EADL, SANDIA, ICRU etc.

● Collaborating distribution centres

– NEA, LLNL, BNL, KEK, IAEA, IHEP, TRIUMF, FNAL, Helsinki, Durham, Japan etc.

● The use of evaluated data is important for the validation of physics results of the experiments

10

Page 12: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

12

S. Hurtado – ICRM MC Intercomparison 06

Standard EM Physics1 keV up to O(100 TeV)1 keV up to O(100 TeV)

Muonso ionizationo bremsstrahlungo e+e- pair production

Gammaso photo-electric effecto Compton scatteringo electron, muon pair production

Charged hadronso Ionization

All charged particleso multiple scatteringo transition radiationo scintillationo Cerenkov radiation

Electrons/Positronso Ionization and delta ray productiono Bremsstrahlungo e+e- annihilationo synchrotron radiation

11

Page 13: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

13

S. Hurtado – ICRM MC Intercomparison 06

Low Energy Physicse,e,γγ down todown to 250/100 eV250/100 eVEGS4, ITS to 1 keVEGS4, ITS to 1 keVGeant3 to 10 keVGeant3 to 10 keV

• Hadron and ion models based on Ziegler and ICRU data and parameterisations

• Based on EPDL97, EEDL and EADL evaluated data libraries

● Atomic relaxation (fluorescence and auger emission)

Electrons/Positronso Ionization and delta ray productiono Bremsstrahlung

Gammaso photo-electric effecto Compton scatteringo Polarized Compton scatteringo Pair productiono Rayleigh scattering

Charged hadrons and ionso Ionization and delta ray

production

PENELOPE Physics

12

Page 14: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

14

S. Hurtado – ICRM MC Intercomparison 06

Hadronic Physics

• Wide variety of models – the most complete hadronic

simulation kit on the market– alternative and

complementary models – it is possible to mix-and-

match, with fine granularity– data-driven, parameterised

and theoretical models

• Consequences for the users– no more confined to the black

box of one package– the user has control on the

physics used in the simulation, which contributes to the validation of experiment’s results

• Evaporation phase• Low energy range, pre-equilibrium, O(100 MeV)• Intermediate energy range, O(100 MeV) to O(5 GeV), intra-nuclear transport• High energy range, hadronic generator régime

Theory-driven models

Parameterised and data-driven modelsbased on experimental data

13

Page 15: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

15

S. Hurtado – ICRM MC Intercomparison 06

Radioactive Decay Module

● Handles α, β-, β+, ν and anti-ν, de-excitation γ-rays– can follow all the descendants of the decay chain– can apply variance reduction schemes to bias the decays to occur

at user-specified times of observation

● Branching ratio and decay scheme data based on the Evaluated Nuclear Structure Data File (ENSDF)

● Applications:– underground background– backgrounds in spaceborne γ-ray and X-ray instruments– radioactive decay induced by spallation interactions– brachytherapy– etc.

14

Page 16: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

16

S. Hurtado – ICRM MC Intercomparison 06

Event Biasing

● Geant4 provides facilities for event biasing

● The effect consists in producing a small number of secondaries, which are artificially recognized as a huge number of particles by their statistical weights

● Event biasing can be used, for instance, for the transportation of slow neutrons or in the radioactive decay simulation

● Various variance reduction techniques available

15

Page 17: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

17

S. Hurtado – ICRM MC Intercomparison 06

Cuts per Region

● Geant4 has had a unique production threshold (‘cut’) expressed in length (i.e. minimum range of secondary), but energy cuts (particles are tracked down to a zero range/kinetic energy)

– for all volumes– possibly different for each particle

New functionality– enabling the tuning of production thresholds at the level of a

sub-detector, i.e. region– cuts are applied only for gamma, electron and positron, and

only for processes which have infrared divergence

Geant3 (energy cut)Ecut = 450 keV

Geant4 (range cut) Rcut= 1.5 mmcorresponds to Ecut in liq.Ar= 450keV

Ecut in Pb= 2 MeV

500 MeV/c proton in liq.Ar (4mm) / Pb (4mm) sampling calorimeter

16

Page 18: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

18

S. Hurtado – ICRM MC Intercomparison 06

User Interface● Two phases of user user actions

– setup of simulation– control of event generation and processing

● User Interface category separated from command interpreter – command-line (batch and terminal)– GUIs (X11/Motif, GAG, MOMO, OPACS, Java)

● Automatic code generation for geometry and physics through a GUI– GGE (Geant4 Geometry Editor)– GPE (Geant4 Physics Editor)

17

Page 19: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

19

S. Hurtado – ICRM MC Intercomparison 06

Visualization

• Control of several kinds of visualisation• detector geometry• particle trajectories• hits in the detectors

• Various drivers• OpenGL• OpenInventor• X11• Postscript• DAWN• OPACS• HepRep• VRML…

18

Page 20: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

20

S. Hurtado – ICRM MC Intercomparison 06

Analysis tools

● Through AIDA (Abstracts Interfaces for Data Analysis)● Tools for analysis compliant with AIDA interfaces

currently are:– Anaphe / PI – JAS – Open Scientist Lab– ROOT

19

Page 21: Introduction to Geant4What is GEANT4? • Geant4, successor of GEANT3, is a public toolkit for HEP experiments using Object-Oriented environment and written in C++ • Geant4 is not

21

S. Hurtado – ICRM MC Intercomparison 06

Performance

Time (s)particlesGeometry

117.2955.8

40 keV-106

3000 keV-106

Ge detector+

sample

57.9406.6

40 keV-106

3000 keV-106

Ge crystal

GEANT4 v8.1 GEANT4 v8.1 –– SUSE Linux 10 SUSE Linux 10 –– AMD AMD AthonAthon 64 3700+64 3700+

20


Recommended