G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

Slides:



Advertisements
Similar presentations
Makoto Asai (SLAC) Geant4 Users SLAC Feb. 18 th, 2002 Getting Started.
Advertisements

Makoto Asai (SLAC) Geant4 Users CERN Nov. 15 th, 2002 Customizing Run Management.
Makoto Asai (SLAC) Geant4 Users CERN Nov. 11 th, 2002 Getting Started.
Makoto Asai (SLAC) Geant4 Users SLAC Feb. 18 th, 2002 Getting Started.
J. Tinslay 1, B. Faddegon 2, J. Perl 1 and M. Asai 1 (1) Stanford Linear Accelerator Center, Menlo Park, CA, (2) UC San Francisco, San Francisco, CA Verification.
A introduction Luciano Pandola INFN-LNGS Partially based on a presentation by G.A.P. Cirrone (INFN-LNS) and M.G. Pia (INFN-Ge) Queen’s University, Belfast.
Workshop on Physics on Nuclei at Extremes, Tokyo Institute of Technology, Institute for Nuclear Research and Nuclear Energy Bulgarian Academy.
INFSO-RI Enabling Grids for E-sciencE Gilda experiences and tools in porting application Giuseppe La Rocca INFN – Catania ICTP/INFM-Democritos.
Sergey Ananko Saint-Petersburg State University Department of Physics
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,
Physics I: Physics Lists Geant4 Tutorial at Jefferson Lab 10 July 2012 Dennis Wright (SLAC) Geant4 9.6 beta.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT
Summer Practice in JINR Mathematical modeling of high-energy particle beams in accelerators.
Basic Structure of the Geant4 Simulation Toolkit
A Short Course on Geant4 Simulation Toolkit How to learn more?
User Application Toolkit + User application toolkit Geant4 is a toolkit –i.e. you cannot “run” it out of the box –You must write.
User Application Luciano Pandola INFN-LNGS Partially based on a presentation by Maria Grazia Pia (INFN-Ge)
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,
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.
Maria Grazia Pia INFN Genova Salamanca, July 2002
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
Run and Event G4Run and G4RunManager In Geant4, the Run is the largest unit of simulation and it consist of a series of events Within a Run, the detector.
Geant4 Training 2006 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki Institute of Physics)
Workshop On Nuclear Data for Advanced Reactor Technologies, ICTP , A. Borella1 Monte Carlo methods.
Makoto Asai (SLAC) Getting Started MGP: added class diagram of basic user application.
17-19 Oct, 2007Geant4 Japan 2007 Geant4 Collaboration KEK/CRC 1.
Physics I: Physics Lists Puebla Geant4 Tutorial 15 June 2010 Dennis Wright Geant4 V9.3.p01.
Geant4 Training 2004 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Giuseppe Daquino (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 1Probability, Bayes’ theorem 2Random variables and.
Geant4 Training 2003 A Short Course on Geant4 Simulation Toolkit How to learn more? The full set of lecture notes of this Geant4.
A Short Course on Geant4 Simulation Toolkit Introduction
Workshop Geant4 Presentation September 14 th, 2007 FASTRAD V3.
A Short Course on Geant4 Simulation Toolkit Introduction
Gunter Folger / CERN MC-PAD, DESY/Hamburg Jan 2010
Interaction with the Geant4 kernel
Pablo Cirrone INFN-LNS
Pablo Cirrone INFN-LNS
Interaction with the Geant4 kernel
A Short Course on Geant4 Simulation Toolkit How to learn more?
User Documents and Examples I
Basics of a user application
Makoto Asai (SLAC) Geant4 Users CERN Nov. 11th, 2002
Physics I: Physics Lists
The n-3He Simulation Using Geant4
Introductory Course PTB, Braunschweig, June 2009
Short Course Siena, 5-6 October 2006
The Hadrontherapy Geant4 advanced example
A Short Course on Geant4 Simulation Toolkit Introduction
Geant4 Workshop 02 October 2002, CERN Hajime Yoshida
User Application
Introductory Course ORNL, May 2008
The n-3He Simulation Using Geant4
A Short Course on Geant4 Simulation Toolkit How to learn more?
Short Course IEEE NSS/MIC 2003 Katsuya Amako (KEK) Makoto Asai (SLAC)
A Short Course on Geant4 Simulation Toolkit How to learn more?
Search for coincidences and study of cosmic rays spectrum
User Application
Advanced Examples Alex Howard, Imperial College, UK
Mantis a framework and toolkit for Geant4 simulation in CMS
User Application
The full set of lecture notes of this Geant4 Course is available at
Based on a presentation of M.Verderi
Customizing Run Management
The full set of lecture notes of this Geant4 Course is available at
The full set of lecture notes of this Geant4 Course is available at
The Geant4 Hadrontherapy Advanced Example
Simulation in Experiments searching for rare events
Presentation transcript:

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy Use Monte Carlo to simulate geometries and detectors What is Monte Carlo? What is Geant4? Geant4 exercises G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

Where you can find these slides Pablo Cirrone and Enrico Mazzaglia (Geant4 Developers) cirrone@lns.infn.it (http://pablocirrone.wikispaces.com/ ) santi.mazzaglia@gmail.com Official Geant4 web pages: www.cern.ch/geant4 Hadrontherapy example: http://g4advancedexamples.lngs.infn.it/Examples/hadrontherapy You will find these slides here: http://workgroup.lngs.infn.it/geant4lns G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

The Monte Carlo method I Is a mathematical approach that use a sequence of random number to solve a problem If we are interested in a parameter of, i.e., an equation: we must construct a big number of this equations, using different random numbers, and estimate the parameter and its variance A. F. Bielajew, 2001 G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

The Monte Carlo method II In particle transport, if the models of particle interaction with matter are known, you can use the MC to calculate the parameters of motion equations in a given configuration Particles are tracked one-by-one and, after a reasonable number, the correct information is extracted MC is very time consuming but ….. G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

The Monte Carlo method III Mathematical proofs exist demonstrating that MC is the most efficient way of estimate quantity in 3D when compared to first-order deterministic method Alex F Bielajew, 2001 G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy With MANIAC: the first electronic digital computer G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy Monte Carlo codes MCNP Penelope PETRA PHIT FLUKA Geant4 Geometry And Traking GEANT4-a simulation toolkit Nucl. Inst. And Methods Phys. Res. A, 506:250:303 Geant4 developments and applications Transaction on Nuclear Science 53, 270 - 278 G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

Geant4: www.cern.ch/geant4 C++ language Object Oriented Open source It is a toolkit i.e. a collection of tools that the User can use for his/her simulations Consequences: There are no such concepts as “Geant4 defaults” You must provide the necessary information to configure your simulation You must deliberately choose which Geant4 tools to use Guidance: many examples are provided Novice Examples: overview of Geant4 tools Advanced Examples: Geant4 tools in real-life applications G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy Geant4 basic concepts What you MUST do: Describe your experimental set-up Provide the primary particles input to your simulation Decide which particles and physics models you want to use out of those available in Geant4 and the precision of your simulation (cuts to produce and track secondary particles) You may also want To interact with Geant4 kernel to control your simulation To visualise your simulation configuration or results To produce histograms, tuples etc. to be further analysed G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

User Classes - I Mandatory classes in ANY Geant4 User Application G4VUserDetectorConstruction describe the experimental set-up G4VUserPhysicsList select the physics you want to activate G4VUserPrimaryGeneratorAction generate primary events Mandatory classes in ANY Geant4 User Application A lot of PHYSICS MODELS in a very big range: from 10 eV to 20 TeV Electromagnetic Decay processes Hadronic elastic Hadronic inelastic G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy User Classes - II Action classes Invoked during the execution loop G4VUserPrimaryGeneratorAction G4UserRunAction G4UserEventAction G4UserTrackingAction G4UserStackingAction G4UserSteppingAction G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy The main() program Geant4 does not provide the main() Geant4 is a toolkit! The main() is part of the user application In his/her main(), the user must construct G4RunManager (or his/her own derived class) notify the G4RunManager mandatory user classes derived from G4VUserDetectorConstruction G4VUserPhysicsList G4VUserPrimaryGeneratorAction G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy Geant4 applications I ATLAS LHCb G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

Geant4 applications II Gamma camera with collimators Linear accelerator LSO/LuYAP ClearPET prototype design 3-head SPECT G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy Geant4 installation Download the source file from the official Geant4 web pages Download the external libraries Download and compile the CLHEP Configure the environment variables of your system Compile Geant4 Start compiling and running an example G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy Our excercises Will be based on the Hadrontherapy example G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy

The geometry of Hadrontherapy (HadrontherapyDetectorConstruction.cc) (ProtonPassiveBeamLine.cc) G.A.P.Cirrone, S.E.Mazzaglia - INFN/LNS, Italy