240 likes | 765 Views
EGSnrc. Experiment Method and Data Process Prof. K. Cho Presentation 2 Student # : 2002219014 Hye Yoon Chin April 10 th 2003. Index What is the EGSnrc ㅡ History of the EGSnrc system 2. Original PEGS4 Introduction to PEGS4 Logical Relationship Between the Options of PEGS
E N D
EGSnrc Experiment Method and Data Process Prof. K. Cho Presentation 2 Student # : 2002219014 Hye Yoon Chin April 10th 2003 Hye Yoon Chin
Index • What is the EGSnrc • ㅡ History of the EGSnrc system • 2. Original PEGS4 • Introduction to PEGS4 • Logical Relationship Between the Options of PEGS • Examples(kinds of 3) • 3. EGSnrc Manual • 4. Example • -Tutorial Program #1-Tutor1. mortran Hye Yoon Chin
What is the EGSnrc • ㅡ History of the EGSnrc system The EGSnrc mean is Electron-Gamma-Shower National Research Council of Canada. The EGS system of computer codes is a general purpose package for the Monte Carlo simulation of the coupled transport of electrons and photons in an arbitrary geometry for particles with energies above a few keV up to several hundreds of GeV. Hye Yoon Chin
For a basic introduction to the code, see the reference manual, section [3] http://www.irs.inms.nrc.ca/inms/irs/EGSnrc/pirs701/pirs701.html As stated in the Preface, EGSnrc is the child of many parents who have made a wide variety of contributions over the years. We will not repeat the preface here except to note that Walter “Ralph” Nelson has been the key player in the development of the system over the years and we all owe him a debt of gratitude. Kawrakow and D.W.O. Rogers Iwan@irs.phy.nrc.ca, Dave@irs.phy.nrc.ca Hye Yoon Chin
2. Original PEGS4 • Introduction to PEGS4 • The PEGS code (Preprocessor for EGS) is a stand alone utility program written in Mortran **. PEGS' purpose is to generate material data for the EGS code, and to provide other services for the user who is studying or simulating electro- magnetic interactions. • Fitting of functions by means of piecewise linear fits. • Production of print plots of selected functions. • Evaluation of functions at selected points. • Comparision of functions with sampled spectra. Hye Yoon Chin
:ELEM: :MIXT: :COMP: :ENER: OR AND :PLTN: :PLTI: :HPLT: :CALL: :TEST: :PWLF: :MIMS: (2) Logical Relationship Between the Options of PEGS :DECK :STOP: Hye Yoon Chin
(3) Example ---------------------------------------------------------------------------------- A. Material - Element is Iron with defaults taken. ---------------------------------------------------------------------------------- Column Card 123456789112345678921234567893123456789412345678..etc. ELEM1 ELEM ELEM2 &INP &END ELEM3 IRON FE ELEM4 FE ---------------------------------------------------------------------------------- Hye Yoon Chin
---------------------------------------------------------------------------------------------------------------------------------------------------------------------- B. Material - Compound is sodium iodide with IDSTRN(1:24) defaulting to MEDIUM(1:24). ---------------------------------------------------------------------------------- Column Card 123456789112345678921234567893123456789412345678..etc. COMP1 COMP COMP2 &INP NE=2,RHO=3.667,PZ(1)=1,PZ(2)=1 &END COMP3 NAI COMP4 NA I ---------------------------------------------------------------------------------- Hye Yoon Chin
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ C. Material - Mixture is lead glass, consisting of five specified elements (and 1 per cent of the trace elements unspecified). Sternheimer-Peierls default. --------------------------------------------------------------------------------------- Column Card 123456789112345678921234567893123456789412345678..etc. MIXT1 MIXT MIXT2 &INP NE=5,RHO=3.61,RHOZ=41.8,21.0,29.0,5.0,2.2 &END MIXT3 LEAD GLASS MIXT4 PB SI O K NA --------------------------------------------------------------------------------------- Hye Yoon Chin
3. EGSnrc Manual The structure of the EGSnrc code system when used with a user-code Hye Yoon Chin
the user communicates with EGS by means of: • Subroutines • HATCH -- to establish media data • SHOWER -- to initiate the cascade • HOWFAR & HOWNEAR -- to specify the geometry • AUSGAB -- to score and output the results and to control variance reduction Hye Yoon Chin
4. Example -Tutorial Program #1-Tutor1.mortran : 20 Mev e- through 1 mm of Ta Hye Yoon Chin
The END… Hye Yoon Chin