GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
diff -u -r1.6 -r1.7
--- SiTrackerEndcap.java 29 Oct 2007 22:21:54 -0000 1.6
+++ SiTrackerEndcap.java 29 Oct 2007 22:42:35 -0000 1.7
@@ -107,7 +107,8 @@
tubeInnerR = innerR;
tubeOuterR = outerR / Math.cos(dphi);
- Tube layerTube = new Tube(layerName + "_tube", tubeInnerR, tubeOuterR, thickness/2);
+ // FIXME: The z dimension should go in as a half length, but GDML does not use Geant4's convention.
+ Tube layerTube = new Tube(layerName + "_tube", tubeInnerR, tubeOuterR, thickness);
lcdd.add(layerTube);
@@ -147,10 +148,10 @@
}
// Set the layer envelope to invisible to help Geant4 visualization.
- if (lcdd.getVisAttributes("InvisibleWithDaughters") != null)
- {
- layerLV.setVisAttributes(lcdd.getVisAttributes("InvisibleWithDaughters"));
- }
+ //if (lcdd.getVisAttributes("InvisibleWithDaughters") != null)
+ //{
+ // layerLV.setVisAttributes(lcdd.getVisAttributes("InvisibleWithDaughters"));
+ //}
return layerLV;
}