# Simplest TOPAS example. # A box in a beam with EM physics. ###################################### # Interfaz gráfica s:Gr/ViewA/Type = "OpenGL" Ts/UseQt = "True" #b:Gr/ViewA/IncludeAxes = "True" #s:Gr/ViewA/AxesComponent = "World" #d:Gr/ViewA/AxesSize = 1. m #d:Gr/ViewA/Theta = 90. deg # view angle as in /vis/viewer/set/viewpointThetaPhi #d:Gr/ViewA/Phi = 180. deg ###################################### ###################################### # Materiales sv:Ma/Papel/Components = 3 "Carbon" "Hydrogen" "Oxygen" uv:Ma/Papel/Fractions = 3 0.444 0.062 0.494 #b:Ma/Papel/NormalizeFractions = "T" # "True" = "T" d:Ma/Papel/Density = 0.8 g/cm3 s:Ma/Papel/DefaultColor = "Yellow" ###################################### ###################################### # Geometry b:Ge/QuitIfOverlapDetected = "True" # Volumen Mundo s:Ge/World/Material = "Vacuum" # Target s:Ge/Target/Type = "TsBox" s:Ge/Target/Material = "Papel" s:Ge/Target/Parent = "World" d:Ge/Target/HLX = 100. cm d:Ge/Target/HLY = 100. cm dc:Ge/Target/HLZ = 10. cm ###################################### ###################################### # Source s:So/Fuente/Type = "Beam" s:So/Fuente/Component = "BeamPosition" d:Ge/BeamPosition/TransZ = -0.5 m d:Ge/BeamPosition/RotX = 0. deg s:So/Fuente/BeamParticle = "e-" # e- -> 1.0 MeV, fotones -> 1.25 MeV, n -> 2 MeV d:So/Fuente/BeamEnergy = 1.0 MeV u:So/Fuente/BeamEnergySpread = 0.0 s:So/Fuente/BeamPositionDistribution = "None" s:So/Fuente/BeamAngularDistribution = "None" ###################################### ###################################### # Lista de Física sv:Ph/Default/Modules = 1 "g4em-standard_opt0" ###################################### ###################################### # Running i:Ts/TrackingVerbosity = 0 ic:So/Fuente/NumberOfHistoriesInRun = 100 ######################################