GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
diff -u -r1.7 -r1.8
--- PolyhedraBarrelCalorimeter.java 1 Dec 2005 04:11:11 -0000 1.7
+++ PolyhedraBarrelCalorimeter.java 21 Jan 2006 02:28:55 -0000 1.8
@@ -38,12 +38,7 @@
}
public void addToLCDD(LCDD lcdd, SensitiveDetector sens) throws JDOMException
- {
- if ( sens == null)
- {
- throw new IllegalArgumentException("PolyhedraBarrelCalorimeter <" + getName() + " has null SD.");
- }
-
+ {
/* local refs to LCDD objects */
Solids solids = lcdd.getSolids();
Structure structure = lcdd.getStructure();