User Documents and Examples

Slides:



Advertisements
Similar presentations
User Documents and Examples II John Apostolakis Most slides from Dennis Wright’s talk at SLAC Geant4 Tutorial, May 2007 Geant4 V8.3.
Advertisements

Advanced Neutron Spectrometer (ANS) Geant4 Simulations
Stefan Roesler SC-RP/CERN on behalf of the CERN-SLAC RP Collaboration
Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
HEP Experiments Detectors and their Technologies Sascha Marc Schmeling CERN.
Parameterized Shower Simulation in Lelaps: a Comparison with Geant4 Daniel Birt, Amy Nicholson.
User Documents and Examples II KOI, Tatsumi Geant4 V9.4.p01Geant4 Tutorial at ORNL 10-March
Introduction to Geant4 Part I – General Introduction Makoto Asai (SLAC) Takashi Sasaki (KEK) March 22 nd, NIRS.
10 January 2011 Geant4 Tutorial Introduction J. Perl 1 Geant4 Winter Course Tutorial Texas A&M University January 2011 A five day hands-on course.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
Highlights of latest developments ESA/ESTEC Makoto Asai (SLAC)
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.
Geant4 Documentation and User Support Geant4 Users Workshop February 2002 Dennis Wright (SLAC)
1 M.G. Pia et al. The application of GEANT4 simulation code for brachytherapy treatment Maria Grazia Pia INFN Genova, Italy and CERN/IT
Geant4 application to X and Gamma-ray Telescopes B.Ferrero Merlino 1, D.Favretto 2, R. Giannitrapani 2, F.Longo 2, R.Nartallo 3, P.Nieminen 3, A.Pfeiffer.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
14 Overview of Geant4 Examples Geant4 Tutorial 8-10 March 2004 Dennis Wright (SLAC)
St. Petersburg State University. Department of Physics. Division of Computational Physics. COMPUTER SIMULATION OF CURRENT PRODUCED BY PULSE OF HARD RADIATION.
G EANT highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration.
Validation and TestEm series Michel Maire for the Standard EM group LAPP (Annecy) July 2006.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
SHMS Optics and Background Studies Tanja Horn Hall C Summer Meeting 5 August 2008.
Monte Carlo Comparison of RPCs and Liquid Scintillator R. Ray 5/14/04  RPCs with 1-dimensional readout (generated by RR) and liquid scintillator with.
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
Physics I: Physics Lists Geant4 Tutorial at Jefferson Lab 10 July 2012 Dennis Wright (SLAC) Geant4 9.6 beta.
S. Guatelli, CPS Innovations, Knoxville, 13 th -21 st January Brachytherapy exercise.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT
User Documents and Examples II Geant4 Tutorial at Marshall Space Flight Center 18 April 2012 Dennis Wright (SLAC) Geant4 V9.5.
A Short Course on Geant4 Simulation Toolkit How to learn more?
CHEP06, Mumbai-India, Feb 2006V. Daniel Elvira 1 The CMS Simulation Validation Suite V. Daniel Elvira (Fermilab) for the CMS Collaboration.
ALCPG Software Framework Overview & Updates Jeremy McCormick, SLAC SiD Group ALCPG 2009.
Computing Performance Recommendations #13, #14. Recommendation #13 (1/3) We recommend providing a simple mechanism for users to turn off “irrelevant”
1 Status and Plans for Geant4 Physics Linear Collider Simulation Workshop III 2-5 June 2004 Dennis Wright (SLAC)
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
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.
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)
25 Oct 2007Jeremy McCormick, ALCPG MC1 ALCPG Monte Carlo Framework.
CaTS and Dual Readout. CaTS – Calorimeter and Tracker Simulation Describe detector in gdml file (xml like) Define.
N 0 primary photons generated N d primary photons detected Determination of the photon mass attenuation coefficients Check on ParentID( ) Energy value.
F. Romano * on behalf of the Advanced Examples Working Group * Istituto Nazionale di Fisica Nucleare, Laboratori Nazionali del Sud, Catania, Italy Advanced.
Geant4 CPU performance : an update Geant4 Technical Forum, CERN, 07 November 2007 J.Apostolakis, G.Cooperman, G.Cosmo, V.Ivanchenko, I.Mclaren, T.Nikitina,
Update G4builder issues Talk written almost entirely by Stan Bentvelsen with a few updates from Christopher Lester ATLAS G4 Workshop December 2000 CAMBRIDGE.
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.
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
2011 Development Plan Makoto Asai (SLAC PPA/SCA) on behalf of the Geant4 Collaboration March 3 rd, Geant4 Technical Forum.
Geant4 Training 2003 A Short Course on Geant4 Simulation Toolkit How to learn more? The full set of lecture notes of this Geant4.
Alex Howard, CERN Slide 1 Simulating Dark Matter Detectors (a.k.a. DMX Underground Advanced Example) 1.Dark Matter detectors 2.Implementation within Geant4.
Pedro Brogueira 1, Patrícia Gonçalves 2, Ana Keating 2, Dalmiro Maia 3, Mário Pimenta 2, Bernardo Tomé 2 1 IST, Instituto Superior Técnico, 2 LIP, Laboratório.
A Short Course on Geant4 Simulation Toolkit Introduction
Geant4 for (Medical) Education “ Geant4 for (Medical) Education ” Toolkit and Courseware Geant4 Medical Workshop in Lyon 21 July 2006 Universite-Lyon I.
Alex Howard, Imperial College Slide 1 July 2 nd 2001 Underground Project UNDERGROUND PROJECT – Overview and Goals Alex Howard Imperial College, London.
Workshop Geant4 Presentation September 14 th, 2007 FASTRAD V3.
Gunter Folger / CERN MC-PAD, DESY/Hamburg Jan 2010
Background simulations: update and simulations of absorbed dose
A Short Course on Geant4 Simulation Toolkit How to learn more?
User Documents and Examples I
CMS requirements for G4 TF on
Physics I: Physics Lists
The Hadrontherapy Geant4 advanced example
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?
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
GAMOS tutorial Plug-in’s Exercises
Advanced Examples Alex Howard, Imperial College, UK
Use of GEANT4 in CMS The OSCAR Project
Simulation in Experiments searching for rare events
Presentation transcript:

User Documents and Examples Geant4 Mini-Tutorial Hebden Bridge 15 September 2007 Joseph Perl, SLAC (basically stolen from two talks by Dennis Wright)

Outline User Documents Novice Examples User Aids 2 Application Developers' Guide Installation Guides Novice Examples Simple: trivial detector with non-interacting particles Detailed: complex detector with full physics User Aids LXR source code browser HyperNews User Forum 2

New Geant4 Web Pages http://geant4.web.cern.ch/geant4 3

Detailed Installation Guide URL: geant4.web.cern.ch/geant4/UserDocumentation/ UsersGuides/InstallationGuide/html/index.html List of required software C++ compiler, CLHEP, GNU make, Geant4 toolkit choices for visualization software How to install on Linux Tips for installing on Windows 4

Step-by-Step Guides for Single-User Installation URL: geant4.slac.stanford.edu/installation For single user installation on: Linux Macintosh OSX Windows 5

Application Developers Guide URL: geant4.web.cern.ch/geant4/UserDocumentation/ UsersGuides/ForApplicationDeveloper/html/index.html Introduces new users to the Geant4 toolkit Describes the most useful tools Describes how to set up and run a simulation application Intended as an overview of the toolkit, not an exhaustive treatment. For more details: Physics Reference Manual Toolkit Developers Guide 6

Toolkit Developers' Guide URL: geant4.web.cern.ch/geant4/UserDocumentation/ UsersGuides/ForToolkitDeveloper/html/index.html A description of the object-oriented design of the Geant4 toolkit class diagrams (some UML, some other) philosophy behind design choices A guide for users who want to extend the functionality of Geant4 adding new solids, modifying the navigator, creating new fields, etc. 7

Physics Reference Manual URL: geant4.web.cern.ch/geant4/UserDocumentation/ UsersGuides/PhysicsReferenceManual/html/ PhysicsReferenceManual.html A reference for toolkit users and developers who wish to consult the underlying physics of an interaction Presents the theoretical formulation, model or parameterization of the physics interactions provided by Geant4 8

Novice Example N01 Fixed geometry: Ar gas mother volume with Al cylinder and Pb block with Al slices Incident particle is a geantino – no physics interactions No magnetic field and only the transportation process is enabled Hard coded batch job and verbosity 9

Novice Example N02 Pb target, Xe gas chambers (parameterized volumes) All EM processes + decay included for , charged leptons and charged hadrons Detector response Trajectories and chamber hit collections may be stored Visualization of detector and event Command interface introduced Can change target, chamber materials, magnetic field, incident particle type, momentum, etc. at run time 10

Novice Example N03 Sampling calorimeter with layers of Pb absorber and liquid Ar detection gaps (replicas) Exhaustive material definitions Command interface Randomization of incident beam All EM processes + decay, with separate production cuts for , e+, e- (use for shower studies) Detector response: E deposit, track length in absorber and gap Visualization tutorial Random number seed handling 11

Novice Example N04 12 Simplified collider detector Magnetic field all kinds of volume definitions Magnetic field PYTHIA primary event generator Higgs decay by Z0, lepton pairs Full set of EM + hadronic processes Should use updated hadronic physics lists Event filtering by using stacking mechanism 12

Novice Example N05 Fast simulation with parameterized showers EM showers (derived from G4VFastSimulationModel) Pion showers (for illustration only – not used) EM physics only Use of G4FastSimulationManagerProcess Simplified collider detector geometry Drift chamber EM, hadronic calorimeter Ghost volume 13

Novice Example N06 14 Water Cerenkov detector with air “bubble” Materials Specification of optical properties Specification of scintillation spectra Physics Optical processes Generation of Cerenkov radiation, energy loss collected to produce scintillation 14

Novice Example N07 15 3 simplified sandwich calorimeters (Pb, Al, Ar) Cylindrical parallel world for scoring Run-based (as opposed to event-based) hit accumulation Changing geometries without rebuilding world Setting different secondary production cuts for each calorimeter using G4Region 15

Extended Examples 16 Testing and validation of processes and tracking Electromagnetic (TestEm1 – TestEm10) Field (field01 – field03) Geometry (olap) Demonstration of Geant4 tools Analysis (A01) ,event generator, g3tog4, persistency Biasing (B01-B03), optical, run and event Extensions of Geant4 GDML Medical (DICOM files) Parallel computing (ParN02, ParN04) 16

Optical Photons 17

Gamma Therapy 50 MeV electrons incident on target produce gammas Charged particles removed from beam, gammas irradiate a water phantom Gamma beam properties are scored in a check volume in front of the phantom Scoring inside the phantom to record radial radiation dose distribution 18

Parallel Computing 19 Introduction to parallel computing using TopC parallel version of novice example N02 parallel version of novice example N04 Parallelized version of brachytherapy advanced example application can be run parallel or sequential uses Diane (DIstributed ANalysis Environment) 19

DICOM h Uses Geant4 interface to read DICOM files uses inforamtion to construct phantom geometry displays image with Geant4 visualization h 20

GDML Example Identical to example N03 (sampling calorimeter), except GDML used for geometry description GDML schema supports: Numerical expressions, constants, rotations, translations, units Materials CSG + boolean solids Geometrical structure (volumes, placements) Uses Xerxes-C XML parser (linux only) Installation instructions included in example 21

Advanced Examples HEP detectors Neutron Shielding CMS hadron calorimeter test beam ATLAS Forward Liquid Ar Calorimeter LHCb Rich test beam Neutron Shielding Medical (brachytherapy) Space applications Gamma ray telescope X-ray telescope X-ray fluorescence Underground physics (liquid Xe dark matter detector) 22

Brachytherapy Example Physics Low energy EM processes for e-,  Standard EM for e+ Sensitive detector “phantom” consisting of soft tissue Analysis Energy deposition stored in n-tuple Store primary particle energy spectra 1D, 2D histograms of energy deposition 23

Gamma Ray Space Telescope Use of messengers to change geometry interactively Modular physics list Particle generator with monochromatic or power law spectrum Readout geometry of Si tracker strips Hits collection stored in ascii file Simple digitization using hits collection to produce digi collections . 24

X-ray Telescope (1) Simple model of x-ray telescope to study proton damage Geometry: single shell nickel-gold mirror two cones for paraboloid, two for hyperboloid sections aluminum baffle main telescope: carbon fiber tube, aluminum end caps 25

X-ray Telescope (2) also e+, e-, gamma physics processes Main physics process is multiple scattering of protons from mirror surfaces also e+, e-, gamma physics processes General particle source many methods available to customize event generation Visualization of proton tracks AIDA interface for analysis energy distribution histograms of protons reaching detector 26

Underground Physics Realistic example of underground dark matter search experiment Detailed geometry, including optional file describing laboratory Physics Low energy, standard EM Optical processes Radioactive decay General particle source Many macro files for various run conditions . Mirror Xe gas Xe liquid Grids PMT 27

Radiation Protection for Astronauts Evaluate dose to astronauts in interplanetary radiation environment in space vehicles in lunar surface habitats User can calculate dose to a water phantom due to galactic cosmic rays solar particle events Different shielding configurations available inflatable sphere with water shielding habitat buried in lunar soil 28

LXR Code Browser URL: www-geant4.kek.jp/LXR/ Search entire Geant4 source tree by filename (e.g. G4Track.hh) text identifier Results: a source file fully hyper-linked to classes and methods tells where classes and methods are defined also where they are referenced 29

HyperNews User Forum URL: geant4-hn.slac.stanford.edu:5090/ Geant4-HyperNews/index See also top of Geant4 home page Discuss problems with other users, post questions for experts, etc. 18 forums roughly based on Geant4 categories 3 forums for specific application areas New forums may be requested by users Note search engine on top of main page To join: click on “Membership” at bottom of page and fill out form 30

Summary Installation and Application Developers Guides tell you how to get started building and running a simulation Toolkit Developers' Guide for OO design and extension of toolkit Physics Reference Manual for the underlying physics of Geant4 There are 7 novice examples ranging from very easy to complex Can use these as templates for your application Many extended examples Users' Guide for Application Developers, Chapter 9.2 Code in geant4/examples/extended 15 advanced examples Users’ Guide for Application Developers, Chapter 9.3 Code in geant4/examples/advanced A cross reference browser (LXR) is available for studying source code A user forum is available for sharing ideas, asking questions 31