GAMOS tutorial Plug-in’s Exercises

Slides:



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

GAMOS tutorial Histogram and Scorers Exercises
Exercise 0: installation
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.
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.
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
GAMOS tutorial X-ray Exercises
A General Purpose Brachytherapy Software Simulation + Analysis (isodose calculation) 2/10/2002 Geant4 Workshop CERN Susanna Guatelli Univ. and INFN Genova.
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.
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
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,
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.
N 0 primary photons generated N d primary photons detected Determination of the photon mass attenuation coefficients Check on ParentID( ) Energy value.
Geant4 examples Sébastien Incerti On behalf of the Geant4 collaboration with special thanks to Luciano Pandola, INFN.
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.
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.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
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 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
L. Pandola INFN, Gran Sasso National Laboratories
GAMOS tutorial PET Exercises
Huagen Xu IKP: T. Randriamalala, J. Ritman and T. Stockmanns
Muon stopping target optimization
GAMMA-400 performance a,bLeonov A., a,bGalper A., bKheymits M., aSuchkov S., aTopchiev N., bYurkin Y. & bZverev V. aLebedev Physical Institute of the Russian.
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.
User Guide Tutorial of ISpy and CIMA
GAMOS tutorial PET Exercises
(CMS GEANT4 simulation)
JLEIC Detector Simulation Forward Ion Detection
Testing Geant4 with a simplified calorimeter setup
Pedro Arce (CERN/CIEMAT)
The Hadrontherapy Geant4 advanced example
A Short Course on Geant4 Simulation Toolkit Introduction
Geant4 Workshop 02 October 2002, CERN Hajime Yoshida
The n-3He Simulation Using Geant4
Detector Optimization using Particle Flow Algorithm
Backgrounds using v7 Mask in 9 Si Layers at a Muon Higgs Factory
The Geant4 Hadrontherapy Advanced Example
Physics event timing Use Pythia to generate hadronic decays at 125 GeV
Hit Density Geant 3 scoring planes
Simulation in Experiments searching for rare events
Presentation transcript:

GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT http://fismed.ciemat.es/GAMOS Pedro Arce Introducción a GEANT4

Introduction Introducción a GEANT4 Pedro Arce This set of exercises are meant for a primer user to practice with each of the most common components used 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 that is compiled in the previous examples Pedro Arce Introducción a GEANT4

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

Exercise 1: simple 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

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

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

Exercise 2: more difficult geometry “Calorimeter” 1cm X 1cm X 5cm LSO crystals, placed along X axis LSO: Lu 76.4016%, Si 6.1328%, O 17.4656% 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 CO2 (50%) Al (50%) Place at (50,0,0) cm Pedro Arce Introducción a GEANT4

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

Exercise 2c: create C++ generator position distribution Create position distribution: Along a semicircumpherence 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

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

Exercise 3b: Change physics list Primary particle: gamma 10 MeV Use new physics list: eScatteringPhysicsList Make it a plug-in Pedro Arce Introducción a GEANT4

Exercise 4a: 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

Exercise 4b: User actions 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

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

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

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

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 Pedro Arce Introducción a GEANT4