Geant4 Cross Reference |
1 ######################### Macro file for Simple geometry for Testing Phys_geo ######################### 2 # 3 #======================= PATHS FOR INPUTS ====================== 4 # 5 ## if don't set semi-lengths for world Box, code will use the sizes 6 ## of cell nucleus for calculating: WorldSemiXY = 2*SemiXY, WorldSemiZ = SemiZ. 7 /dsbandrepair/det/worldBoxSizes 100 100 0.6 um # Set WorldSemiX, WorldSemiY, WorldSemiZ for world box; 8 9 /dsbandrepair/det/celldefinitionfile dnafabric_geometries/lightGeometryForTest.fab2g4dna 10 11 /dsbandrepair/det/voxeldefinitionfile dnafabric_geometries/VoxelDown2.fab2g4dna 12 /dsbandrepair/det/voxeldefinitionfile dnafabric_geometries/VoxelLeft2.fab2g4dna 13 /dsbandrepair/det/voxeldefinitionfile dnafabric_geometries/VoxelRight2.fab2g4dna 14 /dsbandrepair/det/voxeldefinitionfile dnafabric_geometries/VoxelStraight2.fab2g4dna 15 /dsbandrepair/det/voxeldefinitionfile dnafabric_geometries/VoxelUp2.fab2g4dna 16 # 17 #======================= CHOOSING DNA PHYSICSLIST ====================== 18 # 19 /dsbandrepair/phys/physicsList G4EmDNAPhysics_option2 20 # 21 #======================= INITIALIZE RUNMANAGER ====================== 22 # 23 /run/initialize 24 # 25 #======================= BEAM SPATIAL DISTRIBUTION ====================== 26 # beam profile: Parallel, circle 27 # See cell-definition file for setting dimensions below: 28 /gps/pos/type Plane 29 /gps/pos/shape Circle 30 /gps/pos/radius 80 nm 31 /gps/pos/centre 0. 0. 520. nm 32 /gps/direction 0 0 -1 33 34 # 35 #======================= SET PARTICLE'S INFO ====================== 36 # 37 /gps/particle proton 38 /gps/energy 1. MeV 39 # 40 #======================= SET EVENTS and START A RUN ====================== 41 # 42 /run/printProgress 10 # Print progress for each mpi process 43 /run/beamOn 5 44