Presentation is loading. Please wait.

Presentation is loading. Please wait.

Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)

Similar presentations


Presentation on theme: "Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)"— Presentation transcript:

1 Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)

2 Introduction GEANT4 (GEometry ANd Tracking version 4) is an Object- Oriented Programming (OOP) Toolkit for the simulation of the passage of particles through matter. Geant4 nowadays used by a wide scientific community worldwide in diverse experimental domains.

3 It is also used in production by large scale high energy and nuclear physics experiments as well as in smaller scale detector development projects. Geant4 provides many packages specialized for modeling both electromagnetic and hadronic physic interactions at different energies.

4 At the end of this presentation we will learn the basics of geometry description with simple placements (location, rotation). Objective

5 Part I

6 How to define detector geometry

7 For example: Creating Cylinder

8 Logical volume

9 Physical volume

10 How to specify detector material

11 There are various methods to specify materials For example, Defining air and water from the internal Geant4 database.

12 How to set up Prepare directory for your application. In that directory myApplication.cc – A file in which main() is defined includes/ – Directory for header files (class definition) for mandatory user classes and optional user run action classes. src/ – Directory for source files (class implementation) for the above classes. GNUmakefile – A make file describing how to build the application

13 Application directory

14 Part (II) Practice

15 Step-0 Setup Copy the application and unpack it in the work directory (~/work/). Step-1 Compile and run $ make clean $ make –j 2... Done! $ export G4VRMLFILE_MAX_FILE_NUM=0 $ $G4WORKDIR/bin/Linux-g++/expd2 Idle> /control/execute vis.mac Idle> exit $ ls $ vrmlview g4_00.wrl

16

17 $ $G4WORKDIR/bin/Linux-g++/expd2... Idle> /control/execute vis.mac... Idle> /control/execute gun.mac... Idle> /run/beamOn 5

18

19 References 1- Geant4 Application Developers GuideApplication Developers Guide 2- http://wiki.kek.jp

20 Thank you


Download ppt "Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)"

Similar presentations


Ads by Google