# Simplest TOPAS example. # A box inside another box with a different camera view (see # last block of lines) # A simple point, linear, and monoenergetic beam #====== #Materials #====== #Se utilizan solo los materiales ya implementados en TOPAS #======== #Geometry #======== # Adjust World Size #Si comenta la lĂ­nea de abajo, la caja mundo no se muestra #b:Ge/World/Invisible = "True" d:Ge/World/HLX= 10. m d:Ge/World/HLY= 10. m d:Ge/World/HLZ= 10. m s:Ge/World/Material = "Vacuum" #Caja de 1.0 m de lado con espesor 20.0 cm de nombre "MyBox2" y llena de agua #***** solid volume ****** s:Ge/MyBox2/Type = "TsBox" d:Ge/MyBox2/HLX = 3. m d:Ge/MyBox2/HLY = 3. m d:Ge/MyBox2/HLZ = 10. cm # #****** logical volume ***** s:Ge/MyBox2/Material = "G4_WATER" # #****** physical volume ***** d:Ge/MyBox2/TransX = 0. m d:Ge/MyBox2/TransY = 0. m d:Ge/MyBox2/TransZ = 0. m d:Ge/MyBox2/RotX = 0. deg d:Ge/MyBox2/RotY = 0. deg d:Ge/MyBox2/RotZ = 0. deg s:Ge/MyBox2/Parent = "World" #====================== # Source component #====================== s:Ge/BeamPosition/Parent="World" s:Ge/BeamPosition/Type="Group" d:Ge/BeamPosition/TransX=0. m d:Ge/BeamPosition/TransY=0. m d:Ge/BeamPosition/TransZ= -6.0 m d:Ge/BeamPosition/RotX=0. deg d:Ge/BeamPosition/RotY=0. deg d:Ge/BeamPosition/RotZ=0. deg #====================== # Primary source (beam) #====================== s:So/MySource/Type = "Beam" s:So/MySource/Component = "BeamPosition" s:So/MySource/BeamParticle = "proton" d:So/MySource/BeamEnergy = 169.23 MeV s:So/MySource/BeamPositionDistribution = "None" s:So/MySource/BeamAngularDistribution = "None" ic:So/MySource/NumberOfHistoriesInRun = 100 #====================== # Physics List #====================== sv:Ph/Default/Modules = 1 "Transportation_Only" #========== #Graphical part #========== s:Gr/ViewA/Type = "OpenGL" i:Gr/ViewA/WindowSizeX = 1024 i:Gr/ViewA/WindowSizeY = 768 b:Gr/ViewA/IncludeAxes = "True" #s:Gr/ViewA/AxesComponent = "World" #Se puede ajustar al volumen requerido #d:Gr/ViewA/AxesSize = 1. m # #***** Camera view ******* 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.8 b:Ts/PauseBeforeQuit = "True" Ts/UseQt = "True"