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

Edit examples.md

parent 9835f392
Loading
Loading
Loading
Loading
+114 −0
Original line number Diff line number Diff line
@@ -2,3 +2,117 @@ The applications provided as examples on how to use BoGEMMS-HPC are:
- [ScintillationDetector](https://www.ict.inaf.it/gitlab/icsc_g4_hpc/BoGEMMS-HPC/-/tree/main/examples/ScintillationDetector?ref_type=heads): irradiating with X-ray photons a
scintillation detector, generating optical light in the crystal and collecting the signal with a PMT. 
- [ProtonScattering](https://www.ict.inaf.it/gitlab/icsc_g4_hpc/BoGEMMS-HPC/-/tree/main/examples/ProtonScattering?ref_type=heads): low-energy protons scattering at grazing angles with a sample of the eRosita X-ray mirror

<details><summary>ScintillationDetector
</summary>

To run the example: bogemms -c 

MT.NUM.THREADS = 8

######################################################
# Selection of output files
IO.FILETYPE.FITS = true
IO.FILETYPE.SQLITE3 = false

IO.FILE.XYZ = true

#######################################################
# IO 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
#IOXYZ.volumeselection.1.start = 50000
#IOXYZ.volumeselection.1.end = 60000
#IOXYZ.volumeselection.1.start = 1
#IOXYZ.volumeselection.1.end = 2
#IOXYZ.volumeselection.2.start = 301
#IOXYZ.volumeselection.2.end = 330

#number of rows for each file
#IOXYZ.NRows  = 100000
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

########################################################
# Volume ID handling

# 1 = summing mother and grandmother ID in case of replicas
GEOM.VOLID.TYPE = 0
########################################################
# physical process

PHYS.VERSION = OPTPhys

OPTPhys.DEFAULT.CUT = 0.001


########################################################
# geometry configuration
# Print the current geometry to output
GEOM.PRINT_GEOMETRY = false
GEOM.WRITE.GDML = false
GEOM.WRITE.GDML.NAME = WFI.gdml

# setting the world dimension [mm]
WORLD.BOX.SIDE = 5000

GEOM.VERSION = Scintillator

CsI.TYPE = 1

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

# Experiment = 2
#

# selecting the chamber material
VACUUM = 1

# material of the reflecting layers (from BGO side)
REFL.LAYER1.MAT = 62
REFL.LAYER2.MAT = 1

# absorption length [mm]
CsI.ABSL = 2000

# type of reflection for the wrapper
OPTSURFACE.WRAPPER = 12


</details>
 No newline at end of file