ColorChange.txtΒΆ

# Demonstrates step time feature by changing a box's color over time

d:Ge/World/HLX       = 10. m
d:Ge/World/HLY       = 10. m
d:Ge/World/HLZ       = 10. m
b:Ge/World/Invisible = "TRUE"

s:Ge/BigBox/Parent   = "World"
s:Ge/BigBox/Type     = "TsBox"
s:Ge/BigBox/Material = "Air"
d:Ge/BigBox/HLX      = 2. m
d:Ge/BigBox/HLY      = 3. m
d:Ge/BigBox/HLZ      = 4. m
d:Ge/BigBox/TransX   = 0. m
d:Ge/BigBox/TransY   = 0. m
d:Ge/BigBox/TransZ   = 0. m
d:Ge/BigBox/RotX     = 0. deg
d:Ge/BigBox/RotY     = 0. deg
d:Ge/BigBox/RotZ     = 0. deg
s:Ge/BigBox/Color    = Tf/Color/Value

s:Tf/Color/Function = "Step"
sv:Tf/Color/Values  = 4 "white" "blue" "green" "red"
dv:Tf/Color/Times   = 4 1. 2. 3. 4. ms

i:Tf/Verbosity               = 1
d:Tf/TimelineEnd             = 60.0 ms
i:Tf/NumberOfSequentialTimes = 60

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

sv:Ph/Default/Modules = 1 "g4em-standard_opt0"

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   = 10

b:Ts/PauseBeforeQuit = "True"