From 712660e5243a54786bdd933c0642614ce11f9039 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Thu, 13 May 2021 03:06:34 +0000 Subject: [PATCH] change visualization --- src/cb_DIRC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cb_DIRC.cpp b/src/cb_DIRC.cpp index f2b7c55..41932ef 100644 --- a/src/cb_DIRC.cpp +++ b/src/cb_DIRC.cpp @@ -26,7 +26,7 @@ static Ref_t createDetector(Detector& desc, xml_h e, SensitiveDetector sens) Material Vacuum = desc.material("Vacuum"); Tube cb_DIRC_Barrel_GVol_Solid(RIn, ROut, SizeZ / 2.0, 0., 360.0 * deg); Volume detVol("cb_DIRC_GVol_Solid_Logic", cb_DIRC_Barrel_GVol_Solid, Vacuum); - detVol.setVisAttributes(desc.visAttributes(x_det.visStr())); + detVol.setVisAttributes(desc.invisible()); DetElement det(detName, detID); Volume motherVol = desc.pickMotherVolume(det); -- GitLab