Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT

Slides:



Advertisements
Similar presentations
Advanced Neutron Spectrometer (ANS) Geant4 Simulations
Advertisements

Parameterized Shower Simulation in Lelaps: a Comparison with Geant4 Daniel Birt, Amy Nicholson.
GAMOS tutorial Histogram and Scorers Exercises
Exercise 0: installation
Hall D Photon Beam Simulation and Rates Part 1: photon beam line Part 2: tagger Richard Jones, University of Connecticut Hall D Beam Line and Tagger Review.
Pedro Arce Point detector scoring 1 Point detector scoring in GEANT4 Pedro Arce, (CIEMAT) Miguel Embid (CIEMAT) Juan Ignacio Lagares (CIEMAT) Geant4 Event.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
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.
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)
Gamma calorimeter for R3B: first simulation results INDEX ● The calGamma Geant4 simulation ( a short introduction ) ● Crystal and geometry selection: –
R 3 B Gamma Calorimeter Agenda. ● Introduction ● Short presentation on the first ● Task definition for R&D period ( )
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
GEANT Study of Electron ID and  0 Rejection for Containerized detectors Compare detectors in shipping containers to idealized continuous detector with.
Feb 10, 2005 S. Kahn -- Pid Detectors in G4MicePage 1 Pid Detector Implementation in G4Mice Steve Kahn Brookhaven National Lab 10 Feb 2005.
S. Guatelli, CPS Innovations, Knoxville, 13 th -21 st January Brachytherapy exercise.
GAMOS tutorial X-ray Exercises
S. Guatelli, M.G Pia, INFN Genova G. Cosmo, S. Guatelli, M.G Pia Salamanca, July 2002
6th April 2005Wah-kai Ngai1 First Example in Geant4 3rd HK simulation group meeting.
CHEP06, Mumbai-India, Feb 2006V. Daniel Elvira 1 The CMS Simulation Validation Suite V. Daniel Elvira (Fermilab) for the CMS Collaboration.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Compton Camera Exercises
Oct. 22, G.Lima1 Delving Deeper into Geant4 Guilherme Lima DHCal Meeting October 22, 2003.
Daniel Pérez-Astudillo World Congress 2009, Munich, 12 September 2009
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
Status of MAPS Geometry Simulation Yoshinari Mikami University of Birmingham 21 th April 2006 MAPS Meeting at Rutherford Appleton Laboratory.
1 Calorimeter in G4MICE Berkeley 10 Feb 2005 Rikard Sandström Geneva University.
C++ / G4MICE Course Session 5 Materials in G4MICE Units in G4MICE Visualisation in G4MICE G4MICE Modelling.
BES-III Workshop Oct.2001,Beijing The BESIII Luminosity Monitor High Energy Physics Group Dept. of Modern Physics,USTC P.O.Box 4 Hefei,
13 July 2005 ACFA8 Gamma Finding procedure for Realistic PFA T.Fujikawa(Tohoku Univ.), M-C. Chang(Tohoku Univ.), K.Fujii(KEK), A.Miyamoto(KEK), S.Yamashita(ICEPP),
Pedro Arce GAMOS primer 1 Exercise 0: installation Open a web browser in Go to GAMOS web page : search for Geant4  Applications.
Exercises Alberto Ribon Alberto Ribon CERN PH/SFT CERN PH/SFT Geant4 tutorial, May 2005.
CaTS and Dual Readout. CaTS – Calorimeter and Tracker Simulation Describe detector in gdml file (xml like) Define.
Geant4 examples Sébastien Incerti On behalf of the Geant4 collaboration with special thanks to Luciano Pandola, INFN.
Notes About MARS background simulations for BTeV A Summary of how far we’ve come and how far we have to go. By DJ Wagner 9/12/98 Vanderbilt University.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial RadioTherapy Exercises Pedro Arce Dubois CIEMAT
Modification of Geant4 simulation Detailed crystal structures included reference materials real geometry.
1 Hadronic calorimeter simulation S.Itoh, T.Takeshita ( Shinshu Univ.) GLC calorimeter group Contents - Comparison between Scintillator and Gas - Digital.
Forward Tagger Simulations Implementation in GEMC Moller Shield Tracking Studies R. De Vita INFN –Genova Forward Tagger Meeting, CLAS12 Workshop, June.
7/13/2005The 8th ACFA Daegu, Korea 1 T.Yoshioka (ICEPP), M-C.Chang(Tohoku), K.Fujii (KEK), T.Fujikawa (Tohoku), A.Miyamoto (KEK), S.Yamashita.
OUTGOING NEUTRONS IN CALET CALET AIMS AT DETECTING UHE CR ELECTRONS HIGH REJECTION FACTOR FOR PROTONS/NUCLEI NEEDED POSSIBLE IMPROVEMENT RESPECT ‘STANDARD’
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
A. SarratILC TPC meeting, DESY, 15/02/06 Simulation Of a TPC For T2K Near Detector Using Geant 4 Antony Sarrat CEA Saclay, Dapnia.
1 Simulation, Formatter & Analysis Kyo Tsukada Tohoku Univ.
1 Exercises 0 Go inside the “hadrontherapy” directory: cd hadrontherapy Copy the Hadrontherapy example to your home folder: cp –r $G4INSTALL/examples/advanced/hadrontherapy.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
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
SIMULATION OF BACKGROUND REDUCTION TECHNIQUES FOR Ge DBD DETECTORS Héctor Gómez Maluenda. University of Zaragoza. GERDA/Majorana MC Meeting.
Starting with an example PART I Set your environment up and get a Geant4 example.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Spectrometry Exercises Pedro Arce Dubois CIEMAT
Unit 4 Retrieving information from the simulation
Starting with an example
Exercise 0: installation
GAMOS tutorial PET Exercises
GAMOS tutorial Shielding Exercises
Introduction Goal: Can we reconstruct the energy depositions of the proton in the brain if we are able to reconstruct the photons produced during this.
GAMOS tutorial PET Exercises
(CMS GEANT4 simulation)
Testing Geant4 with a simplified calorimeter setup
The Hadrontherapy Geant4 advanced example
Higgs Factory Backgrounds
A Short Course on Geant4 Simulation Toolkit Introduction
The n-3He Simulation Using Geant4
Backgrounds using v7 Mask in 9 Si Layers at a Muon Higgs Factory
GAMOS tutorial Plug-in’s Exercises
Geant4 course - exercices
The Geant4 Hadrontherapy Advanced Example
Physics event timing Use Pythia to generate hadronic decays at 125 GeV
Simulation in Experiments searching for rare events
Presentation transcript:

Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT

Pedro Arce Introducción a GEANT4 2 Introduction This set of exercises are meant for a primer user to practice with each of the most common components usual in the simulation of detectors Geometry Visualisation Primary generator Electromagnetic/hadronic physics Production cuts and user limits Scoring Sensitive detectors They represent examples on How to do simulation using GAMOS commands How to extend GAMOS adding new C++ code They are sequential Use the commands of the previous exercise (only change what indicated) Some examples use code compiled in the previous examples

Pedro Arce Introducción a GEANT4 3 RT simulation Exercises Ex. 0: Installation Ex. 1: Basic example Ex. 2: More difficult geometry Generato r Ex. 3: Physics/cuts Ex. 4: User actions Ex. 5: Scoring Ex. 6: Sensitive detectors

Pedro Arce Introducción a GEANT4 4 Exercise 0: installation Download installation scripts from tgz tgz Uncompress it tar xvzf scripts.tgz Install it (under csh) cd scripts csh source installGamos.csh $HOME/gamos

Pedro Arce Introducción a GEANT4 5 Exercise 1: simple geometry Geometry: Tube radius 100cm length 200cm of Water inside Box 30cm X 30cm X 40cm of Aluminun Standard electromagnetic physics Primary particle: gamma 10 MeV at (0,0,0) in random direction

Pedro Arce Introducción a GEANT4 6 Exercise 1b: visualisation Visualize geometry and tracks OGLIX VRML2FILE DAWNFILE

Pedro Arce Introducción a GEANT4 7 Exercise 1c: use different e.m. physics Use low energy electromagnetic Use Penelope (Make statistics on processes/particles)

Pedro Arce Introducción a GEANT4 8 Exercise 2: more difficult geometry “Calorimeter” 1cm X 1cm X 5cm LSO crystals, placed along X axis LSO: Lu %, Si %, O % Block of 4X4 crystals Place three crystal blocks at (5,-5,0), (5,0,0), (5,5,0) cm “Tracker” Box 40cm X 20cm X 20cm of CO 2 (50%) Al (50%) Place at (50,0,0) cm

Pedro Arce Introducción a GEANT4 9 Exercise 2b: change generator position and direction Position of primary gammas at (-200,0,0) mm Direction along X axis

Pedro Arce Introducción a GEANT4 10 Exercise 2c: create C++ generator position distribution Create position distribution: Along a semicircunpherence of radius 1 cm in YZ plane, centered in (0,0,0) Change radius at the input script Make it a plug-in and select it at the input script

Pedro Arce Introducción a GEANT4 11 Exercise 3: Cuts by region Production cut 0.1 mm in crystals, 0.01 mm in tracker Limit step to 1 mm in crystals

Pedro Arce Introducción a GEANT4 12 Exercise 3b: Hadronic physics Primary particle: neutron 10 MeV Use QGSP_BERT_HP physics list Make it a plug-in

Pedro Arce Introducción a GEANT4 13 Exercise 4: User actions Kill event if primary particle does not leave all its energy in crystal If it exits the crystals (it might exit and enter back and leave some energy in the meantime…)

Pedro Arce Introducción a GEANT4 14 Exercise 4: User actions (II) For each event count the energy deposited in the crystal when the process that defined the step is ionisation Make an histogram of it

Pedro Arce Introducción a GEANT4 15 Exercise 5: Scoring Count number of secondaries with energy > 100 keV produced in the crystals per event Count energy deposited in the tracker per event

Pedro Arce Introducción a GEANT4 16 Exercise 6: Sensitive detector / hits Make the crystals and the tracker sensitive detectors Plot hits variables with GmHitsHistosUA Save hits in a file

Pedro Arce Introducción a GEANT4 17 Exercise 6b: Study detector effects Use as primary particle F18 at position (50,0,0)mm with 1 miliCurie Make energy resolution of crystals 20% and tracker 2% Make measuring time 1 milisecond for both SD Make dead time 1 milisecond for both SD (look for number of hits and good hits in hits.root/hits.csv) Make dead time 10 nanoseconds for both SD Make energy resolution of crystals 0% and tracker 0% (look at hits output file)

Pedro Arce Introducción a GEANT4 18 Exercise 6c: Create SD with C++ Assign Sensitive Detector to crystals Create hits with: Track ID Deposited energy Position Print number of hits in each event Print Track ID, deposited energy and position of each hit