############################################################################### # # # muonBackground.mac # # Example macro that simulates the energy and angular distribution of cosmic # # muons. The energy distribution is 1/E and angular distribution cos^2. # # The energy and angle have been considered to be uncorrelated. # # # ############################################################################### # #/tracking/verbose 2 # #uncomment below if you want to activate T6 (all particle steps, huge file size) #/Solid/storeT6 true #uncomment below if you want to set T9 off #/Solid/storeT9 false #if T9 is activate (default), you can set the cut level. Range 0-3.Default is 1. # Uncomment if you want to change this value #/Solid/T9cut 1 # /IBD/on false # /gps/position 20 500 20 mm /gps/direction 0 -1 0 /gps/particle mu+ #/gps/energy 0.01 GeV # Energy distribution /gps/ene/type Pow /gps/ene/min 0.1 GeV /gps/ene/max 100 GeV /gps/ene/alpha -1 # Angular distribution /gps/ang/type user /gps/hist/type theta /gps/hist/point 0 0 /gps/hist/point 0.0314159265 0.0314055932 /gps/hist/point 0.0628318531 0.0313436418 /gps/hist/point 0.0942477796 0.0312199835 /gps/hist/point 0.1256637061 0.0310351064 /gps/hist/point 0.1570796327 0.0307897401 /gps/hist/point 0.1884955592 0.0304848528 /gps/hist/point 0.2199114858 0.030121648 /gps/hist/point 0.2513274123 0.0297015589 /gps/hist/point 0.2827433388 0.0292262435 /gps/hist/point 0.3141592654 0.0286975776 /gps/hist/point 0.3455751919 0.0281176476 /gps/hist/point 0.3769911184 0.0274887423 /gps/hist/point 0.408407045 0.0268133436 /gps/hist/point 0.4398229715 0.0260941171 /gps/hist/point 0.471238898 0.0253339012 /gps/hist/point 0.5026548246 0.024535696 /gps/hist/point 0.5340707511 0.0237026519 /gps/hist/point 0.5654866776 0.0228380564 /gps/hist/point 0.5969026042 0.0219453216 /gps/hist/point 0.6283185307 0.0210279709 /gps/hist/point 0.6597344573 0.0200896245 /gps/hist/point 0.6911503838 0.0191339857 /gps/hist/point 0.7225663103 0.0181648259 /gps/hist/point 0.7539822369 0.01718597 /gps/hist/point 0.7853981634 0.0162012812 /gps/hist/point 0.8168140899 0.0152146454 /gps/hist/point 0.8482300165 0.0142299565 /gps/hist/point 0.879645943 0.0132511006 /gps/hist/point 0.9110618695 0.0122819409 /gps/hist/point 0.9424777961 0.0113263021 /gps/hist/point 0.9738937226 0.0103879557 /gps/hist/point 1.0053096491 0.0094706049 /gps/hist/point 1.0367255757 0.0085778702 /gps/hist/point 1.0681415022 0.0077132746 /gps/hist/point 1.0995574288 0.0068802305 /gps/hist/point 1.1309733553 0.0060820254 /gps/hist/point 1.1623892818 0.0053218094 /gps/hist/point 1.1938052084 0.0046025829 /gps/hist/point 1.2252211349 0.0039271842 /gps/hist/point 1.2566370614 0.0032982789 /gps/hist/point 1.288052988 0.0027183489 /gps/hist/point 1.3194689145 0.002189683 /gps/hist/point 1.350884841 0.0017143676 /gps/hist/point 1.3823007676 0.0012942785 /gps/hist/point 1.4137166941 0.0009310737 /gps/hist/point 1.4451326207 0.0006261865 /gps/hist/point 1.4765485472 0.0003808201 /gps/hist/point 1.5079644737 0.000195943 /gps/hist/point 1.5393804003 7.22847592011799E-005 /gps/hist/point 1.5707963268 1.033338562062E-005 /gps/hist/point 1.6022122533 1.033338562062E-005 /gps/hist/point 1.6336281799 7.2284759201291E-005 /gps/hist/point 1.6650441064 0.000195943 /gps/hist/point 1.6964600329 0.0003808201 /gps/hist/point 1.7278759595 0.0006261865 /gps/hist/point 1.759291886 0.0009310737 /gps/hist/point 1.7907078125 0.0012942785 /gps/hist/point 1.8221237391 0.0017143676 /gps/hist/point 1.8535396656 0.002189683 /gps/hist/point 1.8849555922 0.0027183489 /gps/hist/point 1.9163715187 0.0032982789 /gps/hist/point 1.9477874452 0.0039271842 /gps/hist/point 1.9792033718 0.0046025829 /gps/hist/point 2.0106192983 0.0053218094 /gps/hist/point 2.0420352248 0.0060820254 /gps/hist/point 2.0734511514 0.0068802305 /gps/hist/point 2.1048670779 0.0077132746 /gps/hist/point 2.1362830044 0.0085778702 /gps/hist/point 2.167698931 0.0094706049 /gps/hist/point 2.1991148575 0.0103879557 /gps/hist/point 2.230530784 0.0113263021 /gps/hist/point 2.2619467106 0.0122819409 /gps/hist/point 2.2933626371 0.0132511006 /gps/hist/point 2.3247785637 0.0142299565 /gps/hist/point 2.3561944902 0.0152146454 /gps/hist/point 2.3876104167 0.0162012812 /gps/hist/point 2.4190263433 0.01718597 /gps/hist/point 2.4504422698 0.0181648259 /gps/hist/point 2.4818581963 0.0191339857 /gps/hist/point 2.5132741229 0.0200896245 /gps/hist/point 2.5446900494 0.0210279709 /gps/hist/point 2.5761059759 0.0219453216 /gps/hist/point 2.6075219025 0.0228380564 /gps/hist/point 2.638937829 0.0237026519 /gps/hist/point 2.6703537556 0.024535696 /gps/hist/point 2.7017696821 0.0253339012 /gps/hist/point 2.7331856086 0.0260941171 /gps/hist/point 2.7646015352 0.0268133436 /gps/hist/point 2.7960174617 0.0274887423 /gps/hist/point 2.8274333882 0.0281176476 /gps/hist/point 2.8588493148 0.0286975776 /gps/hist/point 2.8902652413 0.0292262435 /gps/hist/point 2.9216811678 0.0297015589 /gps/hist/point 2.9530970944 0.030121648 /gps/hist/point 2.9845130209 0.0304848528 /gps/hist/point 3.0159289474 0.0307897401 /gps/hist/point 3.047344874 0.0310351064 /gps/hist/point 3.0787608005 0.0312199835 /gps/hist/point 3.1101767271 0.0313436418 /gps/hist/point 3.1415926536 0.0314055932 /Solid/beamOn 1000