- bouchet's home page
- Posts
- 2016
- 2015
- December (1)
- November (3)
- October (2)
- September (2)
- August (2)
- June (2)
- April (5)
- March (2)
- February (3)
- January (2)
- 2014
- December (2)
- November (2)
- October (3)
- September (2)
- August (3)
- July (1)
- June (3)
- May (6)
- April (6)
- March (1)
- February (2)
- January (1)
- 2013
- December (2)
- November (3)
- October (3)
- September (4)
- August (1)
- July (1)
- May (4)
- April (6)
- March (4)
- February (3)
- 2012
- 2011
- December (2)
- November (2)
- October (4)
- September (1)
- August (2)
- July (6)
- June (2)
- May (3)
- April (3)
- March (2)
- 2010
- 2009
- December (2)
- November (1)
- October (3)
- September (1)
- August (1)
- July (1)
- June (2)
- April (1)
- March (2)
- February (2)
- January (1)
- 2008
- My blog
- Post new blog entry
- All blogs
Starsim commands to plot detectors
- manual of draw command
* GEANT/DRAWING/DRAW NAME [ THETA PHI PSI U0 V0 SU SV ] NAME C 'Volume name' THETA R 'Viewing angle theta (for 3D projection)' R=0.:180. PHI R 'Viewing angle phi (for 3D projection)' R=0.:360. PSI R 'Viewing angle psi (for 2D rotation)' R=0.:360. U0 R 'U-coord. (horizontal) of volume origin' V0 R 'V-coord. (vertical) of volume origin' SU R 'Scale factor for U-coord.' SV R 'Scale factor for V-coord.' CALL GDRAW(name,theta,phi,psi,u0,v0,su,sv)
- manual of dcut command
* GEANT/DRAWING/DCUT NAME CAXIS CUTVAL [ U0 V0 SU SV ] NAME C 'Volume name' CAXIS C 'Axis value' CUTVAL R 'Cut plane distance from the origin along the axis' U0 R 'U-coord. (horizontal) of volume origin' V0 R 'V-coord. (vertical) of volume origin' SU R 'Scale factor for U-coord.' SV R 'Scale factor for V-coord.' Possible CAXIS values are: X Y Z
- to draw in 2d (x vs y)
draw <name_volume> 0 90 0 10 10 .3 .3
- to draw in 3d
draw <name_volume> 40 40 0 10 10 .3 .3
- to clear the starsim window :
clr
- to print [.gif] :
/picture/print file=<yourname.gif>
- a link with some useful commands : here
Groups:
- bouchet's blog
- Login or register to post comments