:start run control: ncase = 1e5 # The number of histories to simulate :stop run control: :start geometry definition: ## big air box :start geometry: name = air_box library = egs_box box size = 200 200 400 :start media input: media = AIR700ICRU :stop media input: :stop geometry: ############################################################################v ### conveyor ############################################################################ ### conveyor channel :start geometry: name = conveyor library = egs_ndgeometry type = EGS_XYZGeometry x-planes = -35.15 -34.95 34.95 35.15 y-planes = -64 -63.7 63.7 64 z-planes = -40 0.25 0.75 2 29.7 40 :start media input: media = STEEL700ICRU AIR700ICRU set medium = 4 1 set medium = 22 1 set medium = 28 1 set medium = 31 1 set medium = 34 1 :stop media input: :stop geometry: ### hole in top :start geometry: name = hole library = egs_ndgeometry type = EGS_XYZGeometry x-planes = -32.2 32.2 y-planes = -22.7 22.7 z-planes = 29 39 :start media input: media = AIR700ICRU :stop media input: :stop geometry: ### conveyor with hole :start geometry: name = hole_in_conveyor library = egs_genvelope base geometry = conveyor inscribed geometries = hole :stop geometry: ### conveyor in air :start geometry: name = converyor_box_in_air library = egs_genvelope base geometry = air_box inscribed geometries = hole_in_conveyor :stop geometry: ############################################################################ ### radiation box ############################################################################ ### radiation box :start geometry: name = radiation_box library = egs_ndgeometry type = EGS_XYZGeometry x-planes = -32.5 -32.2 32.2 32.5 y-planes = -23 -22.7 22.7 23 z-planes = 0 85.2 85.5 :start media input: media = STEEL700ICRU AIR700ICRU set medium = 4 1 :stop media input: :stop geometry: ### radiation box in air :start geometry: name = radiation_box_in_air library = egs_genvelope base geometry = air_box inscribed geometries = radiation_box :stop geometry: ############################################################################ ### shield ############################################################################ ### shield :start geometry: name = shield library = egs_ndgeometry type = EGS_XYZGeometry x-planes = -35.15 35.15 y-planes = -15 15 z-planes = -1 10 :start media input: media = PB700ICRU :stop media input: :stop geometry: ### shield in air :start geometry: name = shield_in_air library = egs_genvelope base geometry = air_box inscribed geometries = shield :stop geometry: ############################################################################ ### machine ############################################################################ ### machine planes :start geometry: name = machine_planes library = egs_planes type = EGS_Zplanes positions = -100 0 30 100 :stop geometry: ### machine :start geometry: name = machine library = egs_cdgeometry base geometry = machine_planes set geometry = 0 shield_in_air set geometry = 1 converyor_box_in_air set geometry = 2 radiation_box_in_air :stop geometry: # ### simulation geometry simulation geometry = machine :stop geometry definition: ################################ ### SOURCE ################################ :start source definition: # Only 1 source definition block allowed ### Pencil beam :start source: name = pencil_beam # This name can be anything you like library = egs_parallel_beam charge = 0 direction = 0 0 -1 :start spectrum: type = monoenergetic energy = 10 :stop spectrum: :start shape: type = box box size = 3 3 1 :stop shape: :stop source: ### Use the source by this name for the simulation simulation source = pencil_beam :stop source definition: :start scoring options: calculation type = dose :start calculation geometry: geometry name = machine cavity regions = 1 cavity mass = 100000 :stop calculation geometry: :stop scoring options: