Commit c40b3a3f authored by Valentina Fioretti's avatar Valentina Fioretti
Browse files

Edit examples.md

parent 092f46ec
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
@@ -19,53 +19,85 @@ Setting the number of threads
Selecting the output file:

`IO.FILETYPE.FITS = true`

`IO.FILE.XYZ = true`

XYZ file configuration:

`IOXYZ.EVT_ID = true`

`IOXYZ.TRK_ID = true`

`IOXYZ.PARENT_TRK_ID = true`

`IOXYZ.VOLUME_ID = true`

`IOXYZ.VOLUME_NAME = true`

`IOXYZ.MOTHER_ID = true`

`IOXYZ.E_DEP = true`

`IOXYZ.X_ENT = true`

`IOXYZ.Y_ENT = true`

`IOXYZ.Z_ENT = true`

`IOXYZ.X_EXIT = true`

`IOXYZ.Y_EXIT = true`

`IOXYZ.Z_EXIT = true`

`IOXYZ.E_KIN_ENT = true`

`IOXYZ.E_KIN_EXIT = true`

`IOXYZ.MDX_ENT = true`

`IOXYZ.MDY_ENT = true`

`IOXYZ.MDZ_ENT = true`

`IOXYZ.MDX_EXIT = true`

`IOXYZ.MDY_EXIT = true`

`IOXYZ.MDZ_EXIT = true`

`IOXYZ.GTIME_ENT = true`

`IOXYZ.GTIME_EXIT = true`

`IOXYZ.PARTICLE_ID = true`

`IOXYZ.PARTICLE_NAME = false`

`IOXYZ.PROCESS_ID = true`

`IOXYZ.PROCESS_NAME = false`

Volume selection:

`IOXYZ.volumeselection.number = 1`

`IOXYZ.volumeselection.0.start = 0`

`IOXYZ.volumeselection.0.end = 1000000000`



Number of rows for each file:

`IOXYZ.NRows  = 5000000`

Write only volume with energy deposit (this do not exclude the world):

`IOXYZ.writeonlyifenergydeposit = 0`

Exclude the world (NB: the world contains the initial energy and momentum):

`IOXYZ.removeWorldEvent = 0`

----> Physics list:
@@ -73,31 +105,40 @@ Exclude the world (NB: the world contains the initial energy and momentum):
`PHYS.VERSION = OPTPhys`

Production cut applied to all volumes in the simulation:

`OPTPhys.DEFAULT.CUT = 0.001`


----> Geometry configuration:

Setting the world dimension [mm]:

`WORLD.BOX.SIDE = 5000`

`GEOM.VERSION = Scintillator`

`CsI.TYPE = 1`

Path to the cad files used in the simulation:

`GEOM.CAD.PATH = ../../cad_files`

Selecting the chamber material:

`VACUUM = 1`

Material of the reflecting layers:

`REFL.LAYER1.MAT = 62`

`REFL.LAYER2.MAT = 1`

Absorption length [mm]:

`CsI.ABSL = 2000`

Type of reflection for the wrapper:

`OPTSURFACE.WRAPPER = 12`

###### GPS macro file beam.mac:
@@ -105,18 +146,23 @@ Type of reflection for the wrapper:
The detailed description of the commands can be found in the Geant4 official documentation.

Simulation verbose:

`/run/verbose 0`

Source definition:

`/gps/particle gamma`

`/gps/pos/type Point`

`/gps/pos/centre -1.5 -90.0 -100 mm`

`/gps/direction 0 0 1`

`/gps/energy 122.0 keV`

Set number of simulated particles:

`/run/beamOn 1`