Archives de catégorie : 2019

2019 Session 6

Analysis, More on Scoring , User Interface Objectives What you will learn Presentations User Actions ( slides ) Optional user actions Analysis ( slides ) History, Geant4 analysis tools, Histograms and ntuples, Plotting With External analysis tools, Interfacing With External … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 6

2019 Session 5 : Exercise

Code for download: session5_start.tar.gz Exercise 5a: Complete implementation of the hit and sensitive detector classes for the Drift chamber (EDChamberHit, EDChamberSD) to account the following information when a charged track passed through the detector: the chamber layer number the time … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 5 : Exercise

2019 Session 5

Objectives What you will learn Scoring & More On Visualization Presentations Scoring – 1 Sensitive detectors ( slides ) Extracting useful information from Geant4 objects ( slides ) Scoring – 2 Scoring in « Touchables » ( slides ) More on Visualization ( … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 5

2019 Session 4 : Exercise

Code for download: session4_start.tar.gz Exercise 4a: Explore processes defined for proton, e-, e+, gamma particles via UI commands and add these commands in run.mac. Hint: See the commands /particle/select and /particle/process/* Add a command line option to select any Geant4 … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 4 : Exercise

2019 Session 4

Code for download: session3_start.tar.gz Objectives What you will learn Presentations Physics 0 ( slides ) Overview of physics presentations in this tutorial, Introduction Physics 1 ( slides ) G4VUserPhysicsList class, Modular physics list, Packaged physics lists, Physics list factory. Physics … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 4

2019 Session 3 : Exercise

Exercise 3a: Change the primary generator class with use of G4ParticleGun. See eg. example basic/B2 README page and its B2PrimaryGenerator class; note that you need to update both .cc and .hh files Update run.mac and add runs with following primaries: proton, … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 3 : Exercise

2019 Session 3

Primary Particles, Visualization Objectives What you will learn Presentations Primary Particles ( slides ) Primary particle generation, G4VUserPrimaryGeneratorAction and G4VPrimaryGenerator classes, Primary vertex and primary particle, Built-in primary particle generators, Particle gun, GPS, Interfaces to HEPEvt and HepMC Random number … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 3

2019 Session 2 : Exercise

Code for download: session2_start.tar.gz Update login script: To get the environment setup called automatically when a new terminal is open, you can add the commands for this setting in your login script, which is in our case in $HOME/.bash_profile file. … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 2 : Exercise

2019 Session 2

Geometry, User Interface Objectives What you will learn Presentations Material Definition ( slides ) System of Units, Defining elements, materials and mixtures, NIST Material database Geometry ( slides ) Detector geometry modeling (G4VUserDetectorConstruction), Volume hierarchy, Solids, Regions Geant4 User Interface … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 2

2019 Session 1 : Exercise

Code for download: session1_start.tar.gz Exercise: Geant4 is already installed on the machines in the directory /usr/local. We will first call the Geant4 script to define the environment needed to build & run Geant4 application: export CMAKE_PREFIX_PATH=/usr/local/opt/qt5 . /usr/local/bin/geant4.sh unset DYLD_LIBRARY_PATH … Continuer la lecture

Publié dans 2019 | Commentaires fermés sur 2019 Session 1 : Exercise