You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can look at some parts of the Mu2e setup using the GEANT Qt visualization, but not others. I do not know if there is a problem
with the PS enclosure geometry, or it is a bug in the visualization code we use.
Steps to reproduce:
Build Mu2e Offline with Qt visualization enabled: "muse setup -q qt:st; muse build". I use the current HEAD, git commit ea9030b
Create a test job config file in the top level muse directory:
cat > vistest.fcl <<EOF
#include "Offline/Mu2eG4/fcl/g4test_stage0ST.fcl"
services.GeometryService.inputFile: "geom_vistest.txt"
physics.producers.g4run.physics.physicsListName: "Minimal" # for faster load
physics.producers.g4run.visualization.initMacro: "Offline/Mu2eG4/vis/vismqt.mac"
physics.producers.g4run.visualization.GUIMacro: "Offline/Mu2eG4/vis/visqtGUI.mac"
EOF
Create a test geometry file with visibility of most volumes turned off
cat > geom_vistest.txt <<EOF
#include "Offline/Mu2eG4/geom/geom_common.txt"
bool g4.visible = false;
vector g4.visible.order = { "g4.visible.drop", "g4.visible.keep" };
vector g4.visible.drop = { "*" };
vector g4.visible.keep = { "PSShield" };
//vector g4.visible.keep = { "psEnclosure" };
EOF
Run the job as is to make sure you can visualize the HRS: "mu2e -c vistest.fcl -n1", type "g" to enter the GUI session, click on the "Start Here"|"Start by clicking Here Once" menu entry.
Comment out the PSShield line in geom_vistest.txt and uncomment the psEnclosure line. Repeat the GUI session, and observe the breakage.
The text was updated successfully, but these errors were encountered:
Perhaps a check with other tools like TEve could shed some light here, although the gdml file seems valid, but perhaps has some constructs which the vis tool cannot handle.
I can look at some parts of the Mu2e setup using the GEANT Qt visualization, but not others. I do not know if there is a problem
with the PS enclosure geometry, or it is a bug in the visualization code we use.
Steps to reproduce:
Build Mu2e Offline with Qt visualization enabled: "muse setup -q qt:st; muse build". I use the current HEAD, git commit ea9030b
Create a test job config file in the top level muse directory:
cat > vistest.fcl <<EOF
#include "Offline/Mu2eG4/fcl/g4test_stage0ST.fcl"
services.GeometryService.inputFile: "geom_vistest.txt"
physics.producers.g4run.physics.physicsListName: "Minimal" # for faster load
physics.producers.g4run.visualization.initMacro: "Offline/Mu2eG4/vis/vismqt.mac"
physics.producers.g4run.visualization.GUIMacro: "Offline/Mu2eG4/vis/visqtGUI.mac"
EOF
Create a test geometry file with visibility of most volumes turned off
cat > geom_vistest.txt <<EOF
#include "Offline/Mu2eG4/geom/geom_common.txt"
bool g4.visible = false;
vector g4.visible.order = { "g4.visible.drop", "g4.visible.keep" };
vector g4.visible.drop = { "*" };
vector g4.visible.keep = { "PSShield" };
//vector g4.visible.keep = { "psEnclosure" };
EOF
Run the job as is to make sure you can visualize the HRS: "mu2e -c vistest.fcl -n1", type "g" to enter the GUI session, click on the "Start Here"|"Start by clicking Here Once" menu entry.
Comment out the PSShield line in geom_vistest.txt and uncomment the psEnclosure line. Repeat the GUI session, and observe the breakage.
The text was updated successfully, but these errors were encountered: