Archives de catégorie : 2020

2020 Session 8 : Exercise

Code for download: session8_start.tar.gz Exercise 8a: Rotate the Tube volume so that the tube symmetry axis is parallel with y-axis of the world reference frame. Hint: See slide #22 in the geometry presentation from Monday. Complete the EDMagneticField and EDDetectorConstructionclasses  to define a magnetic … Continuer la lecture

Publié dans 2020 | Commentaires fermés sur 2020 Session 8 : Exercise

2020 Session 10 : Exercise

Code for download: session10_start.tar.gz Start code: session9_start with updated geometry with addition of a shield made of concrete. Introduction: The exercise shows one usage of the biasing classes. We have a shield, made of concrete, which is inserted between the … Continuer la lecture

Publié dans 2020 | Commentaires fermés sur 2020 Session 10 : Exercise

2020 Session 9 : Exercise

Code for download: session9_start.tar.gz Start code: session8_start with updated geometry, more collections for the calorimeter, and added ScreenSD. Bounds for calorimeter histogram have been changed also. Prints for hit have been removed, in order to run statistics without being annoyed … Continuer la lecture

Publié dans 2020 | Commentaires fermés sur 2020 Session 9 : Exercise

2020 Session 7 : Exercise

Code for download: session7_start.tar.gz Exercise 7a: Migrate the exampleED application to MT. After each step rebuild the program. You can also try to run and observe the behaviour (breaks) after each step and understand how the next step fixes the … Continuer la lecture

Publié dans 2020 | Commentaires fermés sur 2020 Session 7 : Exercise

2020 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

Publié dans 2020 | Commentaires fermés sur 2020 Session 6 : Exercise

2020 Session 5 : Exercise

Code for download: session5_start.tar.gz Exercise 5a: Complete the 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 … Continuer la lecture

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

2020 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 2020 | Commentaires fermés sur 2020 Session 4 : Exercise

2020 Session 3 : Exercise

Code for download: session3_start.tar.gz 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 … Continuer la lecture

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

2020 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, for example in $HOME/.bash_profile file if bash is … Continuer la lecture

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

2020 Session 1 : Exercise

Code for download: session1_start.tar.gz Exercise: Geant4 is already installed on the machines in the directory /usr/local. Please, do not forget to run the Geant4 script to define the environment needed to build & run Geant4 application; for example is you … Continuer la lecture

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