Files
geant4/examples/extended/optical/OpNovice2/unified.mac
T
2020-06-26 10:23:25 +02:00

87 lines
2.4 KiB
Plaintext

/control/verbose 2
/tracking/verbose 0
/opnovice2/boxProperty RINDEX 0.000002 1.3 0.000008 1.4
/opnovice2/boxProperty ABSLENGTH 0.000002 1000000 0.000005 2000000 0.000008 3000000
/opnovice2/worldProperty RINDEX 0.000002 1.01 0.000008 1.01
/opnovice2/worldProperty ABSLENGTH 0.000002 1000000 0.000005 2000000 0.000008 3000000
/opnovice2/surfaceModel unified
/opnovice2/surfaceType dielectric_dielectric
############################# ground ################################
/opnovice2/surfaceFinish ground
/opnovice2/surfaceSigmaAlpha 0.2
/opnovice2/surfaceProperty SPECULARLOBECONSTANT 0.000002 0.1 0.000008 0.1
/opnovice2/surfaceProperty SPECULARSPIKECONSTANT 0.000002 0.1 0.000008 0.1
/opnovice2/surfaceProperty BACKSCATTERCONSTANT 0.000002 0.1 0.000008 0.1
/opnovice2/surfaceProperty TRANSMITTANCE 0.000002 0.1 0.000008 0.1
/opnovice2/surfaceProperty REFLECTIVITY 0.000002 0.8 0.000008 0.8
/opnovice2/surfaceProperty EFFICIENCY 0.000002 0.1 0.000008 0.1
/run/initialize
#
/gun/particle opticalphoton
/gun/energy 3 eV
/gun/position 0 0 0 cm
/gun/direction 1 0 0
/opnovice2/gun/optPhotonPolar
#
/analysis/setFileName unified
/analysis/h1/set 10 40 -1 39
/analysis/h1/set 11 100 -1.1 1.1
/analysis/h1/set 12 100 -1.1 1.1
/analysis/h1/set 13 100 -1.1 1.1
/analysis/h1/set 14 100 -1.1 1.1
/analysis/h1/set 15 100 -1.1 1.1
/analysis/h1/set 16 100 -1.1 1.1
/analysis/h1/set 17 100 -1.1 1.1
/analysis/h1/set 18 100 -1.1 1.1
/analysis/h1/set 19 100 -1.1 1.1
/run/beamOn 10000
############################# polished ########################################
/opnovice2/surfaceFinish polished
/run/initialize
/run/beamOn 10000
/opnovice2/surfaceConstProperty SURFACEROUGHNESS 0.01
/run/initialize
/run/beamOn 10000
############################# painted #########################################
/opnovice2/surfaceFinish polishedfrontpainted
/run/initialize
/run/beamOn 10000
/opnovice2/surfaceFinish polishedbackpainted
/opnovice2/surfaceSigmaAlpha 0.0
/opnovice2/surfaceProperty RINDEX 0.000002 1.4 0.000008 1.5
/run/initialize
/run/beamOn 10000
/opnovice2/surfaceFinish groundfrontpainted
/run/initialize
/run/beamOn 10000
/opnovice2/surfaceFinish groundbackpainted
/run/initialize
/run/beamOn 10000
############################# dielectric_metal ################################
/opnovice2/surfaceType dielectric_metal
/opnovice2/surfaceFinish polished
/run/initialize
/run/beamOn 10000
/opnovice2/surfaceFinish ground
/run/initialize
/run/beamOn 10000