#============================================================================= # Allpix: the CERN@school Timepix detector with a Potassium-40 source (batch) #============================================================================= # The CERN@school Mk1 detector /allpix/det/setId 900 /allpix/det/setPosition -1.305 0.0 23.075 mm /allpix/det/setRotation 90.0 180.0 0.0 deg /allpix/det/setFoilThickness 0.0174 mm /allpix/det/setLowTHL 13. keV # The test structure - the KCl source /allpix/extras/setTestStructure SourceTestBench /allpix/extras/setTestStructurePosition 0.0 -30.0 0.0 mm /allpix/extras/setTestStructureRotation 0.0 0.0 0.0 deg /allpix/extras/setTestStructureShieldingThickness 0.0 mm # Set the maximum step length. This applies only to the sensor /allpix/det/setMaxStepLengthSensor 10 um # Initialize the simulation. /run/initialize # Build the detectors from the configuration. /allpix/det/update # Set the simulation verbosity /run/verbose 0 /control/verbose 0 #/control/saveHistory /tracking/verbose 0 /allpix/phys/verbose 0 # Set up the General Particle Source #==================================== # A disc of K-40 ions, to match the test structure source. /gps/ene/mono 0. MeV /gps/particle ion /gps/ion 19 40 /grdm/fBeta 1 /gps/pos/type Volume /gps/pos/shape Cylinder /gps/pos/centre 0. -34.5 0. mm /gps/pos/halfz 0.001 mm /gps/pos/radius 27.5 mm /gps/pos/rot1 1 0 0 /gps/pos/rot2 0 0 1 /gps/ang/type iso /gps/source/list ######################################################################## # Run the simulation. # Specify the number of events here. /run/beamOn 20000 # ########################################################################