Skip to content

Commit

Permalink
Addition of files associated with Tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrountree committed Sep 24, 2015
1 parent cc63f7e commit e01a5e0
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data/Watchboy/PMTINFO_innerSingle.ratdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
name: "PMTINFO_innerSingle",
valid_begin: [0, 0],
valid_end: [0, 0],
//These positions are relative to the GLOBAL origin
x: [0.0000],
y: [0.0000],
z: [-482.2500],
dir_x: [0.0],
dir_y: [0.0],
dir_z: [1.0],
type: [0],
}

Binary file added doc/CubicWatchboy.avi
Binary file not shown.
Binary file added doc/Watchboy.avi
Binary file not shown.
3 changes: 3 additions & 0 deletions mac/tutorials/tutorial_001/movieStep001.loop
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/vis/viewer/set/viewpointThetaPhi {theta} 0
/vis/viewer/zoom 1.01
/vis/ogl/export
3 changes: 3 additions & 0 deletions mac/tutorials/tutorial_001/movieStep003.loop
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/vis/viewer/set/viewpointThetaPhi {theta} 0
/vis/viewer/zoom 0.990099
/vis/ogl/export
30 changes: 30 additions & 0 deletions mac/tutorials/tutorial_001/watchboy_movie.mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#set the detector parameters
/rat/db/set DETECTOR experiment "Watchboy"
/rat/db/set DETECTOR geo_file "Watchboy/Watchboy.geo"

/run/initialize

#initialize the visualizer
/vis/open OGLIQt
/vis/scene/create

/vis/scene/add/volume
/vis/scene/add/trajectories
/vis/viewer/reset
/vis/viewer/set/style surface
/vis/viewer/set/upVector 1 0 0
/vis/drawVolume

# remove the # from the following to lines to export the detector geometry to a .png file
/vis/ogl/set/exportFormat png
#/vis/ogl/export

/control/loop mac/tutorials/tutorial_001/movieStep001.loop theta -90 0 5
/control/loop mac/tutorials/tutorial_001/movieStep003.loop theta 0 -90 -5


/generator/add combo gun:point
/generator/vtx/set e- 0 0 1 7 # pname dir_x dir_y dir_z energy
/generator/pos/set 0 0 0 # x y z

/run/beamOn 1

0 comments on commit e01a5e0

Please sign in to comment.