includeFile = GlobalParameters.txt

#--- Geometry (attempt to prevent interactions before being scored)
s:Ge/World/Material = "Vacuum"


#--- Source (generated by PhaseSpace_01A.txt)
s:So/Default/Type                  = "PhaseSpace"
s:So/Default/PhaseSpaceFileName    = "phasespaces/iso_ascii"
b:So/Default/PhaseSpaceIgnoreXPos  = "False"
b:So/Default/PhaseSpaceIgnoreYPos  = "False"
b:So/Default/PhaseSpaceIgnoreZPos  = "False"
b:So/Default/PhaseSpaceInvertXAxis = "False"
b:So/Default/PhaseSpaceInvertYAxis = "False"
b:So/Default/PhaseSpaceInvertZAxis = "False"
s:So/Default/Component             = "World"


#--- Scoring
# Use a TsBox with two bins to score a phasespace. We position the two scoring 
# surfaces either side of the source, such that all particles are captured.
# We choose a small HLZ so that the scored particles are extremely similar to the 
# primary particles - even so, a z-offset of +/- 0.5 * HLZ is always introduced.

s:Ge/IsoPlane/Type            = "TsBox"
b:Ge/IsoPlane/IsParallel      = "True"
s:Ge/IsoPlane/Parent          = "IsoCoordination"
d:Ge/IsoPlane/HLX             = 25. cm
d:Ge/IsoPlane/HLY             = 25. cm
d:Ge/IsoPlane/HLZ             = 0.5 mm
d:Ge/IsoPlane/TransX          = 0. m
d:Ge/IsoPlane/TransY          = 0. m
d:Ge/IsoPlane/TransZ          = -0.5 * Ge/IsoPlane/HLZ cm
d:Ge/IsoPlane/RotX            = 180. deg   # rotate so +z means increasing depth
d:Ge/IsoPlane/RotY            = 0. deg
d:Ge/IsoPlane/RotZ            = 0. deg
i:Ge/IsoPlane/ZBins           = 2
s:Sc/IsoPlane/UpstreamSurface = "IsoPlane/ZMinusSurface"

s:Sc/PHSP/Quantity                  = "PhaseSpace"
s:Sc/PHSP/Surface                   = Sc/IsoPlane/UpstreamSurface
s:Sc/PHSP/OutputType                = "ASCII"
s:Sc/PHSP/OutputFile                = "iso_ascii"
s:Sc/PHSP/IfOutputFileAlreadyExists = "Overwrite"
b:Sc/PHSP/KillAfterPhaseSpace       = "True"
