forked from rat-pac/rat-pac
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addition of files associated with Tutorials
- Loading branch information
1 parent
cc63f7e
commit e01a5e0
Showing
6 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |