GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
diff -u -r1.2 -r1.3
--- SiTrackerEndcap2.java 24 Nov 2008 18:26:50 -0000 1.2
+++ SiTrackerEndcap2.java 24 Nov 2008 20:37:19 -0000 1.3
@@ -33,7 +33,9 @@
}
void addToLCDD(LCDD lcdd, SensitiveDetector sd) throws JDOMException
- {
+ {
+ if (sd==null)
+ throw new RuntimeException("!!!!! SD is null WTF !!!!");
int sysId = node.getAttribute("id").getIntValue();
String subdetName = node.getAttributeValue("name");
vacuum = lcdd.getMaterial("Vacuum");
@@ -202,4 +204,9 @@
posY += thickness / 2;
}
}
+
+ public boolean isTracker()
+ {
+ return true;
+ }
}
\ No newline at end of file