# Example RefleX script simulating a cutoff power law emission at the center
# of a torus with an equatorial Nh of 6 10^23 cm-2
# It produces a spectrum for the transmitted plus reflected emission along
# the equator
VERBOSE 0
NPHOTS 1000000
RANDOM 1234567
ECUT   500.0
EGEN   500.0 3e5
EMSPEC CUTOFF 1 2e5
TEMPERATURE 1
MATTER lodd
LENGTH Centimeter
DENSITY 3e20
EMGEOM POINT  0.0 0.0 0.0 0 0 180
OBJECT WORLD  1e6
OBJECT TORUS torus 0.0 0.0 0.0 1500 1000
SPECTRUM BINNING 2 6 0.001 LOG
SPECTRUM NEW reflex.out
SPECTRUM DIR_Z <  0.1
SPECTRUM DIR_Z > -0.1
PERCENT ON
