User Tools

Site Tools


software:g4simulation:configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:g4simulation:configuration [2020/06/12 11:20] himusersoftware:g4simulation:configuration [2022/01/14 18:44] (current) – external edit 127.0.0.1
Line 19: Line 19:
 geometry-file <filename> geometry-file <filename>
 </code> </code>
 +  
 +  
 +  * Specify if the tagger/scintillator is used as sensiteve detector (SD):    <code>
 +use-tagger <0/1>
 +</code> If there is no scintillator in the geometry, use-tagger needs to be set 0
  
 +  * Specify if the clorimeter is used as sensiteve detector (SD):    <code>
 +use-clorimeter <0/1>
 +</code> 
 +
 +  * Specify if radiation studie should be done:    <code>
 +do-radiation-studies <0/1>
 +</code> 
  
   * Specify the geant4 macro file to be executed. If this command is not used the geant4 interactive shell will be loaded. <code>   * Specify the geant4 macro file to be executed. If this command is not used the geant4 interactive shell will be loaded. <code>
Line 36: Line 48:
     * ''particleGun'': uses the geant4 particle gun which can be set in the macro file     * ''particleGun'': uses the geant4 particle gun which can be set in the macro file
     * ''p16uniform'': generates electron over the surface of proto16, placed at 1.2 m from the particle source. The electron energy is uniformly distributed between 100 MeV and 1500 MeV     * ''p16uniform'': generates electron over the surface of proto16, placed at 1.2 m from the particle source. The electron energy is uniformly distributed between 100 MeV and 1500 MeV
-    *  ''primaUniform'': generates electron over the surface of the PRIMA detector, placed at 1.2 m from the particle source. The electron energy is uniformly distributed between 100 MeV and 1500 MeV +    *  ''primaUniform'': generates electrons over the surface of the PRIMA detector (between Rin and Rmin [mm]), placed at 1200 mm (=dz) from the particle source. The electron energy is uniformly distributed between Emin and Emax [MeV]. 
-    *  ''P0gun'': generates any geant4 particle with arbitrary direction, origin 1.2 m from detector (z-direction). The particles energy is uniformly distributed between Emin and Emax. If Emin = Emax, the particles have a constant initial Energy.+    *  ''pi0Gun'': generates a pion with arbitrary directon, origin 1.2 m from detector (z-direction). The particles energy is uniformly distributed between Emin and Emax. If Emin = Emax, the particles have a constant initial energyThe pion instantly decays into two photons with random momentum directions constrained by momentum conservation. Also the angles of the pion can be chosen (theta, phiMin, phiMax [deg]). 
 +    *  ''beam'': shoots electrons in z-direction, is positioned a view mm before the target and has to be used with a geometry which includes the target!
 \\ \\
-    * Explicit config Parameters for "P0gun" (distances in mm, Energies in MeV): +
-      * set particle type  <code> +
-P0_particle gamma +
-</code> +
-      * set velocity direction, leave dz = 1200 to hit the detectors surface at dx, dy <code> +
-P0_dx 200 +
-P0_dy 200 +
-P0_dz 1200 +
-</code> +
-      * set the particles initial energy <code> +
-P0_Emin 1000 +
-P0_Emax 1000 +
-</code> +
-\\ +
-    * Specify if the tagger/scintillator is used as sensiteve detector (SD):    <code> +
-use-tagger <0/1> +
-</code> +
-    * If there is no scintillator in the geometry, use-tagger needs to be set 0+
software/g4simulation/configuration.1591960839.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki