# View the geometry of a single PMT with the HepRApp viewer # Run this macro with the command # rat pmtvis.mac - # The "-" will give you an interactive shell so you can play with pan, # zoom, tilt, etc. # # Updated by P G Jones 28/03/2011 /rat/db/allowdanger secretcode #This is currently required to change geo db options /rat/db/set GEO[innerPMT] type "pmtbuilder" #Want to view PMTs not panels /rat/db/set GEO[innerPMT] vis_simple 0 # initialize materials, geometry, etc. /run/initialize # Create interactive HepRApp scene /vis/open HepRepFile /vis/scene/create # Only show the PMT /vis/scene/add/volume innerPMT_env1 #See PMT number 1 /vis/sceneHandler/attach