Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jiperl committed May 7, 2017
1 parent 58ec2d9 commit fdebb30
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions examples/PhaseSpace/WriteASCII.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Write phase space in TOPAS ASCII form

b:Ge/World/Invisible = "TRUE"

s:Ge/VacFilm/Type = "TsBox"
s:Ge/VacFilm/Parent = "World"
s:Ge/VacFilm/Material = "G4_WATER"
d:Ge/VacFilm/HLX = 50.0 cm
d:Ge/VacFilm/HLY = 50.0 cm
d:Ge/VacFilm/HLZ = 1.0 cm
d:Ge/VacFilm/TransX = 0. cm
d:Ge/VacFilm/TransY = 0. cm
d:Ge/VacFilm/TransZ = 0. cm
d:Ge/VacFilm/RotX = 0. deg
d:Ge/VacFilm/RotY = 0. deg
d:Ge/VacFilm/RotZ = 0. deg
s:Ge/VacFilm/Color = "skyblue"

s:Sc/PhaseSpaceAtVacFilm/Quantity = "PhaseSpace"
b:Sc/PhaseSpaceAtVacFilm/OutputToConsole = "True"
s:Sc/PhaseSpaceAtVacFilm/Surface = "VacFilm/ZMinusSurface"
s:Sc/PhaseSpaceAtVacFilm/OutputType = "ASCII" # ASCII, Binary, Limited or ROOT
s:Sc/PhaseSpaceAtVacFilm/OutputFile = "ASCIIOutput"
i:Sc/PhaseSpaceAtVacFilm/OutputBufferSize = 1000
#s:Sc/PhaseSpaceAtVacFilm/OnlyIncludeParticlesGoing = "In"
b:Sc/PhaseSpaceAtVacFilm/IncludeTOPASTime = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeTimeOfFlight = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeRunID = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeEventID = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeTrackID = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeParentID = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeCreatorProcess = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeVertexInfo = "True"
b:Sc/PhaseSpaceAtVacFilm/IncludeSeed = "True"
#sv:Sc/PhaseSpaceAtVacFilm/OnlyIncludeParticlesNamed = 1 "Proton"
s:Sc/PhaseSpaceAtVacFilm/IfOutputFileAlreadyExists = "Overwrite"

s:Gr/ViewA/Type = "OpenGL"
i:Gr/ViewA/WindowSizeX = 900
i:Gr/ViewA/WindowSizeY = 900
d:Gr/ViewA/Theta = 55 deg
d:Gr/ViewA/Phi = 20 deg
s:Gr/ViewA/Projection = "Perspective"
d:Gr/ViewA/PerspectiveAngle = 30 deg
u:Gr/ViewA/Zoom = 1.3
b:Gr/ViewA/HiddenLineRemovalForTrajectories = "True"

s:So/Example/Type = "Beam"
s:So/Example/Component = "BeamPosition"
s:So/Example/BeamParticle = "proton"
d:So/Example/BeamEnergy = 169.23 MeV
u:So/Example/BeamEnergySpread = 0.757504
s:So/Example/BeamPositionDistribution = "Gaussian"
s:So/Example/BeamPositionCutoffShape = "Ellipse"
d:So/Example/BeamPositionCutoffX = 10. cm
d:So/Example/BeamPositionCutoffY = 10. cm
d:So/Example/BeamPositionSpreadX = 0.65 cm
d:So/Example/BeamPositionSpreadY = 0.65 cm
s:So/Example/BeamAngularDistribution = "Gaussian"
d:So/Example/BeamAngularCutoffX = 90. deg
d:So/Example/BeamAngularCutoffY = 90. deg
d:So/Example/BeamAngularSpreadX = 0.0032 rad
d:So/Example/BeamAngularSpreadY = 0.0032 rad
i:So/Example/NumberOfHistoriesInRun = 100

i:Ts/ShowHistoryCountAtInterval = 10
b:Ts/PauseBeforeQuit = "True"

0 comments on commit fdebb30

Please sign in to comment.