From 314659ed5c5db3ade11d1a61ef6598594c27fa29 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Sun, 26 Nov 2017 11:59:44 +0100 Subject: [PATCH] Updated visualization macros for OpenGL and vrml --- run/vis.mac | 8 +++++--- run/visVRML.mac | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/run/vis.mac b/run/vis.mac index a71736e..bb16cc0 100644 --- a/run/vis.mac +++ b/run/vis.mac @@ -3,8 +3,8 @@ # Create an OpenGL driver (i.e. a scene handler and viewer) # Some useful choices: VRML2FILE, OGLSX, OGLIX, DAWNFILE, etc. -/vis/open VRML2FILE -#/vis/open OGLIX 600x600-0+0 +#/vis/open VRML2FILE +/vis/open OGLIX 600x600-0+0 #*/vis/open DAWNFILE # To calculate volumes and masses uncomment the next two lines @@ -40,7 +40,7 @@ #At the end of run of X events - Data from X events will be superimposed /vis/scene/endOfEventAction accumulate #At the end of Y runs - Data from Y runs will be superimposed -#/vis/scene/endOfRunAction accumulate +/vis/scene/endOfRunAction accumulate # Coloured trajectories for an easier particle identification: # PDG IDs and colours: e- 11 red, e+ -11 blue, nu_e 12 yellow, @@ -61,3 +61,5 @@ # Output just the detector geometry /vis/viewer/flush + +/vis/reviewKeptEvents diff --git a/run/visVRML.mac b/run/visVRML.mac index 0871ca7..f908218 100644 --- a/run/visVRML.mac +++ b/run/visVRML.mac @@ -38,9 +38,9 @@ #At the end of each event (default behaviour) #/vis/scene/endOfEventAction refresh #At the end of run of X events - Data from X events will be superimposed -#cks/vis/scene/endOfEventAction accumulate +/vis/scene/endOfEventAction accumulate #At the end of Y runs - Data from Y runs will be superimposed -#/vis/scene/endOfRunAction accumulate +/vis/scene/endOfRunAction accumulate # Coloured trajectories for an easier particle identification: # PDG IDs and colours: e- 11 red, e+ -11 blue, nu_e 12 yellow,