GeomConverter/src/org/lcsim/detector/converter/compact
diff -u -r1.23 -r1.24
--- DetectorConverter.java 14 Sep 2007 23:19:53 -0000 1.23
+++ DetectorConverter.java 14 Sep 2007 23:47:32 -0000 1.24
@@ -235,8 +235,9 @@
// ((DetectorElement)subdet.getDetectorElement()).setIdentifierHelper(idhelper);
// Create identifiers for the Subdetector and (possibly) its top-level subcomponents.
- try {
- makeIdentifiers(subdet);
+ try {
+ if (iddict.hasField("system"))
+ makeIdentifiers(subdet);
}
catch (Exception x)
{