Created
March 14, 2012 14:55
-
-
Save pgjones/2037023 to your computer and use it in GitHub Desktop.
Useful heprep visualisation file
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
/rat/db/set DETECTOR geo_file "geo/snoplus.geo" | |
# Add a N16 Geometry | |
/rat/db/load geo/N16Source.geo | |
/rat/db/set GEO[N16Source] pos [-160.3, 235.0, 152.8] | |
# Make sure the PMTs are fully visible | |
/rat/db/set GEO[innerPMT] vis_simple 0 | |
/rat/db/set GEO[outerPMT] vis_simple 0 | |
# initialize materials, geometry, etc. | |
/run/initialize | |
# Create interactive OpenGL 3D scene | |
/vis/open HepRepFile | |
/vis/scene/create | |
# Centre on the N16 Source | |
/vis/scene/add/axes -160.3 235.0 152.8 1 m | |
#Show N16 source | |
/vis/scene/add/volume N16Source | |
#/vis/scene/add/volume h2o | |
#/vis/scene/add/volume h2o_sub | |
# Show... | |
#/vis/scene/add/volume h2o_sub | |
#/vis/scene/add/volume av | |
#/vis/scene/add/volume innerPMT_env1 #See a PMT | |
/vis/scene/add/volume innerPMT_panel64 #S7 | |
#/vis/scene/add/volume innerPMT_panel82 #S19 82 | |
#/vis/scene/add/volume innerPMT_panel100 #T10 | |
#/vis/scene/add/volume innerPMT_panel106 #T14 | |
#/vis/scene/add/volume innerPMT_panel102 #T21 | |
#/vis/scene/add/volume innerPMT_panel263 #T14 Missing 1 PMT | |
#/vis/scene/add/volume innerPMT_panel576 #T14 Missing 1 PMT Bastart | |
#/vis/scene/add/volume innerPMT_panel711 #T14 Missing 2 Left PMTs | |
#/vis/scene/add/volume innerPMT_panel712 #T14 Missing 2 Right PMTs | |
#/vis/scene/add/volume innerPMT_panel130 #T10 Missing 2 PMTs | |
#/vis/scene/add/volume innerPMT_panel139 #T10 Missing 1 PMT | |
/vis/viewer/set/culling global true | |
#/vis/geometry/set/visibility h2o -1 0 | |
#/vis/geometry/set/visibility av -1 1 | |
#/vis/geometry/set/visibility AVPPipe_log 1 1 | |
/vis/sceneHandler/attach | |
/vis/viewer/reset | |
/vis/viewer/set/culling global true | |
/vis/viewer/flush | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment