Archives de catégorie : 2019
2019 Session 7
Multithreading Objectives What you will learn Presentations Multithreading 1 ( slides ) What is a thread, Why multi-threading, Multi-threading in Geant4, Multi-threading Geant4 application Multithreading 2 ( slides ) What is thread-safety, Geant4 MT utilities More on Multi-threading( slides ) … Continuer la lecture
2019 Session 6 : Exercise
Code for download: session6_start.tar.gz Exercise 6a: With use of G4AnalysisManager (see example B4/B4d ): Create & fill histogram Define a 1D histogram for the energy deposited per event for each calorimeter layer Implement filling of histograms in the EDEmCalorimeterSD::EndOfEvent() function. … Continuer la lecture
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
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
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
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
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
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
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
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