Commit in lcsim/src/org/lcsim/event/base on MAIN
BaseHit.java+31.13 -> 1.14
getDetectorElement will try to look it up from geometry if it is null

lcsim/src/org/lcsim/event/base
BaseHit.java 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- BaseHit.java	10 Jul 2012 19:57:14 -0000	1.13
+++ BaseHit.java	20 Jul 2012 09:28:14 -0000	1.14
@@ -57,6 +57,9 @@
      * @return The IDetectorElement for this hit.
      */
     public IDetectorElement getDetectorElement() {
+    	if (de == null) {
+    		findDetectorElementByIdentifier();
+    	}
         return de;
     }
     
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1